Tag: b3d18f15092a7db2f229cd7bc69fc40eac0774f4

net/ax25: Use available error codes

Author: Julia Lawall <julia@diku.dk> 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/) // @r@ local idexpression x; constant C; @@ if (…) { … x = -C … when != x ( return ; | return …

Lire la suite