[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87v8s8kptn.wl-maz@kernel.org>
Date: Fri, 08 Jul 2022 08:48:20 +0100
From: Marc Zyngier <maz@...nel.org>
To: Stephen Rothwell <sfr@...b.auug.org.au>
Cc: Samuel Holland <samuel@...lland.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux Next Mailing List <linux-next@...r.kernel.org>
Subject: Re: linux-next: build failure after merge of the irqchip tree
On Fri, 08 Jul 2022 05:13:44 +0100,
Stephen Rothwell <sfr@...b.auug.org.au> wrote:
>
> [1 <text/plain; US-ASCII (quoted-printable)>]
> Hi all,
>
> After merging the irqchip tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> drivers/pci/controller/pci-hyperv.c: In function 'hv_compose_msi_req_v2':
> drivers/pci/controller/pci-hyperv.c:1654:42: error: passing argument 1 of 'hv_compose_msi_req_get_cpu' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
> 1654 | cpu = hv_compose_msi_req_get_cpu(affinity);
> | ^~~~~~~~
> drivers/pci/controller/pci-hyperv.c:1638:55: note: expected 'struct cpumask *' but argument is of type 'const struct cpumask *'
> 1638 | static int hv_compose_msi_req_get_cpu(struct cpumask *affinity)
> | ~~~~~~~~~~~~~~~~^~~~~~~~
> drivers/pci/controller/pci-hyperv.c: In function 'hv_compose_msi_req_v3':
> drivers/pci/controller/pci-hyperv.c:1674:42: error: passing argument 1 of 'hv_compose_msi_req_get_cpu' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
> 1674 | cpu = hv_compose_msi_req_get_cpu(affinity);
> | ^~~~~~~~
> drivers/pci/controller/pci-hyperv.c:1638:55: note: expected 'struct cpumask *' but argument is of type 'const struct cpumask *'
> 1638 | static int hv_compose_msi_req_get_cpu(struct cpumask *affinity)
> | ~~~~~~~~~~~~~~~~^~~~~~~~
> cc1: all warnings being treated as errors
I've now merged Samuel's quick fix. Thanks both.
M.
--
Without deviation from the norm, progress is not possible.
Powered by blists - more mailing lists