summaryrefslogtreecommitdiff
path: root/tools/testing/crypto
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2023-03-08 21:40:12 -0800
committerAlexei Starovoitov <ast@kernel.org>2023-03-10 08:14:07 -0800
commit2498e6231bfd44f8f85afbc838b37441551a4028 (patch)
tree5c82ffe818a242f906b6aa306c28c4b37091059b /tools/testing/crypto
parent63d78b7e8ca2d0eb8c687a355fa19d01b6fcc723 (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 'tools/testing/crypto')
0 files changed, 0 insertions, 0 deletions