@@ -544,6 +544,7 @@ static int get_smart_log(int argc, char **argv, struct command *cmd, struct plug
544
544
"(default) or binary." ;
545
545
546
546
_cleanup_free_ struct nvme_smart_log * smart_log = NULL ;
547
+
547
548
_cleanup_nvme_dev_ struct nvme_dev * dev = NULL ;
548
549
const char * namespace = "(optional) desired namespace" ;
549
550
enum nvme_print_flags flags ;
@@ -606,7 +607,7 @@ static int get_ana_log(int argc, char **argv, struct command *cmd,
606
607
"decoded format (default), json or binary." ;
607
608
const char * groups = "Return ANA groups only." ;
608
609
609
- _cleanup_nvme_dev_ struct nvme_dev * dev = NULL ;
610
+ _cleanup_nvme_dev_ struct nvme_dev * dev = NULL ;
610
611
_cleanup_free_ struct nvme_id_ctrl * ctrl = NULL ;
611
612
_cleanup_free_ void * ana_log = NULL ;
612
613
size_t ana_log_len ;
@@ -1494,6 +1495,7 @@ static int get_persistent_event_log(int argc, char **argv,
1494
1495
1495
1496
_cleanup_free_ struct nvme_persistent_event_log * pevent_collected = NULL ;
1496
1497
_cleanup_free_ struct nvme_persistent_event_log * pevent = NULL ;
1498
+
1497
1499
_cleanup_huge_ struct nvme_mem_huge mh = { 0 , };
1498
1500
_cleanup_nvme_dev_ struct nvme_dev * dev = NULL ;
1499
1501
enum nvme_print_flags flags ;
@@ -5637,6 +5639,7 @@ static int get_register(int argc, char **argv, struct command *cmd, struct plugi
5637
5639
int err ;
5638
5640
enum nvme_print_flags flags ;
5639
5641
bool fabrics = false;
5642
+
5640
5643
_cleanup_nvme_root_ nvme_root_t r = NULL ;
5641
5644
void * bar ;
5642
5645
@@ -5786,8 +5789,8 @@ static void set_register_value(void *bar, struct argconfig_commandline_options *
5786
5789
}
5787
5790
}
5788
5791
5789
- static int set_register_check (struct argconfig_commandline_options * opts , struct set_reg_config * cfg ,
5790
- int offset )
5792
+ static int set_register_check (struct argconfig_commandline_options * opts ,
5793
+ struct set_reg_config * cfg , int offset )
5791
5794
{
5792
5795
bool flag = false;
5793
5796
@@ -5973,6 +5976,7 @@ static int set_register(int argc, char **argv, struct command *cmd, struct plugi
5973
5976
5974
5977
_cleanup_nvme_dev_ struct nvme_dev * dev = NULL ;
5975
5978
int err ;
5979
+
5976
5980
_cleanup_nvme_root_ nvme_root_t r = NULL ;
5977
5981
void * bar ;
5978
5982
0 commit comments