summaryrefslogtreecommitdiff
path: root/mm/compaction.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <garsilva@embeddedor.com>2017-05-23 18:09:28 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2017-06-01 05:45:15 +0300
commite6ef6a77f51e403a1400241b9d029ecaba45a834 (patch)
tree969e9aeda7900fd8b1060a91590e80d40e81f0e6 /mm/compaction.c
parent7c9fdfb7000715df2d187df251d11e4850ce94c8 (diff)
downloadlinux-e6ef6a77f51e403a1400241b9d029ecaba45a834.tar.xz
scsi: lpfc: prevent potential null pointer dereference
Null check at line 966: if (ndlp) {, implies that ndlp might be NULL. Functions lpfc_nlp_set_state() and lpfc_issue_els_prli() dereference pointer ndlp. Include these function calls inside the IF block that tests pointer ndlp. Addresses-Coverity-ID: 1401856 Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> Acked-by: James Smart <james.smart@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'mm/compaction.c')
0 files changed, 0 insertions, 0 deletions