diff options
author | Alexei Starovoitov <ast@kernel.org> | 2021-03-18 04:48:05 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-03-18 04:48:05 +0300 |
commit | 6b28276512fdfc010e25c833973328e51a56eafb (patch) | |
tree | 589d69ed389703a6940e66dbe1ed61a3811f3407 /drivers/net/nlmon.c | |
parent | 97a19caf1b1f6a9d4f620a9d51405a1973bd4641 (diff) | |
parent | c53a3355eb2976fc4eb4d42862db0eea205045a1 (diff) | |
download | linux-6b28276512fdfc010e25c833973328e51a56eafb.tar.xz |
Merge branch 'Provide NULL and KERNEL_VERSION macros in bpf_helpers.h'
Andrii Nakryiko says:
====================
Provide NULL and KERNEL_VERSION macros in bpf_helpers.h. Patch #2 removes such
custom NULL definition from one of the selftests.
v2->v3:
- instead of vmlinux.h, do this in bpf_helpers.h;
- added KERNEL_VERSION, which comes up periodically as well;
- I dropped strict compilation patches for now, because we run into new
warnings (e.g., not checking read() result) in kernel-patches CI, which
I can't even reproduce locally. Also -Wdiscarded-qualifiers pragma for
jit_disasm.c is not supported by Clang, it needs to be
-Wincompatible-pointer-types-discards-qualifiers for Clang; we don't have
to deal with that in this patch set;
v1->v2:
- fix few typos and wrong copy/paste;
- fix #pragma push -> pop.
====================
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'drivers/net/nlmon.c')
0 files changed, 0 insertions, 0 deletions