Skip to content

Commit 67a9b13

Browse files
ikegami-tigaw
authored andcommitted
types: Fix EOM header optional data present fields definition
Defined eye data present as bit 0 and printable eye present as bit 1. Fixed eye data present to bit 1 and printable eye present to bit 0. Signed-off-by: Tokunori Ikegami <[email protected]>
1 parent ea5600c commit 67a9b13

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/nvme/types.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3963,12 +3963,12 @@ struct nvme_phy_rx_eom_log {
39633963

39643964
/**
39653965
* enum nvme_eom_optional_data - EOM Optional Data Present Fields
3966-
* @NVME_EOM_EYE_DATA_PRESENT: Eye Data Present
39673966
* @NVME_EOM_PRINTABLE_EYE_PRESENT: Printable Eye Present
3967+
* @NVME_EOM_EYE_DATA_PRESENT: Eye Data Present
39683968
*/
39693969
enum nvme_eom_optional_data {
3970-
NVME_EOM_EYE_DATA_PRESENT = 1,
3971-
NVME_EOM_PRINTABLE_EYE_PRESENT = 1 << 1,
3970+
NVME_EOM_PRINTABLE_EYE_PRESENT = 0x1 << 0,
3971+
NVME_EOM_EYE_DATA_PRESENT = 0x1 << 1,
39723972
};
39733973

39743974
/**

0 commit comments

Comments
 (0)