scsi: lpfc: Revise TRACE_EVENT log flag severities from KERN_ERR to KERN_WARNING
authorJustin Tee <justin.tee@broadcom.com>
Thu, 12 Sep 2024 23:24:45 +0000 (16:24 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 13 Sep 2024 01:21:19 +0000 (21:21 -0400)
commit1af9af1f8ab38f1285b27581a5e6920ec58296ba
treebb936e4f7e1f2b5e21d7b3902b602f91fa65c96d
parent0a3c84f71680684c1d41abb92db05f95c09111e8
scsi: lpfc: Revise TRACE_EVENT log flag severities from KERN_ERR to KERN_WARNING

Revise certain log messages marked as KERN_ERR LOG_TRACE_EVENT to
KERN_WARNING and use the lpfc_vlog_msg() macro to still log the event.  The
benefit is that events of interest are still logged and the entire trace
buffer is not dumped with extraneous logging information when using default
lpfc_log_verbose driver parameter settings.

Also, delete the keyword "fail" from such log messages as they aren't
really causes for concern.  The log messages are more for warnings to a SAN
admin about SAN activity.

Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://lore.kernel.org/r/20240912232447.45607-7-justintee8345@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_ct.c
drivers/scsi/lpfc/lpfc_els.c