Hello:
This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov [off-list ref]:
On Tue, 2 Jun 2026 10:52:04 -0700 you wrote:
The macro requires callers to pass a stack variable, but not all
callbacks use it. Add (void)__stack to suppress the clang W=1 warning.
Signed-off-by: Amery Hung <redacted>
---
include/linux/bpf_verifier.h | 1 +
1 file changed, 1 insertion(+)
Here is the summary with links:
- [bpf-next,1/1] bpf: Silence unused-but-set-variable warning in bpf_for_each_reg_in_vstate_mask
https://git.kernel.org/bpf/bpf-next/c/c169a2a5fd9c
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html