aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorIlpo Järvinen <[email protected]>2024-06-10 18:14:54 +0300
committerShuah Khan <[email protected]>2024-07-11 11:23:54 -0600
commitd14d94da0e3f1d7e598f88204cf37ee41a06f900 (patch)
tree444f97389680738bed2994961fdbd86e89754b82 /tools/testing/selftests/bpf/prog_tests/autoload.c
parent909592b5dafa3680994b1d5144b6d5781eb49ab8 (diff)
selftests/resctrl: Convert ctrlgrp & mongrp to pointers
The struct resctrl_val_param has control and monitor groups as char arrays but they are not supposed to be mutated within resctrl_val(). Convert the ctrlgrp and mongrp char array within resctrl_val_param to plain const char pointers and adjust the strlen() based checks to check NULL instead. Signed-off-by: Ilpo Järvinen <[email protected]> Tested-by: Babu Moger <[email protected]> Reviewed-by: Reinette Chatre <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions