Tag: 900853a4db7098b0e58ddcb732632ac43a7b2148

drivers/net/qlcnic: Use available error codes

Author: Julia Lawall <julia@diku.dk> The error code is stored in the variable err, but it is the variable ret that is returned instead. So store the error code in ret. Err is then useless. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @r@ local idexpression x; constant C; @@ if (…) …

Continue reading