Message ID | 20211115130741.3584-1-alexandr.lobakin@intel.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 6e528ca494d436fb16c48b5000da6b5f3ca57062 |
Delegated to: | BPF |
Headers | show |
Series | [bpf] samples: bpf: fix build error due to -isystem removal | expand |
Context | Check | Description |
---|---|---|
netdev/tree_selection | success | Clearly marked for bpf |
netdev/fixes_present | success | Fixes tag present in non-next series |
netdev/subject_prefix | success | Link |
netdev/cover_letter | success | Single patches do not need cover letters |
netdev/patch_count | success | Link |
netdev/header_inline | success | No static functions without inline keyword in header files |
netdev/build_32bit | fail | Errors and warnings before: 13 this patch: 8 |
netdev/cc_maintainers | success | CCed 16 of 16 maintainers |
netdev/build_clang | success | Errors and warnings before: 0 this patch: 0 |
netdev/module_param | success | Was 0 now: 0 |
netdev/verify_signedoff | success | Signed-off-by tag matches author and committer |
netdev/verify_fixes | success | Fixes tag looks correct |
netdev/build_allmodconfig_warn | success | Errors and warnings before: 0 this patch: 0 |
netdev/checkpatch | success | total: 0 errors, 0 warnings, 0 checks, 8 lines checked |
netdev/kdoc | success | Errors and warnings before: 0 this patch: 0 |
netdev/source_inline | success | Was 0 now: 0 |
bpf/vmtest-bpf | fail | VM_Test |
bpf/vmtest-bpf-PR | fail | PR summary |
Hello: This patch was applied to bpf/bpf.git (master) by Daniel Borkmann <daniel@iogearbox.net>: On Mon, 15 Nov 2021 14:07:41 +0100 you wrote: > Since recent Kbuild updates we no longer include files from compiler > directories. However, samples/bpf/hbm_kern.h hasn't been tuned for > this (LLVM 13): > > CLANG-bpf samples/bpf/hbm_out_kern.o > In file included from samples/bpf/hbm_out_kern.c:55: > samples/bpf/hbm_kern.h:12:10: fatal error: 'stddef.h' file not found > ^~~~~~~~~~ > 1 error generated. > CLANG-bpf samples/bpf/hbm_edt_kern.o > In file included from samples/bpf/hbm_edt_kern.c:53: > samples/bpf/hbm_kern.h:12:10: fatal error: 'stddef.h' file not found > ^~~~~~~~~~ > 1 error generated. > > [...] Here is the summary with links: - [bpf] samples: bpf: fix build error due to -isystem removal https://git.kernel.org/bpf/bpf/c/6e528ca494d4 You are awesome, thank you!
diff --git a/samples/bpf/hbm_kern.h b/samples/bpf/hbm_kern.h index 722b3fadb467..1752a46a2b05 100644 --- a/samples/bpf/hbm_kern.h +++ b/samples/bpf/hbm_kern.h @@ -9,8 +9,6 @@ * Include file for sample Host Bandwidth Manager (HBM) BPF programs */ #define KBUILD_MODNAME "foo" -#include <stddef.h> -#include <stdbool.h> #include <uapi/linux/bpf.h> #include <uapi/linux/if_ether.h> #include <uapi/linux/if_packet.h>