diff options
| author | 2023-03-08 21:40:12 -0800 | |
|---|---|---|
| committer | 2023-03-10 08:14:07 -0800 | |
| commit | 2498e6231bfd44f8f85afbc838b37441551a4028 (patch) | |
| tree | 5c82ffe818a242f906b6aa306c28c4b37091059b /scripts/Makefile.thinlto | |
| parent | selftests/bpf: Workaround verification failure for fexit_bpf2bpf/func_replace_return_code (diff) | |
selftests/bpf: prevent unused variable warning in bpf_for()
Add __attribute__((unused)) to inner __p variable inside bpf_for(),
bpf_for_each(), and bpf_repeat() macros to avoid compiler warnings about
unused variable.
Reported-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20230309054015.4068562-2-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
