Task: Kselftests: LKMP Bug Fixing Spring 2024
Subsystems (2)
PATCH 3/3 Task: Kselftests: LKMP Bug Fixing Spring 2024
Changed zero length string to a blank to fix the zero-length gnu-printf format string warnings
Signed-off-by Abhinav Jain <[email protected]>
--- tools/testing/selftests/seccomp/seccomp_benchmark.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
tools/testing/selftests/seccomp/seccomp_benchmark.c +3 -3
@@ -162,14 +162,14 @@ int main(int argc, char *argv[])ksft_set_plan (7 );ksft_print_msg ("Running on:\n" ); -ksft_print_msg ("" ); +ksft_print_msg (" " );system ("uname -a" );ksft_print_msg ("Current BPF sysctl settings:\n" );/* Avoid using "sysctl" which may not be installed. */ -ksft_print_msg ("" ); +ksft_print_msg (" " );system ("grep -H . /proc/sys/net/core/bpf_jit_enable" ); -ksft_print_msg ("" ); +ksft_print_msg (" " );system ("grep -H . /proc/sys/net/core/bpf_jit_harden" );if (argc >1 )
Signature · 1 line
2.25.1