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

From: Krzysztof Wilczyński <[email-masked]>
Date: Tue, 2 Jul 2024 05:19:42 +0900

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