diff options
| author | Amery Hung <ameryhung@gmail.com> | 2026-06-02 20:52:04 +0300 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-06-02 22:02:08 +0300 |
| commit | c169a2a5fd9cfdb2ae93cf6d86be4d2a5e3d813c (patch) | |
| tree | 905d29c23e590d549827d46d40d29a1d1ade192b /include/uapi/linux | |
| parent | 04de7bc1427255d920fae1ced6d4aeb5fdb2c6db (diff) | |
| download | linux-c169a2a5fd9cfdb2ae93cf6d86be4d2a5e3d813c.tar.xz | |
bpf: Silence unused-but-set-variable warning in bpf_for_each_reg_in_vstate_mask
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 <ameryhung@gmail.com>
Link: https://lore.kernel.org/r/20260602175204.624401-1-ameryhung@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
