From 8e84f08fbc468d9c4f598866c46d1ee0cdd8a62b Mon Sep 17 00:00:00 2001 From: Tokunori Ikegami Date: Sun, 31 Mar 2024 18:55:25 +0900 Subject: [PATCH] types: Fix NVME_CSTS_SHST_MASK definition Deprecate NVME_CSTS_SHS_MASK instead. Signed-off-by: Tokunori Ikegami --- src/nvme/types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nvme/types.h b/src/nvme/types.h index c4954afa..4a0cb33e 100644 --- a/src/nvme/types.h +++ b/src/nvme/types.h @@ -344,13 +344,13 @@ enum nvme_csts { NVME_CSTS_PP_SHIFT = 5, NVME_CSTS_RDY_MASK = 0x1, NVME_CSTS_CFS_MASK = 0x1, - NVME_CSTS_SHN_MASK = 0x3, + NVME_CSTS_SHST_MASK = 0x3, NVME_CSTS_NSSRO_MASK = 0x1, NVME_CSTS_PP_MASK = 0x1, NVME_CSTS_SHST_NORMAL = 0, NVME_CSTS_SHST_OCCUR = 1, NVME_CSTS_SHST_CMPLT = 2, - NVME_CSTS_SHST_MASK = 3, + NVME_CSTS_SHS_MASK = NVME_CSTS_SHST_MASK, /* Deprecated */ }; #define NVME_CSTS_RDY(csts) NVME_GET(csts, CSTS_RDY)