]> git.karo-electronics.de Git - linux-beck.git/commit
hpsa: propagate the error code in hpsa_kdump_soft_reset
authorRobert Elliott <elliott@hp.com>
Thu, 23 Apr 2015 14:35:14 +0000 (09:35 -0500)
committerJames Bottomley <JBottomley@Odin.com>
Sun, 31 May 2015 23:35:08 +0000 (16:35 -0700)
commit39c53f55a950027fe8e94d56541e21f1a921f7ce
treea20dd8500232f0a95e43ed9ffd9b6f700d2e6363
parent2946e82bdd76568dd6a3ebb49fe977ac222c0a19
hpsa: propagate the error code in hpsa_kdump_soft_reset

If hpsa_wait_for_board_state fails, hpsa_kdump_soft_reset
should propagate its return value (e.g., -ENODEV) rather
than just returning -1.

Reviewed-by: Scott Teel <scott.teel@pmcs.com>
Reviewed-by: Kevin Barnett <kevin.barnett@pmcs.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