hpsa: propagate hard_reset failures in reset_devices mode
authorRobert Elliott <elliott@hp.com>
Fri, 23 Jan 2015 22:42:01 +0000 (16:42 -0600)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 2 Feb 2015 17:57:37 +0000 (09:57 -0800)
commitadf1b3a31bdf4ca1e0dfb0afd8cb551053944db9
tree46d7f5817be39f0190cc2a9821639498a816b96f
parent69d6e33dc54fda69aa3977966c4c0cf4ec14df85
hpsa: propagate hard_reset failures in reset_devices mode

Return the real reason for kdump_hard_reset failure rather
than change them all to -ENODEV.

Reviewed-by: Scott Teel <scott.teel@pmcs.com>
Signed-off-by: Robert Elliott <elliott@hp.com>
Signed-off-by: Don Brace <don.brace@pmcs.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/hpsa.c