summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorKangjie Lu <kjlu@umn.edu>2019-03-14 01:30:59 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-16 19:44:58 +0200
commit783552a9865c667d492386994b6eb42d2ec365db (patch)
tree60174e3bda35107e66d8b46afe377f4fb570cb9c /fs
parentf18c946e6cf1cf69519e5c524429128b789519ae (diff)
scsi: qla4xxx: fix a potential NULL pointer dereference
[ Upstream commit fba1bdd2a9a93f3e2181ec1936a3c2f6b37e7ed6 ] In case iscsi_lookup_endpoint fails, the fix returns -EINVAL to avoid NULL pointer dereference. Signed-off-by: Kangjie Lu <kjlu@umn.edu> Acked-by: Manish Rangankar <mrangankar@marvell.com> Reviewed-by: Mukesh Ojha <mojha@codeaurora.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Sasha Levin (Microsoft) <sashal@kernel.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions