diff options
| author | John Hubbard <[email protected]> | 2024-05-05 23:00:54 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2024-05-06 21:39:36 +0000 |
| commit | 41b307ad756e1b7b618bf9d9c1cce3595705ede4 (patch) | |
| tree | a41194186c6f374dc9093246364c1b0ed031553d /tools/lib/bpf/str_error.c | |
| parent | selftests/bpf: Fix pointer arithmetic in test_xdp_do_redirect (diff) | |
| download | kernel-41b307ad756e1b7b618bf9d9c1cce3595705ede4.tar.gz kernel-41b307ad756e1b7b618bf9d9c1cce3595705ede4.zip | |
bpftool, selftests/hid/bpf: Fix 29 clang warnings
When building either tools/bpf/bpftool, or tools/testing/selftests/hid,
(the same Makefile is used for these), clang generates many instances of
the following:
"clang: warning: -lLLVM-17: 'linker' input unused"
Quentin points out that the LLVM version is only required in $(LIBS),
not in $(CFLAGS), so the fix is to remove it from CFLAGS.
Suggested-by: Quentin Monnet <[email protected]>
Signed-off-by: John Hubbard <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Quentin Monnet <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/str_error.c')
0 files changed, 0 insertions, 0 deletions
