]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
scsi: qla2xxx: Change debug message during driver unload
authorSaurav Kashyap <skashyap@marvell.com>
Tue, 27 Feb 2024 16:41:25 +0000 (22:11 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Apr 2024 14:19:34 +0000 (16:19 +0200)
commit b5a30840727a3e41d12a336d19f6c0716b299161 upstream.

Upon driver unload, purge_mbox flag is set and the heartbeat monitor thread
detects this flag and does not send the mailbox command down to FW with a
debug message "Error detected: purge[1] eeh[0] cmd=0x0, Exiting".  This
being not a real error, change the debug message.

Cc: stable@vger.kernel.org
Signed-off-by: Saurav Kashyap <skashyap@marvell.com>
Signed-off-by: Nilesh Javali <njavali@marvell.com>
Link: https://lore.kernel.org/r/20240227164127.36465-10-njavali@marvell.com
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/qla2xxx/qla_mbx.c

index 511f31611aede9a55c2cef3509d791403e69b891..d2ff54beb7cd7b82b27a36ffe57b608b1a13c206 100644 (file)
@@ -194,7 +194,7 @@ qla2x00_mailbox_command(scsi_qla_host_t *vha, mbx_cmd_t *mcp)
        if (ha->flags.purge_mbox || chip_reset != ha->chip_reset ||
            ha->flags.eeh_busy) {
                ql_log(ql_log_warn, vha, 0xd035,
-                      "Error detected: purge[%d] eeh[%d] cmd=0x%x, Exiting.\n",
+                      "Purge mbox: purge[%d] eeh[%d] cmd=0x%x, Exiting.\n",
                       ha->flags.purge_mbox, ha->flags.eeh_busy, mcp->mb[0]);
                rval = QLA_ABORTED;
                goto premature_exit;