mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-12-04 18:39:22 +00:00
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/) // <smpl> @@ identifier ret; expression e1,e2; @@ if (ret < 0) { ... return ret; } ... when != ret = e1 when forall *if(...) { ... when != ret = e2 * return ret; } // </smpl> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: David S. Miller <davem@davemloft.net> |
History
|
|
|---|---|---|
| .. | ||
| control.c | ||
| debug-levels.h | ||
| debugfs.c | ||
| driver.c | ||
| fw.c | ||
| i2400m-usb.h | ||
| i2400m.h | ||
| Kconfig | ||
| Makefile | ||
| netdev.c | ||
| op-rfkill.c | ||
| rx.c | ||
| sysfs.c | ||
| tx.c | ||
| usb-debug-levels.h | ||
| usb-fw.c | ||
| usb-notif.c | ||
| usb-rx.c | ||
| usb-tx.c | ||
| usb.c | ||