From: Rudi Heitbaum <rudi@heitbaum.com>
To: connman@lists.linux.dev
Cc: rudi@heitbauum.com
Subject: [PATCH 0/5] connman: Fix issue with const return value from strrchr and memchr
Date: Thu, 12 Feb 2026 13:25:15 +0000 [thread overview]
Message-ID: <aY3Uu_Zd2b3v26ON@01676446e9f4> (raw)
When compiling with recent gcc and glibc-2.43 the --Wdiscarded-qualifiers
warning occurs because with ISO C23, the functions strrrchr qnd memchr
return pointers into their input arrays now have definitions as macros
that return a pointer to a const-qualified type when the input argument
is a pointer to a const-qualified type.
Rudi Heitbaum (5):
vpn: Fix issue with const return value from strrchr
vpn-provider: Fix issue with const return value from strrchr
gweb: Fix issue with const return value from memchr
dundee: Fix issue with const return value from strrchr
ofono: Fix issue with const return value from strrchr
gweb/gweb.c | 4 ++--
plugins/dundee.c | 4 ++--
plugins/ofono.c | 4 ++--
plugins/vpn.c | 8 ++++----
vpn/vpn-provider.c | 6 +++---
5 files changed, 13 insertions(+), 13 deletions(-)
--
2.51.0
next reply other threads:[~2026-02-12 13:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-12 13:25 Rudi Heitbaum [this message]
2026-02-13 21:05 ` [PATCH 0/5] connman: Fix issue with const return value from strrchr and memchr Marcel Holtmann
2026-02-13 21:10 ` patchwork-bot+connman
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=aY3Uu_Zd2b3v26ON@01676446e9f4 \
--to=rudi@heitbaum.com \
--cc=connman@lists.linux.dev \
--cc=rudi@heitbauum.com \
/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