[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190402170835.30732-1-sdf@google.com>
Date: Tue, 2 Apr 2019 10:08:31 -0700
From: Stanislav Fomichev <sdf@...gle.com>
To: netdev@...r.kernel.org, bpf@...r.kernel.org
Cc: davem@...emloft.net, ast@...nel.org, daniel@...earbox.net,
Stanislav Fomichev <sdf@...gle.com>
Subject: [PATCH bpf-next 0/4] selftests: bpf: support building selftests with
clang and fix warnings
This series contains small fixes to make bpf selftests compile cleanly
with clangs. All of them are not real problems, but it's nice to have
an option to use clang for the tests themselves.
Stanislav Fomichev (4):
selftests: bpf: tests.h should depend on .c files, not the output
selftests: bpf: fix -Wformat-security warning for
flow_dissector_load.c
selftests: bpf: fix -Wformat-invalid-specifier for bpf_obj_id.c
selftests: bpf: remove duplicate .flags initialization in ctx_skb.c
tools/testing/selftests/bpf/Makefile | 4 ++--
tools/testing/selftests/bpf/flow_dissector_load.c | 2 +-
tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c | 8 ++++----
tools/testing/selftests/bpf/verifier/ctx_skb.c | 1 -
4 files changed, 7 insertions(+), 8 deletions(-)
--
2.21.0.392.gf8f6787159e-goog
Powered by blists - more mailing lists