]> git.karo-electronics.de Git - linux-beck.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)
commitf6aee7b9aee96ef18354f0f86e65ec635ee5039f
tree08ca58ee5ba5d6a64742467374f8a83a2b5c91e1
parent8ed9a03ad4c1b6c5ae163e5e9f140852be0273a1
[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