aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_debugfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_debugfs.c')
-rw-r--r--drivers/scsi/lpfc/lpfc_debugfs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_debugfs.c b/drivers/scsi/lpfc/lpfc_debugfs.c
index 0c8005bb0f53..34d311a7dbef 100644
--- a/drivers/scsi/lpfc/lpfc_debugfs.c
+++ b/drivers/scsi/lpfc/lpfc_debugfs.c
@@ -698,6 +698,8 @@ lpfc_debugfs_nodelist_data(struct lpfc_vport *vport, char *buf, int size)
698 rport = lpfc_ndlp_get_nrport(ndlp); 698 rport = lpfc_ndlp_get_nrport(ndlp);
699 if (rport) 699 if (rport)
700 nrport = rport->remoteport; 700 nrport = rport->remoteport;
701 else
702 nrport = NULL;
701 spin_unlock(&phba->hbalock); 703 spin_unlock(&phba->hbalock);
702 if (!nrport) 704 if (!nrport)
703 continue; 705 continue;