Re: [PATCH 3/6] xen/efi: Make efi-boot.h compile with -Wwrite-strings

2023-11-22 Thread Jan Beulich
On 21.11.2023 20:13, Andrew Cooper wrote: > On 21/11/2023 6:03 pm, Andrew Cooper wrote: >> On 21/11/2023 8:40 am, Jan Beulich wrote: >>> On 20.11.2023 23:49, Andrew Cooper wrote: GCC complains: In file included from arch/arm/efi/boot.c:700: arch/arm/efi/efi-boot.h: In functi

Re: [PATCH 3/6] xen/efi: Make efi-boot.h compile with -Wwrite-strings

2023-11-21 Thread Andrew Cooper
On 21/11/2023 6:03 pm, Andrew Cooper wrote: > On 21/11/2023 8:40 am, Jan Beulich wrote: >> On 20.11.2023 23:49, Andrew Cooper wrote: >>> GCC complains: >>> >>> In file included from arch/arm/efi/boot.c:700: >>> arch/arm/efi/efi-boot.h: In function 'efi_arch_handle_cmdline': >>> arch/arm/efi/e

Re: [PATCH 3/6] xen/efi: Make efi-boot.h compile with -Wwrite-strings

2023-11-21 Thread Andrew Cooper
On 21/11/2023 8:40 am, Jan Beulich wrote: > On 20.11.2023 23:49, Andrew Cooper wrote: >> GCC complains: >> >> In file included from arch/arm/efi/boot.c:700: >> arch/arm/efi/efi-boot.h: In function 'efi_arch_handle_cmdline': >> arch/arm/efi/efi-boot.h:482:16: error: assignment discards 'const'

Re: [PATCH 3/6] xen/efi: Make efi-boot.h compile with -Wwrite-strings

2023-11-21 Thread Jan Beulich
On 20.11.2023 23:49, Andrew Cooper wrote: > GCC complains: > > In file included from arch/arm/efi/boot.c:700: > arch/arm/efi/efi-boot.h: In function 'efi_arch_handle_cmdline': > arch/arm/efi/efi-boot.h:482:16: error: assignment discards 'const' > qualifier from pointer target type [-Werror=

Re: [PATCH 3/6] xen/efi: Make efi-boot.h compile with -Wwrite-strings

2023-11-20 Thread Stefano Stabellini
On Mon, 20 Nov 2023, Andrew Cooper wrote: > GCC complains: > > In file included from arch/arm/efi/boot.c:700: > arch/arm/efi/efi-boot.h: In function 'efi_arch_handle_cmdline': > arch/arm/efi/efi-boot.h:482:16: error: assignment discards 'const' > qualifier from pointer target type [-Werror=