Skip to content

Commit bfd2375

Browse files
committed
nvme-print-binary: add binary_mgmt_addr_list_log()
Since added the NVMe 2.1 log page. Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
1 parent ef23130 commit bfd2375

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

nvme-print-binary.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,11 @@ static void binary_effects_log_pages(struct list_head *list)
307307
}
308308
}
309309

310+
static void binary_mgmt_addr_list_log(struct nvme_mgmt_addr_list_log *ma_list)
311+
{
312+
d_raw((unsigned char *)ma_list, sizeof(*ma_list));
313+
}
314+
310315
static struct print_ops binary_print_ops = {
311316
/* libnvme types.h print functions */
312317
.ana_log = binary_ana_log,
@@ -373,6 +378,7 @@ static struct print_ops binary_print_ops = {
373378
.d = NULL,
374379
.show_init = NULL,
375380
.show_finish = NULL,
381+
.mgmt_addr_list_log = binary_mgmt_addr_list_log,
376382

377383
/* libnvme tree print functions */
378384
.list_item = NULL,

0 commit comments

Comments
 (0)