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

From: Krzysztof Wilczyński
Date: Mon Jul 01 2024 - 16:20:27 EST


Hello,

> After merging the pci tree, today's linux-next build (arm
> multi_v7_defconfig) failed like this:
>
> drivers/pci/controller/dwc/pcie-designware-ep.c:818:6: error: redefinition of 'dw_pcie_ep_linkup'
> 818 | void dw_pcie_ep_linkup(struct dw_pcie_ep *ep)
> | ^~~~~~~~~~~~~~~~~
> drivers/pci/controller/dwc/pcie-designware-ep.c:22:6: note: previous definition of 'dw_pcie_ep_linkup' with type 'void(struct dw_pcie_ep *)'
> 22 | void dw_pcie_ep_linkup(struct dw_pcie_ep *ep)
> | ^~~~~~~~~~~~~~~~~
>
> Caused by commit
>
> 9eba2f70362f ("PCI: dwc: ep: Remove dw_pcie_ep_init_notify() wrapper")
>
> possibly because of an interaction with commit
>
> 3d2e425263e2 ("PCI: dwc: ep: Add a generic dw_pcie_ep_linkdown() API to handle Link Down event")

I will look into this shortly...

> I have used the pci tree from next-20240628 for today.

Got it. Makes sense, thank you!

Krzysztof