]> www.infradead.org Git - users/jedix/linux-maple.git/commit
hpsa: fix try_soft_reset error handling
authorRobert Elliott <elliott@hp.com>
Fri, 6 Nov 2015 13:47:44 +0000 (05:47 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 10 Mar 2016 19:49:05 +0000 (11:49 -0800)
commit7cf23fcb2cb27ee4e96a1f4d33c797166d0086e2
treeb86d3565beb19f9c45d202b115f396662370f692
parentbc1e219cd22a13c847fdc2afbb4c461e5219b926
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>
Signed-off-by: Robert Elliott <elliott@hp.com>
Signed-off-by: Don Brace <don.brace@pmcs.com>
Orabug: 22075051
Acked-by: Chuck Anderson <chuck.anderson@oracle.com>
drivers/scsi/hpsa.c