From: patchwork-bot+netdevbpf@kernel.org
To: Rong Tao <rtoax@foxmail.com>
Cc: ast@kernel.org, rongtao@cestc.cn, daniel@iogearbox.net,
andrii@kernel.org, martin.lau@linux.dev, song@kernel.org,
yhs@fb.com, john.fastabend@gmail.com, kpsingh@kernel.org,
sdf@google.com, haoluo@google.com, jolsa@kernel.org,
mykolal@fb.com, shuah@kernel.org, bpf@vger.kernel.org,
linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH bpf-next v2] selftests/bpf: Fix compilation errors: assign a value to a constant
Date: Mon, 27 Feb 2023 19:50:17 +0000 [thread overview]
Message-ID: <167752741762.17622.17095700621282527889.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <tencent_CB281722B3C1BD504C16CDE586CACC2BE706@qq.com>
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@kernel.org>:
On Fri, 24 Feb 2023 23:10:02 +0800 you wrote:
> From: Rong Tao <rongtao@cestc.cn>
>
> 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
prev parent reply other threads:[~2023-02-27 19:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-24 15:10 [PATCH bpf-next v2] selftests/bpf: Fix compilation errors: assign a value to a constant Rong Tao
2023-02-27 19:50 ` patchwork-bot+netdevbpf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=167752741762.17622.17095700621282527889.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=andrii@kernel.org \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=haoluo@google.com \
--cc=john.fastabend@gmail.com \
--cc=jolsa@kernel.org \
--cc=kpsingh@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=martin.lau@linux.dev \
--cc=mykolal@fb.com \
--cc=rongtao@cestc.cn \
--cc=rtoax@foxmail.com \
--cc=sdf@google.com \
--cc=shuah@kernel.org \
--cc=song@kernel.org \
--cc=yhs@fb.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox