Re: [PATCH] PCI: kirin: Fix section mismatch warning

2018-09-19 Thread Nathan Chancellor
On Wed, Sep 19, 2018 at 11:35:45AM -0700, Nick Desaulniers wrote: > On Wed, Sep 19, 2018 at 10:58 AM Nathan Chancellor > wrote: > > > > On Wed, Sep 19, 2018 at 10:35:55AM -0700, Nick Desaulniers wrote: > > > On Wed, Sep 19, 2018 at 3:29 AM Lorenzo Pieralisi > > > wrote: > > > > > > > > Xiaowei, B

Re: [PATCH] PCI: kirin: Fix section mismatch warning

2018-09-19 Thread Nick Desaulniers
On Wed, Sep 19, 2018 at 10:58 AM Nathan Chancellor wrote: > > On Wed, Sep 19, 2018 at 10:35:55AM -0700, Nick Desaulniers wrote: > > On Wed, Sep 19, 2018 at 3:29 AM Lorenzo Pieralisi > > wrote: > > > > > > Xiaowei, Binghui, > > > > > > On Tue, Sep 18, 2018 at 10:38:29PM -0700, Nathan Chancellor wr

Re: [PATCH] PCI: kirin: Fix section mismatch warning

2018-09-19 Thread Nathan Chancellor
On Wed, Sep 19, 2018 at 10:35:55AM -0700, Nick Desaulniers wrote: > On Wed, Sep 19, 2018 at 3:29 AM Lorenzo Pieralisi > wrote: > > > > Xiaowei, Binghui, > > > > On Tue, Sep 18, 2018 at 10:38:29PM -0700, Nathan Chancellor wrote: > > > WARNING: vmlinux.o(.text+0x4758cc): Section mismatch in referenc

Re: [PATCH] PCI: kirin: Fix section mismatch warning

2018-09-19 Thread Nick Desaulniers
On Wed, Sep 19, 2018 at 3:29 AM Lorenzo Pieralisi wrote: > > Xiaowei, Binghui, > > On Tue, Sep 18, 2018 at 10:38:29PM -0700, Nathan Chancellor wrote: > > WARNING: vmlinux.o(.text+0x4758cc): Section mismatch in reference from > > the function kirin_pcie_probe() to the function > > .init.text:kirin_

Re: [PATCH] PCI: kirin: Fix section mismatch warning

2018-09-19 Thread Lorenzo Pieralisi
Xiaowei, Binghui, On Tue, Sep 18, 2018 at 10:38:29PM -0700, Nathan Chancellor wrote: > WARNING: vmlinux.o(.text+0x4758cc): Section mismatch in reference from > the function kirin_pcie_probe() to the function > .init.text:kirin_add_pcie_port() > The function kirin_pcie_probe() references > the func

[PATCH] PCI: kirin: Fix section mismatch warning

2018-09-18 Thread Nathan Chancellor
WARNING: vmlinux.o(.text+0x4758cc): Section mismatch in reference from the function kirin_pcie_probe() to the function .init.text:kirin_add_pcie_port() The function kirin_pcie_probe() references the function __init kirin_add_pcie_port(). This is often because kirin_pcie_probe lacks a __init annotat