commit | fba1bdd2a9a93f3e2181ec1936a3c2f6b37e7ed6 | [log] [tgz] |
---|---|---|
author | Kangjie Lu <kjlu@umn.edu> | Thu Mar 14 01:30:59 2019 -0500 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Mon Mar 25 22:24:30 2019 -0400 |
tree | 5f398a1ac62f492a70aa3a0cff75cfbc6ac591c1 | |
parent | b6554cfe09e1f610aed7d57164ab7760be57acd9 [diff] |
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: 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>