summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-08-23 12:28:15 +0200
committerJens Axboe <jaxboe@fusionio.com>2010-08-23 12:28:15 +0200
commit4ee69851cd4880f574d22f5ce08bec35b01c94e3 (patch)
tree1e249690aeb31a8d30e22e7db26eb9331a88c08b /block
parent6d6ac1c1a3d4f95953aa3b085e8f16692d3a7179 (diff)
downloadop-kernel-dev-4ee69851cd4880f574d22f5ce08bec35b01c94e3.zip
op-kernel-dev-4ee69851cd4880f574d22f5ce08bec35b01c94e3.tar.gz
cciss: handle allocation failure
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>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud