Skip to content
Commit fba1bdd2 authored by Kangjie Lu's avatar Kangjie Lu Committed by Martin K. Petersen
Browse files

scsi: qla4xxx: fix a potential NULL pointer dereference



In case iscsi_lookup_endpoint fails, the fix returns -EINVAL to avoid NULL
pointer dereference.

Signed-off-by: default avatarKangjie Lu <kjlu@umn.edu>
Acked-by: default avatarManish Rangankar <mrangankar@marvell.com>
Reviewed-by: default avatarMukesh Ojha <mojha@codeaurora.org>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent b6554cfe
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