]> 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)
commit8c349d4a172f3e270669b776ddfb678d5fb15ced
treec2530dfa9ae5aab3fcfb84e959aaa2cbcb87ae7d
parentc935a7b8fb9134adb54d080ae8fd9350124576f3
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: cb1fff697234 ("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