On Sun, Aug 5, 2012 at 11:52 AM, Julia Lawall wrote:
> From: Julia Lawall
>
> Convert a 0 error return code to a negative one, as returned elsewhere in the
> function.
Patch applied.
Mika/Adrian: shout if this is incorrect.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line
From: Julia Lawall
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
2 matches
Mail list logo