Re: [PATCH bpf-next 0/4] selftests: bpf: support building selftests with clang and fix warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/02/2019 07:08 PM, Stanislav Fomichev wrote:
> 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(-)
> 

Applied, thanks!



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux