[SCSI] qla4xxx: Clear interrupt while unloading driver.
authorVikas Chaudhary <vikas.chaudhary@qlogic.com>
Wed, 22 Aug 2012 11:45:25 +0000 (07:45 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 24 Sep 2012 08:11:04 +0000 (12:11 +0400)
commitd9e62e513081c66d85bb0b91740ce3313c56b546
treedb16bfaabae13660d03f5eaf7d8adff4469cb078
parent8e9157c832b0dd0a8916278355cf5b15cd19c3c9
[SCSI] 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
This page took 0.028478 seconds and 5 git commands to generate.