]> err.no Git - linux-2.6/commit
[PATCH] Char: isicom, check kmalloc retval
authorJiri Slaby <jirislaby@gmail.com>
Fri, 8 Dec 2006 10:38:54 +0000 (02:38 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:28:57 +0000 (08:28 -0800)
commitf0671378426d9768bf20d5e0f8389374dcdc2abf
tree232da6f0310b63e1ab921f5c60d67dc6b77f060d
parent78028da91e05146c9ce0c9db2fea53e0cded1e81
[PATCH] Char: isicom, check kmalloc retval

Value returned from kamlloc may be NULL, we should check if ENOMEM occured.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Acked-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/isicom.c