From: Peter Senna Tschudin Date: Mon, 24 Sep 2012 04:24:27 +0000 (+0000) Subject: ctcm: fix error return code X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~47^2~88 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8f37a4aa053c68836deca1ddeb509ce6f5ec0ae;p=pandora-kernel.git ctcm: 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/) // ( if@p1 (\(ret < 0\|ret != 0\)) { ... return ret; } | ret@p1 = 0 ) ... when != ret = e1 when != &ret *if(...) { ... when != ret = e2 when forall return ret; } // Signed-off-by: Peter Senna Tschudin Signed-off-by: Ursula Braun Signed-off-by: Frank Blaschka Signed-off-by: David S. Miller --- Reading git-diff-tree failed