Re: [PATCH] [v5] bpf: fix bpf_probe_read_kernel prototype mismatch

From: patchwork-bot+netdevbpf
Date: Wed Aug 02 2023 - 17:21:32 EST


Hello:

This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:

On Tue, 1 Aug 2023 13:13:58 +0200 you wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> bpf_probe_read_kernel() has a __weak definition in core.c and another
> definition with an incompatible prototype in kernel/trace/bpf_trace.c,
> when CONFIG_BPF_EVENTS is enabled.
>
> Since the two are incompatible, there cannot be a shared declaration in
> a header file, but the lack of a prototype causes a W=1 warning:
>
> [...]

Here is the summary with links:
- [v5] bpf: fix bpf_probe_read_kernel prototype mismatch
https://git.kernel.org/bpf/bpf-next/c/6a5a148aaf14

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