]> www.infradead.org Git - users/sagi/libnvme.git/commitdiff
types: status code type value update as per NVMe specification
authorArunpandian J <apj.arun@samsung.com>
Mon, 28 Feb 2022 10:52:22 +0000 (16:22 +0530)
committerArunpandian J <apj.arun@samsung.com>
Mon, 28 Feb 2022 10:52:22 +0000 (16:22 +0530)
Signed-off-by: Arunpandian J <apj.arun@samsung.com>
src/nvme/types.h

index 5954ae3bd7b994afebd40b6870743beacad3792f..535f877a14c2ce7d11ab10c29b90512086662ad9 100644 (file)
@@ -5729,12 +5729,12 @@ enum nvme_status_field {
        /*
         * Status Code Type indicators
         */
-       NVME_SCT_GENERIC                = 0x000,
-       NVME_SCT_CMD_SPECIFIC           = 0x100,
-       NVME_SCT_MEDIA                  = 0x200,
-       NVME_SCT_PATH                   = 0x300,
-       NVME_SCT_VS                     = 0x700,
-       NVME_SCT_MASK                   = 0x700,
+       NVME_SCT_GENERIC                = 0x0,
+       NVME_SCT_CMD_SPECIFIC           = 0x1,
+       NVME_SCT_MEDIA                  = 0x2,
+       NVME_SCT_PATH                   = 0x3,
+       NVME_SCT_VS                     = 0x7,
+       NVME_SCT_MASK                   = 0x7,
 
        /*
         * Status Code inidicators