[PATCH RESEND] nvme: Fix incorrect cdw15 value in passthru error logging

Alok Tiwari posted 1 patch 3 months, 1 week ago
drivers/nvme/host/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH RESEND] nvme: Fix incorrect cdw15 value in passthru error logging
Posted by Alok Tiwari 3 months, 1 week ago
Fix an error in nvme_log_err_passthru() where cdw14 was incorrectly
printed twice instead of cdw15. This fix ensures accurate logging of
the full passthrough command payload.

Fixes: 9f079dda1433 ("nvme: allow passthru cmd error logging")
Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
---
Corrected Christoph Hellwig's email ID
added Reviewed-by  Martin K. Petersen
---
 drivers/nvme/host/core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c
index e533d791955d..2ae36bce615e 100644
--- a/drivers/nvme/host/core.c
+++ b/drivers/nvme/host/core.c
@@ -386,7 +386,7 @@ static void nvme_log_err_passthru(struct request *req)
 		nr->cmd->common.cdw12,
 		nr->cmd->common.cdw13,
 		nr->cmd->common.cdw14,
-		nr->cmd->common.cdw14);
+		nr->cmd->common.cdw15);
 }
 
 enum nvme_disposition {
-- 
2.47.1
Re: [PATCH RESEND] nvme: Fix incorrect cdw15 value in passthru error logging
Posted by Christoph Hellwig 3 months, 1 week ago
Thanks,

applied to nvme-6.16.

I fixed up the commit message to include a Fixes tag and drop the
mailing list reference.
Re: [PATCH RESEND] nvme: Fix incorrect cdw15 value in passthru error logging
Posted by Christoph Hellwig 3 months, 1 week ago
On Mon, Jun 30, 2025 at 08:34:30AM +0200, Christoph Hellwig wrote:
> I fixed up the commit message to include a Fixes tag and drop the
> mailing list reference.

Please ignore this, it was meant for another patch I applied.