]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
[PATCH] fix create_write_pipe() error check
authorAkinobu Mita <akinobu.mita@gmail.com>
Tue, 28 Nov 2006 20:29:43 +0000 (12:29 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Wed, 29 Nov 2006 01:26:50 +0000 (17:26 -0800)
commit3cce4856ff3dfa663b1a168dab48120d70820da6
tree8d71aa53cff785eb89acd2499179deaf8bc44ca3
parent967bf623e9f5eecfb056b1ba7e0efd74a21c9c3a
[PATCH] fix create_write_pipe() error check

The return value of create_write_pipe()/create_read_pipe() should be
checked by IS_ERR().

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/kmod.c