diff options
author | Jakub Sitnicki <jakub@cloudflare.com> | 2019-10-16 10:58:11 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-10-16 14:30:03 +0200 |
commit | 456a513bb5d494f169271b16334049d50c7e630b (patch) | |
tree | 7362eb620b49de91b4e160dedf8311251c7220fc /kernel/bpf | |
parent | selftests: bpf: Don't try to read files without read permission (diff) | |
download | linux-456a513bb5d494f169271b16334049d50c7e630b.tar.xz linux-456a513bb5d494f169271b16334049d50c7e630b.zip |
scripts/bpf: Emit an #error directive known types list needs updating
Make the compiler report a clear error when bpf_helpers_doc.py needs
updating rather than rely on the fact that Clang fails to compile
English:
../../../lib/bpf/bpf_helper_defs.h:2707:1: error: unknown type name 'Unrecognized'
Unrecognized type 'struct bpf_inet_lookup', please add it to known types!
Signed-off-by: Jakub Sitnicki <jakub@cloudflare.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20191016085811.11700-1-jakub@cloudflare.com
Diffstat (limited to 'kernel/bpf')
0 files changed, 0 insertions, 0 deletions