summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWeiwen Hu <huweiwen@linux.alibaba.com>2024-06-03 15:57:01 +0300
committerKeith Busch <kbusch@kernel.org>2024-06-24 22:53:42 +0300
commitdd0b0a4a2c5d7209457dc172997d1243ad269cfa (patch)
tree90e08c749d098837be9fd2f725a1fcd6dad34e32 /include
parentd89a5c6705998ddc42b104f8eabd3c4b9e8fde08 (diff)
downloadlinux-dd0b0a4a2c5d7209457dc172997d1243ad269cfa.tar.xz
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 'include')
-rw-r--r--include/linux/nvme.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/nvme.h b/include/linux/nvme.h
index c8d7fdd095a1..27faae34245d 100644
--- a/include/linux/nvme.h
+++ b/include/linux/nvme.h
@@ -1994,9 +1994,9 @@ enum {
NVME_SCT_MASK = 0x0700, /* Status Code Type */
NVME_SCT_SC_MASK = NVME_SCT_MASK | NVME_SC_MASK,
- NVME_SC_CRD = 0x1800, /* Command Retry Delayed */
- NVME_SC_MORE = 0x2000,
- NVME_SC_DNR = 0x4000, /* Do Not Retry */
+ NVME_STATUS_CRD = 0x1800, /* Command Retry Delayed */
+ NVME_STATUS_MORE = 0x2000,
+ NVME_STATUS_DNR = 0x4000, /* Do Not Retry */
};
#define NVME_SCT(status) ((status) >> 8 & 7)