Re: [PATCH net-next] selftests: net: tcp_ao: make the netstat column pointer const
From: patchwork-bot+netdevbpf
Date: Fri Nov 06 2026 - 17:51:00 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Tue, 3 Nov 2026 11:54:19 -0500 you wrote:
> lookup_get_column() stores the result of strchr() on a const string in
> a plain char pointer. Since glibc 2.43, strchr() returns a const char
> pointer for a const argument when C23 features are enabled, as they
> are with _GNU_SOURCE, so gcc and clang warn:
>
> lib/proc.c:61:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
>
> [...]
Here is the summary with links:
- [net-next] selftests: net: tcp_ao: make the netstat column pointer const
https://git.kernel.org/netdev/net-next/c/f13fc72ba243
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html