diff options
author | 2024-06-10 18:14:54 +0300 | |
---|---|---|
committer | 2024-07-11 11:23:54 -0600 | |
commit | d14d94da0e3f1d7e598f88204cf37ee41a06f900 (patch) | |
tree | 444f97389680738bed2994961fdbd86e89754b82 /scripts/generate_rust_analyzer.py | |
parent | selftests/resctrl: Make some strings passed to resctrlfs functions const (diff) | |
download | linux-rng-d14d94da0e3f1d7e598f88204cf37ee41a06f900.tar.xz linux-rng-d14d94da0e3f1d7e598f88204cf37ee41a06f900.zip |
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 <ilpo.jarvinen@linux.intel.com>
Tested-by: Babu Moger <babu.moger@amd.com>
Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions