Skip to content

Commit

Permalink
nvme: Fix indentation in struct spdk_nvme_registers
Browse files Browse the repository at this point in the history
Change-Id: I56a43ab886ee91ca6e63dce06116ffb0b3317fe4
Signed-off-by: Ben Walker <[email protected]>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/417
Reviewed-by: Jim Harris <[email protected]>
Reviewed-by: Aleksey Marchuk <[email protected]>
Reviewed-by: Shuhei Matsumoto <[email protected]>
Tested-by: SPDK CI Jenkins <[email protected]>
  • Loading branch information
Ben Walker authored and tomzawadzki committed Feb 6, 2020
1 parent 8e3b0c1 commit f17e02a
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions include/spdk/nvme_spec.h
Original file line number Diff line number Diff line change
Expand Up @@ -315,26 +315,26 @@ struct spdk_nvme_registers {
union spdk_nvme_cap_register cap;

/** version of NVMe specification */
union spdk_nvme_vs_register vs;
uint32_t intms; /* interrupt mask set */
uint32_t intmc; /* interrupt mask clear */
union spdk_nvme_vs_register vs;
uint32_t intms; /* interrupt mask set */
uint32_t intmc; /* interrupt mask clear */

/** controller configuration */
union spdk_nvme_cc_register cc;

uint32_t reserved1;
union spdk_nvme_csts_register csts; /* controller status */
uint32_t nssr; /* NVM subsystem reset */
uint32_t reserved1;
union spdk_nvme_csts_register csts; /* controller status */
uint32_t nssr; /* NVM subsystem reset */

/** admin queue attributes */
union spdk_nvme_aqa_register aqa;

uint64_t asq; /* admin submission queue base addr */
uint64_t acq; /* admin completion queue base addr */
uint64_t asq; /* admin submission queue base addr */
uint64_t acq; /* admin completion queue base addr */
/** controller memory buffer location */
union spdk_nvme_cmbloc_register cmbloc;
/** controller memory buffer size */
union spdk_nvme_cmbsz_register cmbsz;
union spdk_nvme_cmbsz_register cmbsz;

/** boot partition information */
union spdk_nvme_bpinfo_register bpinfo;
Expand All @@ -345,7 +345,7 @@ struct spdk_nvme_registers {
/** boot partition memory buffer location (must be 4KB aligned) */
uint64_t bpmbl;

uint32_t reserved3[0x3ec];
uint32_t reserved3[0x3ec];

struct {
uint32_t sq_tdbl; /* submission queue tail doorbell */
Expand Down

0 comments on commit f17e02a

Please sign in to comment.