Julia Lawall
49339ccae5
net/ax25: Use available error codes
...
Error codes are stored in err, but the return value is always 0. Return
err instead.
The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/ )
// <smpl>
@r@
local idexpression x;
constant C;
@@
if (...) { ...
x = -C
... when != x
(
return <+...x...+>;
|
return NULL;
|
return;
|
* return ...;
)
}
// </smpl>
Signed-off-by: Julia Lawall <julia@diku.dk>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-08-18 14:26:31 -07:00
..
2010-08-02 14:28:36 -05:00
2010-04-11 14:53:53 -07:00
2010-07-18 15:38:44 -07:00
2010-04-11 14:53:53 -07:00
2010-08-16 21:06:26 -07:00
2010-08-18 14:26:31 -07:00
2010-08-10 07:59:11 -04:00
2010-08-02 22:22:46 -07:00
2010-08-10 16:39:27 -07:00
2010-08-11 16:12:35 -07:00
2010-08-17 02:31:15 -07:00
2010-03-30 22:02:32 +09:00
2010-07-18 15:07:14 -07:00
2010-08-16 21:06:30 -07:00
2010-08-11 17:11:28 +00:00
2010-08-11 23:03:50 -07:00
2010-06-11 18:37:08 -07:00
2010-07-14 18:27:09 -07:00
2010-05-23 23:11:07 -07:00
2010-08-07 20:24:28 -07:00
2010-08-14 22:42:51 -07:00
2010-03-30 22:02:32 +09:00
2010-08-04 21:53:17 -07:00
2010-06-03 03:21:52 -07:00
2010-05-17 23:23:13 -07:00
2010-08-04 21:53:17 -07:00
2010-03-30 22:02:32 +09:00
2010-05-12 00:05:35 -07:00
2010-08-11 23:04:31 +09:30
2010-08-04 15:31:02 -07:00
2010-05-17 23:23:14 -07:00
2010-08-15 23:21:50 -07:00
2010-04-20 16:37:13 -07:00
2010-06-02 05:53:56 -07:00
2010-07-20 18:25:24 -07:00
2010-05-29 00:18:48 -07:00
2010-04-11 14:53:53 -07:00
2010-08-01 00:32:12 -07:00
2010-08-12 09:51:35 -07:00
2010-08-18 14:24:51 -07:00
2010-08-04 15:31:02 -07:00
2010-08-11 23:04:15 +09:30
2010-08-17 17:32:00 -07:00
2010-07-20 13:28:05 -07:00
2010-07-12 20:21:47 -07:00
2010-05-20 21:04:44 -07:00
2010-08-09 15:18:57 -04:00
2010-05-17 17:39:28 -07:00
2010-08-14 22:38:09 -07:00
2010-06-03 20:03:40 -07:00
2010-08-05 17:17:51 +00:00
2010-08-05 17:17:51 +00:00
2010-07-18 19:15:26 -07:00
2010-05-17 23:23:14 -07:00