lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: 
 <176084101825.3155740.15331784475261731465.git-patchwork-notify@kernel.org>
Date: Sun, 19 Oct 2025 02:30:18 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Tiezhu Yang <yangtiezhu@...ngson.cn>
Cc: ast@...nel.org, daniel@...earbox.net, andrii@...nel.org,
 eddyz87@...il.com, bpf@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH bpf v2] selftests/bpf: Fix set but not used build errors

Hello:

This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@...nel.org>:

On Sat, 18 Oct 2025 16:28:15 +0800 you wrote:
> There are some set but not used build errors when compiling bpf selftests
> with the latest upstream mainline GCC, at the beginning add the attribute
> __maybe_unused for the variables, but it is better to just add the option
> -Wno-unused-but-set-variable to CFLAGS in Makefile to disable the errors
> instead of hacking the tests.
> 
>   tools/testing/selftests/bpf/map_tests/lpm_trie_map_basic_ops.c:229:36:
>   error: variable ‘n_matches_after_delete’ set but not used [-Werror=unused-but-set-variable=]
> 
> [...]

Here is the summary with links:
  - [bpf,v2] selftests/bpf: Fix set but not used build errors
    https://git.kernel.org/bpf/bpf-next/c/c67f4ae73798

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



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ