diff options
author | Alok Tiwari <alok.a.tiwari@oracle.com> | 2025-06-28 11:12:32 -0700 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2025-06-30 08:31:45 +0200 |
commit | 2e96d2d8c2a7a6c2cef45593c028d9c5ef180316 (patch) | |
tree | 8e8b44d3f732cc0b329ab89dfd7b4495438616ae | |
parent | c007062188d8e402c294117db53a24b2bed2b83f (diff) |
nvme: Fix incorrect cdw15 value in passthru error logging
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>
Signed-off-by: Christoph Hellwig <hch@lst.de>
-rw-r--r-- | drivers/nvme/host/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |