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 /net/core | |
parent | libbpf, xsk: Init all ring members in xsk_umem__create and xsk_socket__create (diff) | |
download | linux-e9ff9d52540a53ce8c9eff5bf8b66467fe81eb2b.tar.xz linux-e9ff9d52540a53ce8c9eff5bf8b66467fe81eb2b.zip |
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 'net/core')
0 files changed, 0 insertions, 0 deletions