From: Julia Lawall Date: Thu, 16 Aug 2012 21:46:56 +0000 (+0000) Subject: drivers/net/wimax/i2400m/fw.c: fix error return code X-Git-Tag: v3.6-rc3~10^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82a820e8d75f7f3fcd1af24609da79d7d89d5450;p=pandora-kernel.git drivers/net/wimax/i2400m/fw.c: fix error return code Convert a nonnegative error return code to a negative one, as returned elsewhere in the function. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @@ identifier ret; expression e1,e2; @@ if (ret < 0) { ... return ret; } ... when != ret = e1 when forall *if(...) { ... when != ret = e2 * return ret; } // Signed-off-by: Julia Lawall Signed-off-by: David S. Miller --- Reading git-diff-tree failed