OSDN Git Service

selftests/bpf: make BPF compiler flags stricter
authorAndrii Nakryiko <andrii@kernel.org>
Thu, 9 Mar 2023 05:40:15 +0000 (21:40 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 10 Mar 2023 16:14:08 +0000 (08:14 -0800)
commit3d5a55ddc25508fe950991603d0224c0bba60558
tree527cacf0d5476976b4b24128006a6dc7d10688a0
parentc8ed66859397237c649998c58a68a86b8ea5f417
selftests/bpf: make BPF compiler flags stricter

We recently added -Wuninitialized, but it's not enough to catch various
silly mistakes or omissions. Let's go all the way to -Wall, just like we
do for user-space code.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20230309054015.4068562-5-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/Makefile