Hello:

This patch was applied to bpf/bpf-next.git (net)
by Martin KaFai Lau <martin....@kernel.org>:

On Mon, 28 Apr 2025 11:34:45 +0800 you wrote:
> From: Feng Yang <yangf...@kylinos.cn>
> 
> If the CONFIG_NET_SCH_BPF configuration is not enabled,
> the BPF test compilation will report the following error:
> In file included from progs/bpf_qdisc_fq.c:39:
> progs/bpf_qdisc_common.h:17:51: error: declaration of 'struct 
> bpf_sk_buff_ptr' will not be visible outside of this function 
> [-Werror,-Wvisibility]
>    17 | void bpf_qdisc_skb_drop(struct sk_buff *p, struct bpf_sk_buff_ptr 
> *to_free) __ksym;
>       |                                                   ^
> progs/bpf_qdisc_fq.c:309:14: error: declaration of 'struct bpf_sk_buff_ptr' 
> will not be visible outside of this function [-Werror,-Wvisibility]
>   309 |              struct bpf_sk_buff_ptr *to_free)
>       |                     ^
> progs/bpf_qdisc_fq.c:309:14: error: declaration of 'struct bpf_sk_buff_ptr' 
> will not be visible outside of this function [-Werror,-Wvisibility]
> progs/bpf_qdisc_fq.c:308:5: error: conflicting types for '____bpf_fq_enqueue'
> 
> [...]

Here is the summary with links:
  - [bpf-next] selftests/bpf: Fix compilation errors
    https://git.kernel.org/bpf/bpf-next/c/1ce65102d2d3

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



Reply via email to