Skip to content

Commit 5b8963c

Browse files
Justin Teemartinkpetersen
authored andcommitted
scsi: lpfc: Change diagnostic log flag during receipt of unknown ELS cmds
During diagnostics, it has been determined that the 0115 log message for receipt of unknown ELS cmds does not benefit from trace buffer dumps. The trace buffer dump floods the console with unnecessary information, and the singular LOG_ELS flag has proven more beneficial in debugging efforts when dealing with unknown ELS cmds. Signed-off-by: Justin Tee <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 8400291 commit 5b8963c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/scsi/lpfc/lpfc_els.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10742,7 +10742,7 @@ lpfc_els_unsol_buffer(struct lpfc_hba *phba, struct lpfc_sli_ring *pring,
1074210742
rjt_exp = LSEXP_NOTHING_MORE;
1074310743

1074410744
/* Unknown ELS command <elsCmd> received from NPORT <did> */
10745-
lpfc_printf_vlog(vport, KERN_ERR, LOG_TRACE_EVENT,
10745+
lpfc_printf_vlog(vport, KERN_ERR, LOG_ELS,
1074610746
"0115 Unknown ELS command x%x "
1074710747
"received from NPORT x%x\n", cmd, did);
1074810748
if (newnode)

0 commit comments

Comments
 (0)