Patch "scsi: pm80xx: Fix misleading log statement in pm8001_mpi_get_nvmd_resp()" has been added to the 5.10-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    scsi: pm80xx: Fix misleading log statement in pm8001_mpi_get_nvmd_resp()

to the 5.10-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     scsi-pm80xx-fix-misleading-log-statement-in-pm8001_m.patch
and it can be found in the queue-5.10 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 70a746b4fa320cf3f9fcf01daeb1c19d4c534a3d
Author: Igor Pylypiv <ipylypiv@xxxxxxxxxx>
Date:   Tue Sep 28 19:58:47 2021 -0700

    scsi: pm80xx: Fix misleading log statement in pm8001_mpi_get_nvmd_resp()
    
    [ Upstream commit 4084a7235d38311a77c86ba69ba849bd787db87b ]
    
    pm8001_mpi_get_nvmd_resp() handles a GET_NVMD_DATA response, not a
    SET_NVMD_DATA response, as the log statement implies.
    
    Fixes: 1f889b58716a ("scsi: pm80xx: Fix pm8001_mpi_get_nvmd_resp() race condition")
    Link: https://lore.kernel.org/r/20210929025847.646999-1-ipylypiv@xxxxxxxxxx
    Reviewed-by: Changyuan Lyu <changyuanl@xxxxxxxxxx>
    Acked-by: Jack Wang <jinpu.wang@xxxxxxxxx>
    Signed-off-by: Igor Pylypiv <ipylypiv@xxxxxxxxxx>
    Signed-off-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/scsi/pm8001/pm8001_hwi.c b/drivers/scsi/pm8001/pm8001_hwi.c
index 2114d2dd3501a..5d751628a6340 100644
--- a/drivers/scsi/pm8001/pm8001_hwi.c
+++ b/drivers/scsi/pm8001/pm8001_hwi.c
@@ -3107,7 +3107,7 @@ pm8001_mpi_get_nvmd_resp(struct pm8001_hba_info *pm8001_ha, void *piomb)
 	 * fw_control_context->usrAddr
 	 */
 	complete(pm8001_ha->nvmd_completion);
-	pm8001_dbg(pm8001_ha, MSG, "Set nvm data complete!\n");
+	pm8001_dbg(pm8001_ha, MSG, "Get nvmd data complete!\n");
 	ccb->task = NULL;
 	ccb->ccb_tag = 0xFFFFFFFF;
 	pm8001_tag_free(pm8001_ha, tag);



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux