]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
qla2xxx: Do not crash system for sp ref count zero
authorHiral Patel <hiral.patel@qlogic.com>
Tue, 4 Aug 2015 17:37:56 +0000 (13:37 -0400)
committerJames Bottomley <JBottomley@Odin.com>
Thu, 27 Aug 2015 00:44:45 +0000 (17:44 -0700)
commit8fbdac8c70d378016f568106f09fb3ff153a47c3
tree9f9380d681b753348f863a588a346236568bde02
parentd6b9b42b49518c30df9de92ce499f005d336e97b
qla2xxx: Do not crash system for sp ref count zero

Aovid crashing the system in the scenario where firmware
just completes the command and it can not find the command
during abort mailbox processing. This scenario can lead to
sp reference counter being zero. Instead of crashing the
system, use WARN_ON to print warning in log file.

Signed-off-by: Hiral Patel <hiral.patel@qlogic.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/qla2xxx/qla_os.c