hpsa: do not ignore return value of hpsa_register_scsi
authorStephen Cameron <stephenmcameron@gmail.com>
Thu, 23 Apr 2015 14:32:37 +0000 (09:32 -0500)
committerJames Bottomley <JBottomley@Odin.com>
Sun, 31 May 2015 18:26:20 +0000 (11:26 -0700)
commit4a4384ceda6cf646f1f0810eefe3f79e8f01e5d8
treea8281f00dc1d320c25896ced0688d0ec4832b931
parent360c73bdde4537397f70b17cadd8139ff1f75ab9
hpsa: do not ignore return value of hpsa_register_scsi

add error handling for failure when registering with SCSI subsystem.

Reviewed-by: Scott Teel <scott.teel@pmcs.com>
Reviewed-by: Kevin Barnett <kevin.barnett@pmcs.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Reviewed-by: Hannes Reinecke <hare@Suse.de>
Signed-off-by: Don Brace <don.brace@pmcs.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/hpsa.c