hpsa: fix try_soft_reset error handling
authorRobert Elliott <elliott@hp.com>
Thu, 23 Apr 2015 14:34:48 +0000 (09:34 -0500)
committerJames Bottomley <JBottomley@Odin.com>
Sun, 31 May 2015 18:41:05 +0000 (11:41 -0700)
commitb2ef480c4b6548e8287dd231256f7d5eccd0279d
treeb35d44c178af5be432a353666de176c9113f182e
parent9ecd953aa8b07819af0f1f561f52cb4bd43e8735
hpsa: fix try_soft_reset error handling

If registering the special interrupt handlers in hpsa_init_one
before a soft reset fails, the error exit needs to deallocate
everything that was allocated before.

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
This page took 0.030711 seconds and 5 git commands to generate.