From: Arunpandian J Date: Mon, 28 Feb 2022 10:52:22 +0000 (+0530) Subject: types: status code type value update as per NVMe specification X-Git-Tag: v1.0-rc5~12^2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=fc274c57c6b3063d35dd76e36b777adc4da29e0d;p=users%2Fsagi%2Flibnvme.git types: status code type value update as per NVMe specification Signed-off-by: Arunpandian J --- 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