Re: [PATCH bpf-next v2] selftests/bpf: Fix compilation errors: assign a value to a constant

From: patchwork-bot+netdevbpf
Date: Mon Feb 27 2023 - 14:50:25 EST


Hello:

This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@xxxxxxxxxx>:

On Fri, 24 Feb 2023 23:10:02 +0800 you wrote:
> From: Rong Tao <rongtao@xxxxxxxx>
>
> commit bc292ab00f6c("mm: introduce vma->vm_flags wrapper functions")
> turns the vm_flags into a const variable.
>
> Added bpf_find_vma test in commit f108662b27c9("selftests/bpf: Add tests
> for bpf_find_vma") to assign values to variables that declare const in
> find_vma_fail1.c programs, which is an error to the compiler and does not
> test BPF verifiers. It is better to replace 'const vm_flags_t vm_flags'
> with 'unsigned long vm_start' for testing.
>
> [...]

Here is the summary with links:
- [bpf-next,v2] selftests/bpf: Fix compilation errors: assign a value to a constant
https://git.kernel.org/bpf/bpf-next/c/11e456cae91e

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