projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
selftests/resctrl: Make benchmark command const and build it with pointers
[platform/kernel/linux-rpi.git]
/
tools
/
testing
/
selftests
/
resctrl
/
mbm_test.c
diff --git
a/tools/testing/selftests/resctrl/mbm_test.c
b/tools/testing/selftests/resctrl/mbm_test.c
index
445aea1
..
d3c0d30
100644
(file)
--- a/
tools/testing/selftests/resctrl/mbm_test.c
+++ b/
tools/testing/selftests/resctrl/mbm_test.c
@@
-109,7
+109,7
@@
void mbm_test_cleanup(void)
remove(RESULT_FILE_NAME);
}
-int mbm_bw_change(int cpu_no, c
har *
*benchmark_cmd)
+int mbm_bw_change(int cpu_no, c
onst char * const
*benchmark_cmd)
{
struct resctrl_val_param param = {
.resctrl_val = MBM_STR,