diff options
| author | Andrii Nakryiko <andrii@kernel.org> | 2022-01-19 22:05:26 -0800 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2022-01-20 21:19:05 -0800 |
| commit | 32b3429479ea9a1259bbca8b3b3db5b9b8eb3293 (patch) | |
| tree | b560186ed291a9c1f0f3e16642d11dc98b4cf52e /tools/lib/bpf/bpf_helpers.h | |
| parent | selftests/bpf: Do not fail build if CONFIG_NF_CONNTRACK=m/n (diff) | |
| download | linux-32b3429479ea9a1259bbca8b3b3db5b9b8eb3293.tar.gz linux-32b3429479ea9a1259bbca8b3b3db5b9b8eb3293.zip | |
selftests/bpf: fail build on compilation warning
It's very easy to miss compilation warnings without -Werror, which is
not set for selftests. libbpf and bpftool are already strict about this,
so make selftests/bpf also treat compilation warnings as errors to catch
such regressions early.
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20220120060529.1890907-2-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/lib/bpf/bpf_helpers.h')
0 files changed, 0 insertions, 0 deletions
