staging: keucr: check kmalloc() return value
commitb1f5f54e91e30ecd5ac670edc8bb2c0ee5990d0f
authorVasiliy Kulikov <segooon@gmail.com>
Sun, 19 Sep 2010 07:36:23 +0000 (19 11:36 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 21 Sep 2010 00:03:41 +0000 (20 17:03 -0700)
tree553414d531108b28cdbd0a7dc2ad2e3e4c0d5d9f
parent83ef41f0858b48cce4f8ca23f674ec55d50bf47d
staging: keucr: check kmalloc() return value

kmalloc() may fail, if so return error code.

Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/keucr/init.c
drivers/staging/keucr/msscsi.c
drivers/staging/keucr/smscsi.c