Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1734301

Re: [PATCH] omap: hwmod: fix section mismatch warnings

From Tony Lindgren <tony@atomide.com>
Newsgroups linux.kernel
Subject Re: [PATCH] omap: hwmod: fix section mismatch warnings
Date 2017-09-18 19:00 +0200
Message-ID <ur7yO-mI-7@gated-at.bofh.it> (permalink)
References <uq4MF-7rc-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


* Arnd Bergmann <arnd@arndb.de> [170915 12:46]:
> Older compilers choose not to inline _setup_clkctrl_provider(),
> leading to a harmless warning:
> 
> WARNING: vmlinux.o(.text+0x27b34): Section mismatch in reference from the function _setup_clkctrl_provider() to the function .init.text:memblock_virt_alloc_try_nid()
> The function _setup_clkctrl_provider() references
> the function __init memblock_virt_alloc_try_nid().
> This is often because _setup_clkctrl_provider lacks a __init
> annotation or the annotation of memblock_virt_alloc_try_nid is wrong.
> 
> This annotates it as __init as well, which lets the linker
> see that it is actually correct.
> 
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Acked-by: Tony Lindgren <tony@atomide.com>

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] omap: hwmod: fix section mismatch warnings Arnd Bergmann <arnd@arndb.de> - 2017-09-15 21:50 +0200
  Re: [PATCH] omap: hwmod: fix section mismatch warnings Tony Lindgren <tony@atomide.com> - 2017-09-18 19:00 +0200

csiph-web