]> www.infradead.org Git - users/jedix/linux-maple.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)
committerDan Duval <dan.duval@oracle.com>
Thu, 15 Oct 2015 21:45:32 +0000 (17:45 -0400)
commit0db99487de5e2e569671c08cd5fd2ca47fe1901e
tree808d05a736b299fec9bd42809e5ba8d541985118
parent0a08a80a494eb410812f993b8a1f0dd02fdda29e
qla2xxx: Do not crash system for sp ref count zero

Orabug: 21946579

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>
Signed-off-by: Dan Duval <dan.duval@oracle.com>
drivers/scsi/qla2xxx/qla_os.c