Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

selftests/bpf: Add a missing newline to the "bad arch spec" message

Fix error messages like this one:

parse_test_spec:FAIL:569 bad arch spec: 's390x'process_subtest:FAIL:1153 Can't parse test spec for program 'may_goto_simple'

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Link: https://lore.kernel.org/r/20250821113339.292434-3-iii@linux.ibm.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>

authored by

Ilya Leoshkevich and committed by
Alexei Starovoitov
b68dfcc1 b8efa810

+1 -1
+1 -1
tools/testing/selftests/bpf/test_loader.c
··· 566 566 } else if (strcmp(val, "RISCV64") == 0) { 567 567 arch = ARCH_RISCV64; 568 568 } else { 569 - PRINT_FAIL("bad arch spec: '%s'", val); 569 + PRINT_FAIL("bad arch spec: '%s'\n", val); 570 570 err = -EINVAL; 571 571 goto cleanup; 572 572 }