diff options
| author | Jean-Philippe Menil <[email protected]> | 2020-03-27 20:47:13 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2020-03-28 17:13:18 +0000 |
| commit | e9ff9d52540a53ce8c9eff5bf8b66467fe81eb2b (patch) | |
| tree | 4d1180ad9c48217810d79502e5563101c3c27530 /tools/lib/bpf/netlink.c | |
| parent | libbpf, xsk: Init all ring members in xsk_umem__create and xsk_socket__create (diff) | |
| download | kernel-e9ff9d52540a53ce8c9eff5bf8b66467fe81eb2b.tar.gz kernel-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 <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/netlink.c')
0 files changed, 0 insertions, 0 deletions
