File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tools/testing/selftests/bpf/prog_tests Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -385,7 +385,7 @@ static void test_distilled_base_missing_err(void)
385
385
"[2] INT 'int' size=8 bits_offset=0 nr_bits=64 encoding=SIGNED" );
386
386
btf5 = btf__new_empty ();
387
387
if (!ASSERT_OK_PTR (btf5 , "empty_reloc_btf" ))
388
- return ;
388
+ goto cleanup ;
389
389
btf__add_int (btf5 , "int" , 4 , BTF_INT_SIGNED ); /* [1] int */
390
390
VALIDATE_RAW_BTF (
391
391
btf5 ,
@@ -478,7 +478,7 @@ static void test_distilled_base_multi_err2(void)
478
478
"[1] INT 'int' size=4 bits_offset=0 nr_bits=32 encoding=SIGNED" );
479
479
btf5 = btf__new_empty ();
480
480
if (!ASSERT_OK_PTR (btf5 , "empty_reloc_btf" ))
481
- return ;
481
+ goto cleanup ;
482
482
btf__add_int (btf5 , "int" , 4 , BTF_INT_SIGNED ); /* [1] int */
483
483
btf__add_int (btf5 , "int" , 4 , BTF_INT_SIGNED ); /* [2] int */
484
484
VALIDATE_RAW_BTF (
You can’t perform that action at this time.
0 commit comments