* [PATCH 0/5] connman: Fix issue with const return value from strrchr and memchr
@ 2026-02-12 13:25 Rudi Heitbaum
2026-02-13 21:05 ` Marcel Holtmann
2026-02-13 21:10 ` patchwork-bot+connman
0 siblings, 2 replies; 3+ messages in thread
From: Rudi Heitbaum @ 2026-02-12 13:25 UTC (permalink / raw)
To: connman; +Cc: rudi
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 0/5] connman: Fix issue with const return value from strrchr and memchr
2026-02-12 13:25 [PATCH 0/5] connman: Fix issue with const return value from strrchr and memchr Rudi Heitbaum
@ 2026-02-13 21:05 ` Marcel Holtmann
2026-02-13 21:10 ` patchwork-bot+connman
1 sibling, 0 replies; 3+ messages in thread
From: Marcel Holtmann @ 2026-02-13 21:05 UTC (permalink / raw)
To: Rudi Heitbaum; +Cc: connman, rudi
Hi Rudi,
> 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(-)
all 5 patches have been applied.
Regards
Marcel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 0/5] connman: Fix issue with const return value from strrchr and memchr
2026-02-12 13:25 [PATCH 0/5] connman: Fix issue with const return value from strrchr and memchr Rudi Heitbaum
2026-02-13 21:05 ` Marcel Holtmann
@ 2026-02-13 21:10 ` patchwork-bot+connman
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+connman @ 2026-02-13 21:10 UTC (permalink / raw)
To: Rudi Heitbaum; +Cc: connman, rudi
Hello:
This series was applied to connman.git (master)
by Marcel Holtmann <marcel@holtmann.org>:
On Thu, 12 Feb 2026 13:25:15 +0000 you wrote:
> 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
>
> [...]
Here is the summary with links:
- [1/5] vpn: Fix issue with const return value from strrchr
https://git.kernel.org/pub/scm/network/connman/connman.git/?id=0762b1413f35
- [2/5] vpn-provider: Fix issue with const return value from strrchr
https://git.kernel.org/pub/scm/network/connman/connman.git/?id=67b1feb08163
- [3/5] gweb: Fix issue with const return value from memchr
https://git.kernel.org/pub/scm/network/connman/connman.git/?id=105276d27c4f
- [4/5] dundee: Fix issue with const return value from strrchr
https://git.kernel.org/pub/scm/network/connman/connman.git/?id=30f6841aa797
- [5/5] ofono: Fix issue with const return value from strrchr
https://git.kernel.org/pub/scm/network/connman/connman.git/?id=31733fbba5e5
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-02-13 21:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-12 13:25 [PATCH 0/5] connman: Fix issue with const return value from strrchr and memchr Rudi Heitbaum
2026-02-13 21:05 ` Marcel Holtmann
2026-02-13 21:10 ` patchwork-bot+connman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox