Skip to content

Commit

Permalink
nvme-print-binary: add binary_mgmt_addr_list_log()
Browse files Browse the repository at this point in the history
Since added the NVMe 2.1 log page.

Signed-off-by: Tokunori Ikegami <[email protected]>
  • Loading branch information
ikegami-t committed Jan 13, 2025
1 parent ef23130 commit bfd2375
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nvme-print-binary.c
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,11 @@ static void binary_effects_log_pages(struct list_head *list)
}
}

static void binary_mgmt_addr_list_log(struct nvme_mgmt_addr_list_log *ma_list)
{
d_raw((unsigned char *)ma_list, sizeof(*ma_list));
}

static struct print_ops binary_print_ops = {
/* libnvme types.h print functions */
.ana_log = binary_ana_log,
Expand Down Expand Up @@ -373,6 +378,7 @@ static struct print_ops binary_print_ops = {
.d = NULL,
.show_init = NULL,
.show_finish = NULL,
.mgmt_addr_list_log = binary_mgmt_addr_list_log,

/* libnvme tree print functions */
.list_item = NULL,
Expand Down

0 comments on commit bfd2375

Please sign in to comment.