On Tue, 14 Aug 2012, Julia Lawall wrote:
From: Julia Lawall julia.law...@lip6.fr
Convert a possibly 0 error return code to a negative one, as returned
elsewhere in the function.
...
diff --git a/drivers/usb/host/ehci-platform.c
b/drivers/usb/host/ehci-platform.c
index 91acdde..764e010
From: Julia Lawall julia.law...@lip6.fr
Convert a possibly 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/)
// smpl
@@
identifier ret;
expression