[PATCH 0/3] tools/nolibc: -Wwrite-strings compatibility

Thomas Weißschuh posted 3 patches 3 days, 3 hours ago
tools/include/nolibc/errno.h                    | 4 ++--
tools/testing/selftests/nolibc/Makefile.include | 2 +-
tools/testing/selftests/nolibc/nolibc-test.c    | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
[PATCH 0/3] tools/nolibc: -Wwrite-strings compatibility
Posted by Thomas Weißschuh 3 days, 3 hours ago
Make sure not to trigger -Wwrite-strings warnings.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
Thomas Weißschuh (3):
      tools/nolibc: cast default values of program_invocation_name
      selftests/nolibc: cast execve() argv string to character pointer
      selftests/nolibc: test against -Wwrite-strings

 tools/include/nolibc/errno.h                    | 4 ++--
 tools/testing/selftests/nolibc/Makefile.include | 2 +-
 tools/testing/selftests/nolibc/nolibc-test.c    | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
---
base-commit: 136ca91411b0b637e862eb7b1cce2a56853edd17
change-id: 20260401-nolibc-write-strings-d7b2073917ff

Best regards,
--  
Thomas Weißschuh <linux@weissschuh.net>

Re: [PATCH 0/3] tools/nolibc: -Wwrite-strings compatibility
Posted by Willy Tarreau 2 days, 16 hours ago
Hi Thomas,

On Thu, May 21, 2026 at 06:29:28PM +0200, Thomas Weißschuh wrote:
> Make sure not to trigger -Wwrite-strings warnings.
> 
> Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>

Looks good, and it's pleasant to see that we can enable one extra warning
with so few changes.

Acked-by: Willy Tarreau <w@1wt.eu>

Thanks!
Willy