Hello:
This patch was applied to bpf/bpf-next.git (master) by Alexei Starovoitov ast@kernel.org:
On Tue, 1 Aug 2023 13:13:58 +0200 you wrote:
From: Arnd Bergmann arnd@arndb.de
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!