Thread (2 messages) flat view 2 messages, 2 authors, 2012-02-02

Re: [PATCH 2/3 v2] drivers/net/ethernet/ti: Move call to PTR_ERR after reassignment

From: David Miller <davem@davemloft.net>
Date: 2012-02-02 19:39:59
Also in: kernel-janitors, lkml

From: Julia Lawall <redacted>
Date: Thu,  2 Feb 2012 15:53:01 +0100
From: Julia Lawall <redacted>

PTR_ERR should be called before its argument is cleared.

The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)
...
Signed-off-by: Julia Lawall <redacted>
Reported-by: Josh Triplett <josh@joshtriplett.org>
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help