Skip to content

Commit

Permalink
nvme-print-json: print controller register values in offset order
Browse files Browse the repository at this point in the history
Print the Controller Register valuse in order based on the offset.

Signed-off-by: Francis Pravin <[email protected]>
  • Loading branch information
francispravin5 authored and igaw committed Sep 30, 2024
1 parent b090be5 commit 803fba7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nvme-print-json.c
Original file line number Diff line number Diff line change
Expand Up @@ -2812,8 +2812,6 @@ static void json_ctrl_registers(void *bar, bool fabrics)
json_ctrl_registers_cc(bar, r);
json_ctrl_registers_csts(bar, r);
json_ctrl_registers_nssr(bar, r);
json_ctrl_registers_nssd(bar, r);
json_ctrl_registers_crto(bar, r);
json_ctrl_registers_aqa(bar, r);
json_ctrl_registers_asq(bar, r);
json_ctrl_registers_acq(bar, r);
Expand All @@ -2826,6 +2824,8 @@ static void json_ctrl_registers(void *bar, bool fabrics)
json_ctrl_registers_cmbsts(bar, r);
json_ctrl_registers_cmbebs(bar, r);
json_ctrl_registers_cmbswtp(bar, r);
json_ctrl_registers_nssd(bar, r);
json_ctrl_registers_crto(bar, r);
json_ctrl_registers_pmrcap(bar, r);
json_ctrl_registers_pmrctl(bar, r);
json_ctrl_registers_pmrsts(bar, r);
Expand Down

0 comments on commit 803fba7

Please sign in to comment.