Re: [PATCH v4] bpf: fix build warning - missing prototype

From: Daniel Borkmann
Date: Sat Mar 28 2020 - 13:16:00 EST


On 3/27/20 9:47 PM, Jean-Philippe Menil wrote:
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 by Alexei.

Signed-off-by: Jean-Philippe Menil <jpmenil@xxxxxxxxx>

Applied, thanks!