Skip to content
Commit 3cb182b3 authored by Rodrigo R. Galvao's avatar Rodrigo R. Galvao Committed by Martin K. Petersen
Browse files

scsi: qla2xxx: Fix crash on qla2x00_mailbox_command



This patch fixes a crash on qla2x00_mailbox_command caused when the driver
is on UNLOADING state and tries to call qla2x00_poll, which triggers a
NULL pointer dereference.

Signed-off-by: default avatarRodrigo R. Galvao <rosattig@linux.vnet.ibm.com>
Signed-off-by: default avatarMauro S. M. Rodrigues <maurosr@linux.vnet.ibm.com>
Acked-by: default avatarHimanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent e73c864b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment