hpsa: clean up error handling
authorRobert Elliott <elliott@hp.com>
Thu, 23 Apr 2015 14:33:17 +0000 (09:33 -0500)
committerJames Bottomley <JBottomley@Odin.com>
Sun, 31 May 2015 18:30:24 +0000 (11:30 -0700)
commit195f2c65f99e0476b64d01d4022cfec70a0b1fe5
tree7b7aa283c08f61baf196490e99d25de0dde185a6
parentcc64c817a8e044f911b2bf36170c49a6dbf776c8
hpsa: clean up error handling

refactor error cleanup and shutdown
disable interrupts and pci_disable_device on critical failures
add hpsa_free_cfgtables function

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