[SCSI] mpt2sas: Added -ENOMEM return type when allocation fails
authorKashyap, Desai <kashyap.desai@lsi.com>
Thu, 17 Jun 2010 08:17:29 +0000 (13:47 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 27 Jul 2010 17:02:20 +0000 (12:02 -0500)
In the driver mpt2sas_base_attach subroutine, we need to add
support to return the proper error code when there are memory allocation
failures, e.g. returning -ENOMEM.

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>

No differences found