From: Justin Tee Date: Wed, 12 Jul 2023 18:05:11 +0000 (-0700) Subject: scsi: lpfc: Pull out fw diagnostic dump log message from driver's trace buffer X-Git-Tag: v6.6-rc1~11^2~72^2~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4cf7cfa8bae11fec28785a2fec9223d0ffb25cf2;p=thirdparty%2Fkernel%2Flinux.git scsi: lpfc: Pull out fw diagnostic dump log message from driver's trace buffer The firmware diagnostic dump log message does not need to be a part of the driver's log trace buffer because it is an expected user triggered event. Change LOG_TRACE_EVENT verbose flag to LOG_SLI. Signed-off-by: Justin Tee Link: https://lore.kernel.org/r/20230712180522.112722-2-justintee8345@gmail.com Signed-off-by: Martin K. Petersen --- diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c index 3221a934066bb..041d6f0f20971 100644 --- a/drivers/scsi/lpfc/lpfc_init.c +++ b/drivers/scsi/lpfc/lpfc_init.c @@ -2123,7 +2123,7 @@ lpfc_handle_eratt_s4(struct lpfc_hba *phba) en_rn_msg = false; } else if (reg_err1 == SLIPORT_ERR1_REG_ERR_CODE_2 && reg_err2 == SLIPORT_ERR2_REG_FORCED_DUMP) - lpfc_printf_log(phba, KERN_ERR, LOG_TRACE_EVENT, + lpfc_printf_log(phba, KERN_ERR, LOG_SLI, "3144 Port Down: Debug Dump\n"); else if (reg_err1 == SLIPORT_ERR1_REG_ERR_CODE_2 && reg_err2 == SLIPORT_ERR2_REG_FUNC_PROVISON)