Skip to content

Commit

Permalink
types: Fix NVME_CSTS_SHST_MASK definition
Browse files Browse the repository at this point in the history
Deprecate NVME_CSTS_SHN_MASK instead.

Signed-off-by: Tokunori Ikegami <[email protected]>
  • Loading branch information
ikegami-t authored and igaw committed Apr 2, 2024
1 parent f671ff4 commit 37b77e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nvme/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_SHN_MASK = NVME_CSTS_SHST_MASK, /* Deprecated */
};

#define NVME_CSTS_RDY(csts) NVME_GET(csts, CSTS_RDY)
Expand Down

0 comments on commit 37b77e6

Please sign in to comment.