Skip to contentSkip to conversation

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

PATCH Stephen Rothwell 2 participants 2 messages Jan 11, 2016

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

Hi Bjorn,

After merging the pci tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/pci/host/pcie-designware.c: In function 'dw_pcie_host_init':
drivers/pci/host/pcie-designware.c:554:7: error: implicit declaration of function 'pci_has_flag' [-Werror=implicit-function-declaration]

  if (!pci_has_flag(PCI_PROBE_ONLY)) {
       ^
drivers/pci/host/pcie-designware.c:554:20: error: 'PCI_PROBE_ONLY' undeclared (first use in this function)
  if (!pci_has_flag(PCI_PROBE_ONLY)) {
                    ^

Caused by commit

755007e88a5e ("PCI: qcom: Add Qualcomm PCIe controller driver")

Please only use CONFIG_COMPILE_TEST *after* testing for cross compile problems ...

I have added thse folloeing patch for today:

From: Stephen Rothwell <[email protected]>
Date: Mon, 11 Jan 2016 12:37:58 +1100
Subject: [PATCH] PCI: qcom: the Qualcomm PCIe controller driver should not
depend on COMPILE_TEST

---
 drivers/pci/host/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pci/host/Kconfig +1 -1
index de403b206391..75a605426538 100644
@@ -183,7 +183,7 @@ config PCI_HISI
 
 config PCIE_QCOM
 	bool "Qualcomm PCIe controller"
-	depends on ARCH_QCOM && OF || COMPILE_TEST
+	depends on ARCH_QCOM && OF
 	select PCIE_DW
 	select PCIEPORTBUS
 	help
Signature · 5 lines
2.6.4

-- 
Cheers,
Stephen Rothwell                    [email protected]
#1 lore raw
Quoted 13 lines · Stephen Rothwell

Hi Bjorn,

After merging the pci tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/pci/host/pcie-designware.c: In function 'dw_pcie_host_init':
drivers/pci/host/pcie-designware.c:554:7: error: implicit declaration of function 'pci_has_flag' [-Werror=implicit-function-declaration]

  if (!pci_has_flag(PCI_PROBE_ONLY)) {
       ^
drivers/pci/host/pcie-designware.c:554:20: error: 'PCI_PROBE_ONLY' undeclared (first use in this function)
  if (!pci_has_flag(PCI_PROBE_ONLY)) {
                    ^
Quoted 6 lines

Caused by commit

755007e88a5e ("PCI: qcom: Add Qualcomm PCIe controller driver")

Please only use CONFIG_COMPILE_TEST *after* testing for cross compile problems ...

My fault, sorry. The build robot did catch this error, but I forgot to check those results before merging pci/host-qcom. I folded in your patch.

Quoted 31 lines

I have added thse folloeing patch for today:

From: Stephen Rothwell <[email protected]>
Date: Mon, 11 Jan 2016 12:37:58 +1100
Subject: [PATCH] PCI: qcom: the Qualcomm PCIe controller driver should not
depend on COMPILE_TEST

---
 drivers/pci/host/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pci/host/Kconfig +1 -1
index de403b206391..75a605426538 100644
@@ -183,7 +183,7 @@ config PCI_HISI
 
 config PCIE_QCOM
 	bool "Qualcomm PCIe controller"
-	depends on ARCH_QCOM && OF || COMPILE_TEST
+	depends on ARCH_QCOM && OF
 	select PCIE_DW
 	select PCIEPORTBUS
 	help
Signature · 5 lines
2.6.4

-- 
Cheers,
Stephen Rothwell                    [email protected]