diff options
| author | Yonghong Song <yhs@fb.com> | 2023-05-16 21:04:09 -0700 |
|---|---|---|
| committer | Daniel Borkmann <daniel@iogearbox.net> | 2023-05-17 16:54:50 +0200 |
| commit | effcf62416240e5ec0eded0ea2644c48d2c7c9f1 (patch) | |
| tree | 89c637fa328c7556b3b025c9f14c5fb301e60c79 /tools/testing/selftests/bpf/prog_tests/recursion.c | |
| parent | 12852f8e0f70d9a5263e2834c5483268b08b5e9c (diff) | |
selftests/bpf: Make bpf_dynptr_is_rdonly() prototyype consistent with kernel
Currently kernel kfunc bpf_dynptr_is_rdonly() has prototype ...
__bpf_kfunc bool bpf_dynptr_is_rdonly(struct bpf_dynptr_kern *ptr)
... while selftests bpf_kfuncs.h has:
extern int bpf_dynptr_is_rdonly(const struct bpf_dynptr *ptr) __ksym;
Such a mismatch might cause problems although currently it is okay in
selftests. Fix it to prevent future potential surprise.
Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20230517040409.4024618-1-yhs@fb.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/recursion.c')
0 files changed, 0 insertions, 0 deletions
