[SCSI] pm8001: handle allocation failures
authorDan Carpenter <error27@gmail.com>
Tue, 17 Aug 2010 11:54:57 +0000 (13:54 +0200)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 9 Sep 2010 20:31:54 +0000 (15:31 -0500)
Return -ENOMEM if the allocations fail.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Jack Wang <jack_wang@usish.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>

No differences found