]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Fix more "if ((err = foo() < 0))" typos
authorAlexey Dobriyan <adobriyan@gmail.com>
Mon, 9 Jan 2006 21:09:16 +0000 (00:09 +0300)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 21:02:51 +0000 (13:02 -0800)
commitac7e9eb1fb7d033ff9fac78538ca82fd54e77603
treee1a5221fe0c98d743fbceec2d0932f3556aecf93
parentd0b4a4adfd542670e81b2a3351dc1a244acabe8e
[PATCH] Fix more "if ((err = foo() < 0))" typos

Another reason to use:

ret = foo();
if (ret < 0)
goto out;

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Documentation/kprobes.txt
arch/mips/kernel/vpe.c
drivers/media/dvb/frontends/mt312.c