From fc274c57c6b3063d35dd76e36b777adc4da29e0d Mon Sep 17 00:00:00 2001 From: Arunpandian J Date: Mon, 28 Feb 2022 16:22:22 +0530 Subject: [PATCH] types: status code type value update as per NVMe specification Signed-off-by: Arunpandian J --- src/nvme/types.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/nvme/types.h b/src/nvme/types.h index 5954ae3b..535f877a 100644 --- a/src/nvme/types.h +++ b/src/nvme/types.h @@ -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 -- 2.50.1