[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<176535180830.487333.9076600383641931356.git-patchwork-notify@kernel.org>
Date: Wed, 10 Dec 2025 07:30:08 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Mikhail Gavrilov <mikhail.v.gavrilov@...il.com>
Cc: bpf@...r.kernel.org, andrii@...nel.org, ast@...nel.org,
daniel@...earbox.net, netdev@...r.kernel.org, fweimer@...hat.com,
andrii.nakryiko@...il.com
Subject: Re: [PATCH v3] tools/lib/bpf: fix -Wdiscarded-qualifiers under C23
Hello:
This patch was applied to bpf/bpf.git (master)
by Alexei Starovoitov <ast@...nel.org>:
On Sat, 6 Dec 2025 14:28:25 +0500 you wrote:
> glibc ≥ 2.42 (GCC 15) defaults to -std=gnu23, which promotes
> -Wdiscarded-qualifiers to an error.
>
> In C23, strstr() and strchr() return "const char *".
>
> Change variable types to const char * where the pointers are never
> modified (res, sym_sfx, next_path).
>
> [...]
Here is the summary with links:
- [v3] tools/lib/bpf: fix -Wdiscarded-qualifiers under C23
https://git.kernel.org/bpf/bpf/c/d70f79fef658
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