I got carried away and fixed all remaining -Wwrite-strings issues I could reproduce in local builds.
Pipeline in Gitlab: https://gitlab.com/xen-project/people/andyhhp/xen/-/pipelines/1079379918 Andrew Cooper (6): x86/setup: Make the loader variable const x86/setup: Rework cmdline_cook() to be compatible with -Wwrite-strings xen/efi: Make efi-boot.h compile with -Wwrite-strings arm/duart: make dt_uart_init() compile with -Wwrite-strings arm/platforms: Make compatbile with -Wwrite-strings xen: Enable -Wwrite-strings xen/Makefile | 2 +- xen/arch/arm/efi/efi-boot.h | 2 +- xen/arch/arm/platforms/brcm.c | 2 +- xen/arch/arm/platforms/exynos5.c | 2 +- xen/arch/x86/efi/efi-boot.h | 3 ++- xen/arch/x86/setup.c | 21 +++++++++++---------- xen/drivers/char/arm-uart.c | 12 ++++++++---- 7 files changed, 25 insertions(+), 19 deletions(-) base-commit: fa2da5bce90b3777aa7a323e1cf201c97b56d278 -- 2.30.2