Skip to content

Commit

Permalink
types: fix enum nvme_psd definitions indentation errors
Browse files Browse the repository at this point in the history
Delete spaces before the definitions.

Signed-off-by: Tokunori Ikegami <[email protected]>
  • Loading branch information
ikegami-t committed Jan 12, 2025
1 parent d45e9a1 commit 4099b58
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/nvme/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -1050,8 +1050,8 @@ enum nvme_flbas {
* does not process I/O commands in this power state.
*/
enum nvme_psd_flags {
NVME_PSD_FLAGS_MXPS = 1 << 0,
NVME_PSD_FLAGS_NOPS = 1 << 1,
NVME_PSD_FLAGS_MXPS = 1 << 0,
NVME_PSD_FLAGS_NOPS = 1 << 1,
};

/**
Expand All @@ -1063,9 +1063,9 @@ enum nvme_psd_flags {
* @NVME_PSD_PS_10_MILLI_WATT: 0.01 watt scale
*/
enum nvme_psd_ps {
NVME_PSD_PS_NOT_REPORTED = 0,
NVME_PSD_PS_100_MICRO_WATT = 1,
NVME_PSD_PS_10_MILLI_WATT = 2,
NVME_PSD_PS_NOT_REPORTED = 0,
NVME_PSD_PS_100_MICRO_WATT = 1,
NVME_PSD_PS_10_MILLI_WATT = 2,
};

/**
Expand Down Expand Up @@ -1100,9 +1100,9 @@ static inline unsigned int nvme_psd_power_scale(__u8 ps)
* times during the workload.
*/
enum nvme_psd_workload {
NVME_PSD_WORKLOAD_NP = 0,
NVME_PSD_WORKLOAD_1 = 1,
NVME_PSD_WORKLOAD_2 = 2,
NVME_PSD_WORKLOAD_NP = 0,
NVME_PSD_WORKLOAD_1 = 1,
NVME_PSD_WORKLOAD_2 = 2,
};

/**
Expand Down

0 comments on commit 4099b58

Please sign in to comment.