Re: [PATCH bpf-next] selftests/bpf: Fix build error due to certain uninitialized variables

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

 



Hello:

This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@xxxxxxxxxx>:

On Tue, 15 Jul 2025 11:59:10 -0700 you wrote:
> With the latest llvm21 compiler, I hit several errors when building bpf
> selftests. Some of errors look like below:
> 
>   test_maps.c:565:40: error: variable 'val' is uninitialized when passed as a
>       const pointer argument here [-Werror,-Wuninitialized-const-pointer]
>     565 |         assert(bpf_map_update_elem(fd, NULL, &val, 0) < 0 &&
>         |                                               ^~~
> 
> [...]

Here is the summary with links:
  - [bpf-next] selftests/bpf: Fix build error due to certain uninitialized variables
    https://git.kernel.org/bpf/bpf-next/c/e860a98c8aeb

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