[PATCH] powerpc/fsl-pci: Fix section mismatch warning

Michael Ellerman patch-notifications at ellerman.id.au
Wed Mar 31 12:09:38 AEDT 2021


On Sun, 14 Mar 2021 20:33:41 +1100, Michael Ellerman wrote:
> Section mismatch in reference from the function .fsl_add_bridge() to
> the function .init.text:.setup_pci_cmd()
> 
> fsl_add_bridge() is not __init, and can't be, and is the only caller
> of setup_pci_cmd(). Fix it by making setup_pci_cmd() non-init.

Applied to powerpc/next.

[1/1] powerpc/fsl-pci: Fix section mismatch warning
      https://git.kernel.org/powerpc/c/b77878052a142737522e0e3c2a621c988a4cd7cd

cheers


More information about the Linuxppc-dev mailing list