Tag: d06a8a4fe7d81e8d1fa3d753be9b14c785b4b2e7

drivers/cpufreq/pcc-cpufreq.c: fix error return code

Author: Julia Lawall <julia@diku.dk> Convert a 0 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 e,e1,e2,e3,e4,x; @@ ( if (\(ret != 0\|ret < 0\) || ...) { ... return ...; …

Continue reading