Re: [PATCH bpf-next] libbpf: constify few bpf_program getters
From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-03-26 00:21:09
Also in:
bpf
From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-03-26 00:21:09
Also in:
bpf
Hello: This patch was applied to bpf/bpf-next.git (refs/heads/master): On Wed, 24 Mar 2021 10:29:41 -0700 you wrote:
bpf_program__get_type() and bpf_program__get_expected_attach_type() shouldn't modify given bpf_program, so mark input parameter as const struct bpf_program. This eliminates unnecessary compilation warnings or explicit casts in user programs. Signed-off-by: Andrii Nakryiko <andrii@kernel.org> [...]
Here is the summary with links:
- [bpf-next] libbpf: constify few bpf_program getters
https://git.kernel.org/bpf/bpf-next/c/a46410d5e497
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html