cciss: handle allocation failure
authorDan Carpenter <error27@gmail.com>
Mon, 23 Aug 2010 10:28:15 +0000 (12:28 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Mon, 23 Aug 2010 10:28:15 +0000 (12:28 +0200)
If kmalloc() fails then cleanup and return failure (-1).

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>

No differences found