hpsa: correct return values from driver functions.
authorRobert Elliott <elliott@hp.com>
Thu, 23 Apr 2015 14:33:43 +0000 (09:33 -0500)
committerJames Bottomley <JBottomley@Odin.com>
Sun, 31 May 2015 18:34:44 +0000 (11:34 -0700)
commit2dd02d742535fe0114f1957afe8685856bdfebac
tree911709929fdad73da79d2d8dcdbc93f27d12066f
parentbf43caf316926fced73cfddad9f1b3f4251717e5
hpsa: correct return values from driver functions.

correct return codes for error conditions

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: Robert Elliott <elliott@hp.com>
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