]> www.infradead.org Git - users/jedix/linux-maple.git/commit
hpsa: skip free_irq calls if irqs are not allocated
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:48:52 +0000 (11:48 -0800)
commitc962c031c4760bbf483be8a636b51c7be7622b50
tree4af92b8548d8736c5c65a0dc24826d99acdbe004
parenta4ce8059019f9201d323605f7cbda86c3b44298b
hpsa: skip free_irq calls if irqs are not allocated

If try_soft_reset fails to re-allocate irqs, the error exit
starts with free_irq calls, which generate kernel WARN
messages since they were already freed a few lines earlier.

Jump to the next exit label to skip the free_irq calls.

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