]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] mpt2sas: return -ENOMEM if memory allocation failed.
authorKashyap, Desai <kashyap.desai@lsi.com>
Wed, 17 Mar 2010 10:56:48 +0000 (16:26 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 11 Apr 2010 14:24:01 +0000 (09:24 -0500)
commit1110739d32e9432a82ed4454d526e47686c9a43b
tree08ca58ee5ba5d6a64742467374f8a83a2b5c91e1
parentcb020b0b6c1a48d2f7748d2d01b772079234e6af
[SCSI] mpt2sas: return -ENOMEM if memory allocation failed.

Added proper return type values in case memory allocation failed.

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/mpt2sas/mpt2sas_base.c