@@ -59,7 +59,8 @@ struct print_ops {
5959 void (* fdp_usage_log )(struct nvme_fdp_ruhu_log * log , size_t len );
6060 void (* fid_supported_effects_log )(struct nvme_fid_supported_effects_log * fid_log , const char * devname );
6161 void (* fw_log )(struct nvme_firmware_slot * fw_log , const char * devname );
62- void (* id_ctrl )(struct nvme_id_ctrl * ctrl , void (* vs )(__u8 * vs , struct json_object * root ));
62+ void (* id_ctrl )(struct nvme_id_ctrl * ctrl , const char * product_name ,
63+ void (* vs )(__u8 * vs , struct json_object * root ));
6364 void (* id_ctrl_nvm )(struct nvme_id_ctrl_nvm * ctrl_nvm );
6465 void (* id_domain_list )(struct nvme_id_domain_list * id_dom );
6566 void (* id_independent_id_ns )(struct nvme_id_independent_id_ns * ns , unsigned int nsid );
@@ -183,8 +184,9 @@ void nvme_show_lba_status_info(__u64 result);
183184void nvme_show_relatives (struct libnvme_global_ctx * ctx , const char * name , nvme_print_flags_t flags );
184185
185186void nvme_show_id_iocs (struct nvme_id_iocs * iocs , nvme_print_flags_t flags );
186- void nvme_show_id_ctrl (struct nvme_id_ctrl * ctrl , nvme_print_flags_t flags ,
187- void (* vendor_show )(__u8 * vs , struct json_object * root ));
187+ void nvme_show_id_ctrl (struct nvme_id_ctrl * ctrl , const char * devname ,
188+ nvme_print_flags_t flags , void (* vendor_show )(__u8 * vs ,
189+ struct json_object * root ));
188190void nvme_show_id_ctrl_rpmbs (__le32 ctrl_rpmbs , nvme_print_flags_t flags );
189191void nvme_show_id_ns (struct nvme_id_ns * ns , unsigned int nsid ,
190192 unsigned int lba_index , bool cap_only , nvme_print_flags_t flags );
0 commit comments