]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
scsi: mpt3sas: Add details to EEDPTagMode error message
authorPaul Menzel <pmenzel@molgen.mpg.de>
Thu, 12 Dec 2024 22:18:11 +0000 (23:18 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 2 Jan 2025 18:44:38 +0000 (13:44 -0500)
Linux 5.15 logs the error below

    mpt3sas_cm0: overriding NVDATA EEDPTagMode setting

on a Dell PowerEdge T440 with the card below.

    5e:00.0 Serial Attached SCSI controller [0107]: Broadcom / LSI SAS3008 PCI-Express Fusion-MPT SAS-3 [1000:0097] (rev 02)

It’s not clear to a user what this error is about. As a first step to
improve this, add the values to the error message.

Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
Link: https://lore.kernel.org/r/20241212221817.78940-1-pmenzel@molgen.mpg.de
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mpt3sas/mpt3sas_base.c

index ed5046593fdab6ce6971b76f27542ef4bb6eee86..d276a654d9c7bc6c293026c18937e5504e65e00e 100644 (file)
@@ -5627,7 +5627,7 @@ _base_static_config_pages(struct MPT3SAS_ADAPTER *ioc)
        if (rc)
                return rc;
        if (!ioc->is_gen35_ioc && ioc->manu_pg11.EEDPTagMode == 0) {
-               pr_err("%s: overriding NVDATA EEDPTagMode setting\n",
+               pr_err("%s: overriding NVDATA EEDPTagMode setting from 0 to 1\n",
                    ioc->name);
                ioc->manu_pg11.EEDPTagMode &= ~0x3;
                ioc->manu_pg11.EEDPTagMode |= 0x1;