aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorMaciej Wieczor-Retman <[email protected]>2023-10-10 09:56:12 +0200
committerShuah Khan <[email protected]>2023-10-13 14:59:06 -0600
commit508934b5d15ab79fd5895cc2a6063bc9d95f6a55 (patch)
tree9a7c76128bed193f796ed1e78f2db44d4553e265 /lib/test_fortify/write_overflow-strncpy-src.c
parent20d96b25cc4c45823fbec5406ae5ae45da6a892e (diff)
selftests/resctrl: Move run_benchmark() to a more fitting file
resctrlfs.c contains mostly functions that interact in some way with resctrl FS entries while functions inside resctrl_val.c deal with measurements and benchmarking. run_benchmark() is located in resctrlfs.c even though it's purpose is not interacting with the resctrl FS but to execute cache checking logic. Move run_benchmark() to resctrl_val.c just before resctrl_val() that makes use of run_benchmark(). Make run_benchmark() static since it's not used between multiple files anymore. Remove return comment from kernel-doc since the function is type void. Signed-off-by: Maciej Wieczor-Retman <[email protected]> Reviewed-by: Ilpo Järvinen <[email protected]> Reviewed-by: Reinette Chatre <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions