Re: [PATCH bpf-next] bpf: Don't use idx variable when registering kfunc dtors

From: patchwork-bot+netdevbpf
Date: Wed Nov 23 2022 - 15:01:27 EST


Hello:

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

On Wed, 23 Nov 2022 07:52:53 -0600 you wrote:
> In commit fda01efc6160 ("bpf: Enable cgroups to be used as kptrs"), I
> added an 'int idx' variable to kfunc_init() which was meant to
> dynamically set the index of the btf id entries of the
> 'generic_dtor_ids' array. This was done to make the code slightly less
> brittle as the struct cgroup * kptr kfuncs such as bpf_cgroup_aquire()
> are compiled out if CONFIG_CGROUPS is not defined. This, however, causes
> an lkp build warning:
>
> [...]

Here is the summary with links:
- [bpf-next] bpf: Don't use idx variable when registering kfunc dtors
https://git.kernel.org/bpf/bpf-next/c/2fcc6081a7bf

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