Tag: 9f19fa62edd2c397ed41c2dba29fb9f7144cb918

drivers/net/wireless/wl12xx: Use available error codes

Author: Julia Lawall <julia@diku.dk> In each case, error codes are stored in ret, but the return value is always 0. Return ret instead. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @r@ local idexpression x; constant C; @@ if (…) { … x = -C … when != x ( return …

Continue reading