selftests/resctrl: Make benchmark command const and build it with pointers
[platform/kernel/linux-rpi.git] / tools / testing / selftests / resctrl / mbm_test.c
index 445aea1..d3c0d30 100644 (file)
@@ -109,7 +109,7 @@ void mbm_test_cleanup(void)
        remove(RESULT_FILE_NAME);
 }
 
-int mbm_bw_change(int cpu_no, char **benchmark_cmd)
+int mbm_bw_change(int cpu_no, const char * const *benchmark_cmd)
 {
        struct resctrl_val_param param = {
                .resctrl_val    = MBM_STR,