Julia Lawall
cb0a178c78
drivers/net/ethernet/ti: Move call to PTR_ERR after reassignment
...
PTR_ERR should be called before its argument is cleared.
The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/ )
// <smpl>
@@
expression e,e1;
constant c;
@@
*e = c
... when != e = e1
when != &e
when != true IS_ERR(e)
*PTR_ERR(e)
// </smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Reported-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-02-02 14:35:12 -05:00
..
2012-01-10 16:35:00 -08:00
2011-12-08 19:52:37 -05:00
2012-01-10 16:35:00 -08:00
2011-11-29 00:25:05 -05:00
2012-01-10 16:35:00 -08:00
2011-11-22 16:43:32 -05:00
2012-01-23 14:25:01 -05:00
2012-01-05 13:23:00 -05:00
2012-01-10 16:35:00 -08:00
2012-01-05 13:23:00 -05:00
2012-01-08 13:21:22 -08:00
2012-01-20 13:39:20 -05:00
2011-12-02 13:49:21 -05:00
2011-12-19 22:27:29 -05:00
2011-12-19 22:27:29 -05:00
2012-02-01 14:47:17 -05:00
2012-01-18 21:01:11 -05:00
2012-01-31 16:17:25 -05:00
2012-01-17 10:04:43 -05:00
2011-12-01 12:54:46 -05:00
2012-01-19 12:35:07 -05:00
2012-01-23 14:25:00 -05:00
2012-01-22 15:08:44 -05:00
2012-01-17 18:40:24 -08:00
2011-12-19 15:44:43 -05:00
2012-01-06 18:28:12 -08:00
2011-12-08 19:52:37 -05:00
2011-11-29 00:25:05 -05:00
2011-12-02 12:39:12 -05:00
2012-01-18 16:41:36 -05:00
2011-12-06 00:48:59 -05:00
2011-12-08 19:52:37 -05:00
2012-01-07 12:09:36 -08:00
2012-01-08 19:20:33 -08:00
2012-01-17 10:31:12 -05:00
2011-11-29 00:25:05 -05:00
2012-01-04 14:10:23 -05:00
2011-12-27 13:17:34 -05:00
2012-01-08 13:21:22 -08:00
2012-01-10 16:35:01 -08:00
2012-01-24 15:44:20 -05:00
2011-12-19 16:13:36 -05:00
2011-12-08 19:52:37 -05:00
2012-02-02 14:35:12 -05:00
2012-01-09 14:05:23 -08:00
2011-12-08 14:05:54 +11:00
2012-01-12 20:05:28 -08:00
2012-01-07 23:02:38 +01:00
2011-12-21 15:42:50 -05:00
2012-01-10 16:35:01 -08:00
2012-01-10 16:35:00 -08:00
2011-11-29 00:25:05 -05:00
2011-12-02 13:49:21 -05:00
2011-11-27 19:21:09 -05:00
2011-11-29 01:15:24 -05:00
2011-11-29 00:25:05 -05:00
2012-01-10 16:35:00 -08:00
2012-01-09 14:39:22 -08:00
2012-01-10 16:35:01 -08:00