aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libfc/fc_lport.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/libfc/fc_lport.c')
-rw-r--r--drivers/scsi/libfc/fc_lport.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/scsi/libfc/fc_lport.c b/drivers/scsi/libfc/fc_lport.c
index 2ae50a1188e6..7ef44501ecc6 100644
--- a/drivers/scsi/libfc/fc_lport.c
+++ b/drivers/scsi/libfc/fc_lport.c
@@ -762,10 +762,11 @@ static void fc_lport_recv_flogi_req(struct fc_seq *sp_in,
762 remote_wwpn = get_unaligned_be64(&flp->fl_wwpn); 762 remote_wwpn = get_unaligned_be64(&flp->fl_wwpn);
763 if (remote_wwpn == lport->wwpn) { 763 if (remote_wwpn == lport->wwpn) {
764 FC_DBG("FLOGI from port with same WWPN %llx " 764 FC_DBG("FLOGI from port with same WWPN %llx "
765 "possible configuration error\n", remote_wwpn); 765 "possible configuration error\n",
766 (unsigned long long)remote_wwpn);
766 goto out; 767 goto out;
767 } 768 }
768 FC_DBG("FLOGI from port WWPN %llx\n", remote_wwpn); 769 FC_DBG("FLOGI from port WWPN %llx\n", (unsigned long long)remote_wwpn);
769 770
770 /* 771 /*
771 * XXX what is the right thing to do for FIDs? 772 * XXX what is the right thing to do for FIDs?