Message ID | 20231120224912.1421916-1-andrew.cooper3@citrix.com (mailing list archive) |
---|---|
Headers | show |
Series | xen: Enable -Wwrite-strings | expand |
On 20/11/2023 10:49 pm, Andrew Cooper wrote: > 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 Randconfig found: https://gitlab.com/xen-project/people/andyhhp/xen/-/jobs/5580160813 which looks to be the ACPI support. diff --git a/xen/arch/arm/acpi/domain_build.c b/xen/arch/arm/acpi/domain_build.c index ed824c017882..b58389ce9e9f 100644 --- a/xen/arch/arm/acpi/domain_build.c +++ b/xen/arch/arm/acpi/domain_build.c @@ -245,7 +245,7 @@ static int __init acpi_create_rsdp(struct domain *d, struct membank tbl_add[]) static void __init acpi_xsdt_modify_entry(u64 entry[], unsigned long entry_count, - char *signature, u64 addr) + const char *signature, u64 addr) { int i; struct acpi_table_header *table; should fix it, and it probably wants to merge into patch 5. ~Andrew
On Mon, 20 Nov 2023, Andrew Cooper wrote: > On 20/11/2023 10:49 pm, Andrew Cooper wrote: > > 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 > > Randconfig found: > > https://gitlab.com/xen-project/people/andyhhp/xen/-/jobs/5580160813 > > which looks to be the ACPI support. > > diff --git a/xen/arch/arm/acpi/domain_build.c > b/xen/arch/arm/acpi/domain_build.c > index ed824c017882..b58389ce9e9f 100644 > --- a/xen/arch/arm/acpi/domain_build.c > +++ b/xen/arch/arm/acpi/domain_build.c > @@ -245,7 +245,7 @@ static int __init acpi_create_rsdp(struct domain *d, > struct membank tbl_add[]) > > static void __init acpi_xsdt_modify_entry(u64 entry[], > unsigned long entry_count, > - char *signature, u64 addr) > + const char *signature, u64 addr) > { > int i; > struct acpi_table_header *table; > > > should fix it, and it probably wants to merge into patch 5. Acked-by: Stefano Stabellini <sstabellini@kernel.org>