diff options
author | Jean-Philippe Menil <jpmenil@gmail.com> | 2020-03-27 21:47:13 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-03-28 18:13:18 +0100 |
commit | e9ff9d52540a53ce8c9eff5bf8b66467fe81eb2b (patch) | |
tree | 4d1180ad9c48217810d79502e5563101c3c27530 /certs | |
parent | 291cfe365bd3d5002a9c49e9fca8f30136eebc28 (diff) |
bpf: Fix build warning regarding missing prototypes
Fix build warnings when building net/bpf/test_run.o with W=1 due
to missing prototype for bpf_fentry_test{1..6}.
Instead of declaring prototypes, turn off warnings with
__diag_{push,ignore,pop} as pointed out by Alexei.
Signed-off-by: Jean-Philippe Menil <jpmenil@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20200327204713.28050-1-jpmenil@gmail.com
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions