Hello: This patch was applied to bpf/bpf.git (refs/heads/master): On Tue, 23 Feb 2021 12:22:11 +0400 you wrote: > Add an explicit 'const void *' cast to pass program ctx pointer type into > a global function that expects pointer to structure. > > warning: incompatible pointer types > passing 'struct __sk_buff *' to parameter of type 'const struct S *' > [-Wincompatible-pointer-types] > return foo(skb); > ^~~ > progs/test_global_func11.c:10:36: note: passing argument to parameter 's' here > __noinline int foo(const struct S *s) > ^ > > [...] Here is the summary with links: - selftests/bpf: Fix a compiler warning in global func test https://git.kernel.org/bpf/bpf/c/c41d81bfbb45 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html