diff options
| author | Arnd Bergmann <[email protected]> | 2017-09-14 12:50:58 +0000 |
|---|---|---|
| committer | Arnd Bergmann <[email protected]> | 2018-01-22 11:39:36 +0000 |
| commit | 0ca14cdea789f70c4dc7ef5844aad52cb9675aee (patch) | |
| tree | e703985539271b7f84ebfd5c87cabc8596e7bc0e /net/unix/af_unix.c | |
| parent | ARM: pxa/tosa-bt: add MODULE_LICENSE tag (diff) | |
| download | kernel-0ca14cdea789f70c4dc7ef5844aad52cb9675aee.tar.gz kernel-0ca14cdea789f70c4dc7ef5844aad52cb9675aee.zip | |
ARM: omap: hwmod: fix section mismatch warnings
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.
Acked-by: Tony Lindgren <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
