Skip to content

Commit b76beac

Browse files
Justin Teemartinkpetersen
authored andcommitted
scsi: lpfc: Remove D_ID swap log message from trace event logger
D_ID swaps are common during cable swaps in a SAN. Thus, there's no reason to log the event at a KERN_ERR level with the trace event logger. Change the log level to KERN_INFO and the normal LOG_ELS flag. Signed-off-by: Justin Tee <justin.tee@broadcom.com> Link: https://lore.kernel.org/r/20240131185112.149731-5-justintee8345@gmail.com Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent aa7674b commit b76beac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/scsi/lpfc/lpfc_nportdisc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ lpfc_rcv_plogi(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp,
434434
}
435435
if (nlp_portwwn != 0 &&
436436
nlp_portwwn != wwn_to_u64(sp->portName.u.wwn))
437-
lpfc_printf_vlog(vport, KERN_ERR, LOG_TRACE_EVENT,
437+
lpfc_printf_vlog(vport, KERN_INFO, LOG_ELS,
438438
"0143 PLOGI recv'd from DID: x%x "
439439
"WWPN changed: old %llx new %llx\n",
440440
ndlp->nlp_DID,

0 commit comments

Comments
 (0)