From: patchwork-bot+netdevbpf@kernel.org
To: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com>
Cc: bpf@vger.kernel.org, andrii@kernel.org, ast@kernel.org,
daniel@iogearbox.net, netdev@vger.kernel.org, fweimer@redhat.com,
andrii.nakryiko@gmail.com
Subject: Re: [PATCH v3] tools/lib/bpf: fix -Wdiscarded-qualifiers under C23
Date: Wed, 10 Dec 2025 07:30:08 +0000 [thread overview]
Message-ID: <176535180830.487333.9076600383641931356.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20251206092825.1471385-1-mikhail.v.gavrilov@gmail.com>
Hello:
This patch was applied to bpf/bpf.git (master)
by Alexei Starovoitov <ast@kernel.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
prev parent reply other threads:[~2025-12-10 7:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-28 0:22 [PATCH] tools/lib/bpf: fix -Wdiscarded-qualifiers under C23 Mikhail Gavrilov
2025-11-28 9:26 ` Florian Weimer
2025-11-28 13:26 ` [PATCH v2 bpf-next] " Mikhail Gavrilov
2025-11-28 13:38 ` Florian Weimer
2025-11-28 14:59 ` Mikhail Gavrilov
2025-12-05 23:51 ` Andrii Nakryiko
2025-12-06 8:05 ` [PATCH v3] " Mikhail Gavrilov
2025-12-06 9:28 ` Mikhail Gavrilov
2025-12-10 7:30 ` patchwork-bot+netdevbpf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=176535180830.487333.9076600383641931356.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=andrii.nakryiko@gmail.com \
--cc=andrii@kernel.org \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=fweimer@redhat.com \
--cc=mikhail.v.gavrilov@gmail.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).