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 u
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
---
tools/lib/bpf/libbp