diff options
author | Weiwen Hu <huweiwen@linux.alibaba.com> | 2024-06-03 20:57:01 +0800 |
---|---|---|
committer | Keith Busch <kbusch@kernel.org> | 2024-06-24 12:53:42 -0700 |
commit | dd0b0a4a2c5d7209457dc172997d1243ad269cfa (patch) | |
tree | 90e08c749d098837be9fd2f725a1fcd6dad34e32 /drivers/nvme/host/nvme.h | |
parent | d89a5c6705998ddc42b104f8eabd3c4b9e8fde08 (diff) | |
download | linux-dd0b0a4a2c5d7209457dc172997d1243ad269cfa.tar.gz linux-dd0b0a4a2c5d7209457dc172997d1243ad269cfa.tar.bz2 linux-dd0b0a4a2c5d7209457dc172997d1243ad269cfa.zip |
nvme: rename CDR/MORE/DNR to NVME_STATUS_*
CDR/MORE/DNR fields are not belonging to SC in the NVMe spec, rename
them to NVME_STATUS_* to avoid confusion.
Signed-off-by: Weiwen Hu <huweiwen@linux.alibaba.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'drivers/nvme/host/nvme.h')
-rw-r--r-- | drivers/nvme/host/nvme.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/host/nvme.h b/drivers/nvme/host/nvme.h index f3a7be42c4d0..73442d3f504b 100644 --- a/drivers/nvme/host/nvme.h +++ b/drivers/nvme/host/nvme.h @@ -878,7 +878,7 @@ enum { NVME_SUBMIT_NOWAIT = (__force nvme_submit_flags_t)(1 << 1), /* Set BLK_MQ_REQ_RESERVED when allocating request */ NVME_SUBMIT_RESERVED = (__force nvme_submit_flags_t)(1 << 2), - /* Retry command when NVME_SC_DNR is not set in the result */ + /* Retry command when NVME_STATUS_DNR is not set in the result */ NVME_SUBMIT_RETRY = (__force nvme_submit_flags_t)(1 << 3), }; |