Skip to content

Commit 0bacc04

Browse files
author
Paul Ely
committed
scsi: lpfc: Update debugfs trace ring initialization messages
JIRA: https://issues.redhat.com/browse/RHEL-103751 commit 5459bd4 Author: Justin Tee <justin.tee@broadcom.com> Date: Wed Jun 18 12:21:27 2025 -0700 scsi: lpfc: Update debugfs trace ring initialization messages Initialization parameters for trace rings used in debugfs are sometimes automatically adjusted. This patch corrects and updates the corresponding log messages. Signed-off-by: Justin Tee <justin.tee@broadcom.com> Link: https://lore.kernel.org/r/20250618192138.124116-3-justintee8345@gmail.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Paul Ely <paely@redhat.com>
1 parent dc6d2ae commit 0bacc04

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

drivers/scsi/lpfc/lpfc_debugfs.c

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6227,8 +6227,9 @@ lpfc_debugfs_initialize(struct lpfc_vport *vport)
62276227
i++;
62286228
}
62296229
lpfc_debugfs_max_slow_ring_trc = (1 << i);
6230-
pr_err("lpfc_debugfs_max_disc_trc changed to "
6231-
"%d\n", lpfc_debugfs_max_disc_trc);
6230+
pr_info("lpfc_debugfs_max_slow_ring_trc "
6231+
"changed to %d\n",
6232+
lpfc_debugfs_max_slow_ring_trc);
62326233
}
62336234
}
62346235

@@ -6260,7 +6261,7 @@ lpfc_debugfs_initialize(struct lpfc_vport *vport)
62606261
atomic_set(&phba->nvmeio_trc_cnt, 0);
62616262
if (lpfc_debugfs_max_nvmeio_trc) {
62626263
num = lpfc_debugfs_max_nvmeio_trc - 1;
6263-
if (num & lpfc_debugfs_max_disc_trc) {
6264+
if (num & lpfc_debugfs_max_nvmeio_trc) {
62646265
/* Change to be a power of 2 */
62656266
num = lpfc_debugfs_max_nvmeio_trc;
62666267
i = 0;
@@ -6269,10 +6270,9 @@ lpfc_debugfs_initialize(struct lpfc_vport *vport)
62696270
i++;
62706271
}
62716272
lpfc_debugfs_max_nvmeio_trc = (1 << i);
6272-
lpfc_printf_log(phba, KERN_ERR, LOG_INIT,
6273-
"0575 lpfc_debugfs_max_nvmeio_trc "
6274-
"changed to %d\n",
6275-
lpfc_debugfs_max_nvmeio_trc);
6273+
pr_info("lpfc_debugfs_max_nvmeio_trc changed "
6274+
"to %d\n",
6275+
lpfc_debugfs_max_nvmeio_trc);
62766276
}
62776277
phba->nvmeio_trc_size = lpfc_debugfs_max_nvmeio_trc;
62786278

@@ -6317,8 +6317,8 @@ lpfc_debugfs_initialize(struct lpfc_vport *vport)
63176317
i++;
63186318
}
63196319
lpfc_debugfs_max_disc_trc = (1 << i);
6320-
pr_err("lpfc_debugfs_max_disc_trc changed to %d\n",
6321-
lpfc_debugfs_max_disc_trc);
6320+
pr_info("lpfc_debugfs_max_disc_trc changed to %d\n",
6321+
lpfc_debugfs_max_disc_trc);
63226322
}
63236323
}
63246324

0 commit comments

Comments
 (0)