Re: linux-next: build failure after merge of the pci tree
From: Krzysztof Wilczyński
Date: Tue Jul 02 2024 - 21:03:42 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...
Hopefully, should be fixed now. Thank you!
Krzysztof