]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: minor fix to selftest test_stacktrace_build_id()
authorSong Liu <songliubraving@fb.com>
Tue, 1 May 2018 17:20:24 +0000 (10:20 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 1 May 2018 22:18:06 +0000 (00:18 +0200)
commit72178cae219ab3c9d7db3815f2ff97a0875f8878
treec2530dfa9ae5aab3fcfb84e959aaa2cbcb87ae7d
parentec29e5e5005d428eb99b00fbe76f0a8c0c8c2323
bpf: minor fix to selftest test_stacktrace_build_id()

1. remove useless parameter list to ./urandom_read
2. add missing "\n" to the end of an error message

Fixes: 57748a0aec9c ("bpf: add selftest for stackmap with BPF_F_STACK_BUILD_ID")
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/test_progs.c