Skip to contentSkip to conversation

linux-next: build failure after merge of the pm tree

PATCH Stephen Rothwell 1 participant 1 message Apr 3, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the pm tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:

drivers/ata/pata_macio.c: In function 'pata_macio_attach':
drivers/ata/pata_macio.c:1172:23: error: implicit declaration of function 'irq_create_mapping' [-Werror=implicit-function-declaration]

 1172 |                 irq = irq_create_mapping(NULL, 13);
      |                       ^~~~~~~~~~~~~~~~~~

Caused by commit (I am pretty sure, but can't see why)

054e68aae050 ("ACPI: Replace irqdomain.h include with struct declarations")

I have applied the following patch for today (and it could be applied to the pm tree).

From: Stephen Rothwell <[email protected]>
Date: Mon, 3 Apr 2023 10:59:16 +1000
Subject: [PATCH] pata_macio: fixup for "ACPI: Replace irqdomain.h include with struct declarations"

---
 drivers/ata/pata_macio.c | 1 +
 1 file changed, 1 insertion(+)
drivers/ata/pata_macio.c +1 -0
index 9ccaac9e2bc3..6aa4558d88e6 100644
@@ -24,6 +24,7 @@
 #include <linux/of.h>
 #include <linux/gfp.h>
 #include <linux/pci.h>
+#include <linux/irqdomain.h>
 
 #include <scsi/scsi.h>
 #include <scsi/scsi_host.h>
Signature · 5 lines
2.39.2

-- 
Cheers,
Stephen Rothwell