File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tools/testing/selftests/cgroup Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -257,7 +257,7 @@ static int test_no_invasive_cgroup_shrink(const char *root)
257
257
{
258
258
int ret = KSFT_FAIL ;
259
259
size_t control_allocation_size = MB (10 );
260
- char * control_allocation , * wb_group = NULL , * control_group = NULL ;
260
+ char * control_allocation = NULL , * wb_group = NULL , * control_group = NULL ;
261
261
262
262
wb_group = setup_test_group_1M (root , "per_memcg_wb_test1" );
263
263
if (!wb_group )
@@ -342,7 +342,7 @@ static int test_no_kmem_bypass(const char *root)
342
342
struct sysinfo sys_info ;
343
343
int ret = KSFT_FAIL ;
344
344
int child_status ;
345
- char * test_group ;
345
+ char * test_group = NULL ;
346
346
pid_t child_pid ;
347
347
348
348
/* Read sys info and compute test values accordingly */
You can’t perform that action at this time.
0 commit comments