[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120814.170010.1136116037664193225.davem@davemloft.net>
Date: Tue, 14 Aug 2012 17:00:10 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: Julia.Lawall@...6.fr
Cc: netdev@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 4/5] drivers/net/ethernet/ti/davinci_cpdma.c: Remove
potential NULL dereference
From: Julia Lawall <Julia.Lawall@...6.fr>
Date: Tue, 14 Aug 2012 17:49:47 +0200
> From: Julia Lawall <Julia.Lawall@...6.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@...6.fr>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists