Home
last modified time | relevance | path

Searched hist:e9ff9d52540a53ce8c9eff5bf8b66467fe81eb2b (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/bpf/
H A Dtest_run.cdiff e9ff9d52540a53ce8c9eff5bf8b66467fe81eb2b Fri Mar 27 15:47:13 CDT 2020 Jean-Philippe Menil <jpmenil@gmail.com> 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