diff options
| author | Kumar Kartikeya Dwivedi <memxor@gmail.com> | 2022-11-18 04:56:09 +0300 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2022-11-18 06:22:14 +0300 |
| commit | 64069c72b4b8e44f6876249cc8f2e2ee4d209a93 (patch) | |
| tree | f91299450a71edf9e67b52bc3090e7e8ef5473e5 /include/linux | |
| parent | c22dfdd21592c5d56b49d5fba8de300ad7bf293c (diff) | |
| download | linux-64069c72b4b8e44f6876249cc8f2e2ee4d209a93.tar.xz | |
selftests/bpf: Add __contains macro to bpf_experimental.h
Add user facing __contains macro which provides a convenient wrapper
over the verbose kernel specific BTF declaration tag required to
annotate BPF list head structs in user types.
Acked-by: Dave Marchevsky <davemarchevsky@fb.com>
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Link: https://lore.kernel.org/r/20221118015614.2013203-20-memxor@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
