Re: [PATCH 4/5] drivers/net/ethernet/ti/davinci_cpdma.c: Remove potential NULL dereference
From: David Miller <davem@davemloft.net>
Date: 2012-08-15 00:00:13
Also in:
kernel-janitors, lkml
From: David Miller <davem@davemloft.net>
Date: 2012-08-15 00:00:13
Also in:
kernel-janitors, lkml
From: Julia Lawall <redacted> Date: Tue, 14 Aug 2012 17:49:47 +0200
From: Julia Lawall <redacted> 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 <redacted>
Applied, thanks.