lpfc: Fix crash in fcp command completion path.
authorJames Smart <james.smart@avagotech.com>
Wed, 16 Dec 2015 23:11:57 +0000 (18:11 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 22 Dec 2015 02:54:30 +0000 (21:54 -0500)
commitc90261dcd86e4eb5c9c1627fde037e902db8aefa
treef65db68b943c156a359b4bcb228106e901052382
parent6690e0d4fc5cccf74534abe0c9f9a69032bc02f0
lpfc: Fix crash in fcp command completion path.

Fix crash in fcp command completion path.

Missed null check.

Signed-off-by: Dick Kennedy <dick.kennedy@avagotech.com>
Signed-off-by: James Smart <james.smart@avagotech.com>
Reviewed-by: Hannes Reinicke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_scsi.c