]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qla4xxx: Clear interrupt while unloading driver.
authorVikas Chaudhary <vikas.chaudhary@qlogic.com>
Wed, 22 Aug 2012 11:45:25 +0000 (07:45 -0400)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Mon, 12 Nov 2012 10:51:20 +0000 (02:51 -0800)
commit19ce483480283e46027ce9656f0caa0d206c4696
tree7376bf2d9eb634da75a1030cc719154b0374ae3a
parent4c4cebc2e1188a66b7f8869ea4bef8f4a7749c77
qla4xxx: Clear interrupt while unloading driver.

while processing the stop firmware mailbox command on driver unload,
a interrupt is processed which causes kernel panic as the response
queue is not valid.

Fix is to clear the interrupt in free_adapter call just after
disabling the interrupts.

Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla4xxx/ql4_os.c