Messages in this thread | | | Date | Tue, 14 Aug 2012 17:00:10 -0700 (PDT) | Subject | Re: [PATCH 4/5] drivers/net/ethernet/ti/davinci_cpdma.c: Remove potential NULL dereference | From | David Miller <> |
| |
From: Julia Lawall <Julia.Lawall@lip6.fr> Date: Tue, 14 Aug 2012 17:49:47 +0200
> From: Julia Lawall <Julia.Lawall@lip6.fr> > > If the NULL test is necessary, the initialization involving a dereference of > the tested value should be moved after the NULL test. > > The sematic patch that fixes this problem is as follows: > (http://coccinelle.lip6.fr/) ... > Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Applied, thanks.
| |