diff options
| author | Weiwen Hu <[email protected]> | 2024-06-03 20:57:01 +0800 |
|---|---|---|
| committer | Keith Busch <[email protected]> | 2024-06-24 12:53:42 -0700 |
| commit | dd0b0a4a2c5d7209457dc172997d1243ad269cfa (patch) | |
| tree | 90e08c749d098837be9fd2f725a1fcd6dad34e32 /include/linux | |
| parent | d89a5c6705998ddc42b104f8eabd3c4b9e8fde08 (diff) | |
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 <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/nvme.h | 6 |
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) |