diff options
author | 2020-11-11 15:12:15 -0800 | |
---|---|---|
committer | 2020-11-12 09:13:49 -0800 | |
commit | fd63729cc0a6872bdabd393ee933a969642e4076 (patch) | |
tree | 6fda60c36d92c62a0c25a0e93c577b6f9ab80917 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bpf: Fix unsigned 'datasec_id' compared with zero in check_pseudo_btf_id (diff) | |
download | wireguard-linux-fd63729cc0a6872bdabd393ee933a969642e4076.tar.xz wireguard-linux-fd63729cc0a6872bdabd393ee933a969642e4076.zip |
selftests/bpf: Fix unused attribute usage in subprogs_unused test
Correct attribute name is "unused". maybe_unused is a C++17 addition.
This patch fixes compilation warning during selftests compilation.
Fixes: 197afc631413 ("libbpf: Don't attempt to load unused subprog as an entry-point BPF program")
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20201111231215.1779147-1-andrii@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions