aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorJakub Sitnicki <[email protected]>2019-10-20 13:23:44 +0200
committerAlexei Starovoitov <[email protected]>2019-10-20 18:21:21 -0700
commitab81e203bc0d4a4542bca2498535f8761a3cfd92 (patch)
tree026ff65fd5b453ef4e73a4281671ac45ae1d0da1 /lib/test_overflow.c
parent54b8625cd940b6baace0bd9b1cf26b2de68ba307 (diff)
scripts/bpf: Print an error when known types list needs updating
Don't generate a broken bpf_helper_defs.h header if the helper script needs updating because it doesn't recognize a newly added type. Instead print an error that explains why the build is failing, clean up the partially generated header and stop. v1->v2: - Switched from temporary file to .DELETE_ON_ERROR. Fixes: 456a513bb5d4 ("scripts/bpf: Emit an #error directive known types list needs updating") Suggested-by: Andrii Nakryiko <[email protected]> Signed-off-by: Jakub Sitnicki <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Yonghong Song <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions