Re: [PATCH] powerpc/msi: fix section mismatch warning

2015-10-21 Thread Denis Kirjanov
On 10/21/15, Arnd Bergmann wrote: > On Wednesday 21 October 2015 08:56:44 Denis Kirjanov wrote: >> Building with CONFIG_DEBUG_SECTION_MISMATCH >> gives the following warning: >> >> WARNING: vmlinux.o(.text+0x41fa8): Section mismatch in reference from >> the function .msi_bitmap_alloc() to the func

Re: [PATCH] powerpc/msi: fix section mismatch warning

2015-10-20 Thread Stephen Rothwell
Hi Denis, On Wed, 21 Oct 2015 08:56:44 +0300 Denis Kirjanov wrote: > > diff --git a/arch/powerpc/include/asm/msi_bitmap.h > b/arch/powerpc/include/asm/msi_bitmap.h > index 1ec7125..fbd3424 100644 > --- a/arch/powerpc/include/asm/msi_bitmap.h > +++ b/arch/powerpc/include/asm/msi_bitmap.h > @@ -2

Re: [PATCH] powerpc/msi: fix section mismatch warning

2015-10-20 Thread Arnd Bergmann
On Wednesday 21 October 2015 08:56:44 Denis Kirjanov wrote: > Building with CONFIG_DEBUG_SECTION_MISMATCH > gives the following warning: > > WARNING: vmlinux.o(.text+0x41fa8): Section mismatch in reference from > the function .msi_bitmap_alloc() to the function > .init.text:.memblock_virt_alloc_tr

[PATCH] powerpc/msi: fix section mismatch warning

2015-10-20 Thread Denis Kirjanov
Building with CONFIG_DEBUG_SECTION_MISMATCH gives the following warning: WARNING: vmlinux.o(.text+0x41fa8): Section mismatch in reference from the function .msi_bitmap_alloc() to the function .init.text:.memblock_virt_alloc_try_nid() The function .msi_bitmap_alloc() references the function __init