lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 18 Sep 2017 09:52:04 -0700 From: Tony Lindgren <tony@...mide.com> To: Arnd Bergmann <arnd@...db.de> Cc: BenoƮt Cousson <bcousson@...libre.com>, Paul Walmsley <paul@...an.com>, linux-omap@...r.kernel.org, linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH] omap: hwmod: fix section mismatch warnings * Arnd Bergmann <arnd@...db.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@...db.de> Acked-by: Tony Lindgren <tony@...mide.com>
Powered by blists - more mailing lists