lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 8 Jul 2022 14:13:44 +1000
From:   Stephen Rothwell <sfr@...b.auug.org.au>
To:     Marc Zyngier <maz@...nel.org>
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: linux-next: build failure after merge of the irqchip tree

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

Caused by commit

  4d0b8298818b ("genirq: Return a const cpumask from irq_data_get_affinity_mask")

I have used the irqchip tree from next-20220707 for today.

-- 
Cheers,
Stephen Rothwell

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ