Re: [PATCH bpf-next 1/3] selftests/bpf: fix compiler warnings reported in -O2 mode

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

 



Hello:

This series was applied to bpf/bpf-next.git (master)
by Daniel Borkmann <daniel@xxxxxxxxxxxxx>:

On Tue, 3 Oct 2023 17:17:48 -0700 you wrote:
> Fix a bunch of potentially unitialized variable usage warnings that are
> reported by GCC in -O2 mode. Also silence overzealous stringop-truncation
> class of warnings.
> 
> Signed-off-by: Andrii Nakryiko <andrii@xxxxxxxxxx>
> ---
>  tools/testing/selftests/bpf/Makefile                      | 4 +++-
>  .../selftests/bpf/map_tests/map_in_map_batch_ops.c        | 4 ++--
>  tools/testing/selftests/bpf/prog_tests/bloom_filter_map.c | 4 ++--
>  tools/testing/selftests/bpf/prog_tests/connect_ping.c     | 4 ++--
>  tools/testing/selftests/bpf/prog_tests/linked_list.c      | 2 +-
>  tools/testing/selftests/bpf/prog_tests/lwt_helpers.h      | 3 ++-
>  tools/testing/selftests/bpf/prog_tests/queue_stack_map.c  | 2 +-
>  tools/testing/selftests/bpf/prog_tests/sockmap_basic.c    | 8 ++++----
>  tools/testing/selftests/bpf/prog_tests/sockmap_helpers.h  | 2 +-
>  tools/testing/selftests/bpf/prog_tests/sockmap_listen.c   | 4 ++--
>  tools/testing/selftests/bpf/prog_tests/xdp_metadata.c     | 2 +-
>  tools/testing/selftests/bpf/test_loader.c                 | 4 ++--
>  tools/testing/selftests/bpf/xdp_features.c                | 4 ++--
>  tools/testing/selftests/bpf/xdp_hw_metadata.c             | 2 +-
>  tools/testing/selftests/bpf/xskxceiver.c                  | 2 +-
>  15 files changed, 27 insertions(+), 24 deletions(-)

Here is the summary with links:
  - [bpf-next,1/3] selftests/bpf: fix compiler warnings reported in -O2 mode
    (no matching commit)
  - [bpf-next,2/3] selftests/bpf: support building selftests in optimized -O2 mode
    https://git.kernel.org/bpf/bpf-next/c/46475cc0dded
  - [bpf-next,3/3] selftests/bpf: don't truncate #test/subtest field
    https://git.kernel.org/bpf/bpf-next/c/0af3aace5b91

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html






[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