@@ -139,7 +139,7 @@ static int feat_power_mgmt(int argc, char **argv, struct command *acmd, struct p
139139 const char * wh = "workload hint" ;
140140 const __u8 fid = NVME_FEAT_FID_POWER_MGMT ;
141141
142- _cleanup_nvme_global_ctx_ struct libnvme_global_ctx * ctx = NULL ;
142+ __cleanup_nvme_global_ctx struct libnvme_global_ctx * ctx = NULL ;
143143 _cleanup_nvme_transport_handle_ struct libnvme_transport_handle * hdl = NULL ;
144144 int err ;
145145
@@ -234,7 +234,7 @@ static int feat_perfc(int argc, char **argv, struct command *acmd, struct plugin
234234 const char * attrl = "attribute length" ;
235235 const char * vs_data = "vendor specific data" ;
236236
237- _cleanup_nvme_global_ctx_ struct libnvme_global_ctx * ctx = NULL ;
237+ __cleanup_nvme_global_ctx struct libnvme_global_ctx * ctx = NULL ;
238238 _cleanup_nvme_transport_handle_ struct libnvme_transport_handle * hdl = NULL ;
239239 int err ;
240240 __u8 fid = NVME_FEAT_FID_PERF_CHARACTERISTICS ;
@@ -298,7 +298,7 @@ static int feat_hctm(int argc, char **argv, struct command *acmd, struct plugin
298298{
299299 const __u8 fid = NVME_FEAT_FID_HCTM ;
300300
301- _cleanup_nvme_global_ctx_ struct libnvme_global_ctx * ctx = NULL ;
301+ __cleanup_nvme_global_ctx struct libnvme_global_ctx * ctx = NULL ;
302302 _cleanup_nvme_transport_handle_ struct libnvme_transport_handle * hdl = NULL ;
303303 int err ;
304304
@@ -361,7 +361,7 @@ static int feat_timestamp(int argc, char **argv, struct command *acmd, struct pl
361361 const __u8 fid = NVME_FEAT_FID_TIMESTAMP ;
362362 const char * tstmp = "timestamp" ;
363363
364- _cleanup_nvme_global_ctx_ struct libnvme_global_ctx * ctx = NULL ;
364+ __cleanup_nvme_global_ctx struct libnvme_global_ctx * ctx = NULL ;
365365 _cleanup_nvme_transport_handle_ struct libnvme_transport_handle * hdl = NULL ;
366366 int err ;
367367
@@ -445,7 +445,7 @@ static int feat_temp_thresh(int argc, char **argv, struct command *acmd, struct
445445 const char * thsel = "threshold type select" ;
446446 const char * tmpthh = "temperature threshold hysteresis" ;
447447
448- _cleanup_nvme_global_ctx_ struct libnvme_global_ctx * ctx = NULL ;
448+ __cleanup_nvme_global_ctx struct libnvme_global_ctx * ctx = NULL ;
449449 _cleanup_nvme_transport_handle_ struct libnvme_transport_handle * hdl = NULL ;
450450 int err ;
451451
@@ -533,7 +533,7 @@ static int feat_arbitration(int argc, char **argv, struct command *acmd, struct
533533 const char * mpw = "medium priority weight" ;
534534 const char * hpw = "high priority weight" ;
535535
536- _cleanup_nvme_global_ctx_ struct libnvme_global_ctx * ctx = NULL ;
536+ __cleanup_nvme_global_ctx struct libnvme_global_ctx * ctx = NULL ;
537537 _cleanup_nvme_transport_handle_ struct libnvme_transport_handle * hdl = NULL ;
538538 int err ;
539539
@@ -585,7 +585,7 @@ static int feat_volatile_wc(int argc, char **argv, struct command *acmd, struct
585585 const __u8 fid = NVME_FEAT_FID_VOLATILE_WC ;
586586 const char * wce = "volatile write cache enable" ;
587587
588- _cleanup_nvme_global_ctx_ struct libnvme_global_ctx * ctx = NULL ;
588+ __cleanup_nvme_global_ctx struct libnvme_global_ctx * ctx = NULL ;
589589 _cleanup_nvme_transport_handle_ struct libnvme_transport_handle * hdl = NULL ;
590590 int err ;
591591
@@ -644,7 +644,7 @@ static int feat_power_limit(int argc, char **argv, struct command *acmd,
644644 const char * pls = "power limit scale" ;
645645 const __u8 fid = NVME_FEAT_FID_POWER_LIMIT ;
646646
647- _cleanup_nvme_global_ctx_ struct libnvme_global_ctx * ctx = NULL ;
647+ __cleanup_nvme_global_ctx struct libnvme_global_ctx * ctx = NULL ;
648648
649649 _cleanup_nvme_transport_handle_ struct libnvme_transport_handle * hdl =
650650 NULL ;
@@ -716,7 +716,7 @@ static int feat_power_thresh(int argc, char **argv, struct command *acmd,
716716 const char * ept = "enable power threshold" ;
717717 const __u8 fid = NVME_FEAT_FID_POWER_THRESH ;
718718
719- _cleanup_nvme_global_ctx_ struct libnvme_global_ctx * ctx = NULL ;
719+ __cleanup_nvme_global_ctx struct libnvme_global_ctx * ctx = NULL ;
720720
721721 _cleanup_nvme_transport_handle_ struct libnvme_transport_handle * hdl =
722722 NULL ;
@@ -793,7 +793,7 @@ static int feat_power_meas(int argc, char **argv, struct command *cmd,
793793 const char * smt = "stop measurement time" ;
794794 const __u8 fid = NVME_FEAT_FID_POWER_MEASUREMENT ;
795795
796- _cleanup_nvme_global_ctx_ struct libnvme_global_ctx * ctx = NULL ;
796+ __cleanup_nvme_global_ctx struct libnvme_global_ctx * ctx = NULL ;
797797
798798 _cleanup_nvme_transport_handle_ struct libnvme_transport_handle * hdl =
799799 NULL ;
@@ -862,7 +862,7 @@ static int feat_err_recovery(int argc, char **argv, struct command *acmd,
862862{
863863 _cleanup_nvme_transport_handle_ struct libnvme_transport_handle * hdl =
864864 NULL ;
865- _cleanup_nvme_global_ctx_ struct libnvme_global_ctx * ctx = NULL ;
865+ __cleanup_nvme_global_ctx struct libnvme_global_ctx * ctx = NULL ;
866866
867867 const char * dulbe =
868868 "deallocated or unwritten logical block error enable" ;
@@ -947,7 +947,7 @@ static int feat_num_queues(int argc, char **argv, struct command *acmd,
947947{
948948 _cleanup_nvme_transport_handle_ struct libnvme_transport_handle * hdl =
949949 NULL ;
950- _cleanup_nvme_global_ctx_ struct libnvme_global_ctx * ctx = NULL ;
950+ __cleanup_nvme_global_ctx struct libnvme_global_ctx * ctx = NULL ;
951951
952952 const char * ncqr = "number of I/O completion queues requested" ;
953953 const char * nsqr = "number of I/O submission queues requested" ;
0 commit comments