@@ -85,7 +85,8 @@ struct print_ops {
8585 void (* zns_id_ctrl )(struct nvme_zns_id_ctrl * ctrl );
8686 void (* zns_id_ns )(struct nvme_zns_id_ns * ns , struct nvme_id_ns * id_ns );
8787 void (* zns_report_zones )(void * report , __u32 descs , __u8 ext_size , __u32 report_size , struct json_object * zone_list );
88- void (* show_feature )(enum nvme_features_id fid , int sel , unsigned int result );
88+ void (* show_feature )(enum nvme_features_id fid , int sel ,
89+ unsigned int result , void * buf , __u32 data_len );
8990 void (* show_feature_fields )(enum nvme_features_id fid , unsigned int result , unsigned char * buf );
9091 void (* id_ctrl_rpmbs )(__le32 ctrl_rpmbs );
9192 void (* lba_range )(struct nvme_lba_range_type * lbrt , int nr_ranges );
@@ -263,7 +264,8 @@ void nvme_show_topology(struct libnvme_global_ctx *ctx,
263264 nvme_print_flags_t flags );
264265void nvme_show_topology_tabular (struct libnvme_global_ctx * ctx , nvme_print_flags_t flags );
265266
266- void nvme_feature_show (enum nvme_features_id fid , int sel , unsigned int result );
267+ void nvme_show_feature (enum nvme_features_id fid , int sel , unsigned int result ,
268+ void * buf , __u32 data_len , nvme_print_flags_t flags );
267269void nvme_feature_show_fields (enum nvme_features_id fid , unsigned int result , unsigned char * buf );
268270void nvme_directive_show (__u8 type , __u8 oper , __u16 spec , __u32 nsid , __u64 result ,
269271 void * buf , __u32 len , nvme_print_flags_t flags );
0 commit comments