Re: [PATCH] ARM: OMAP2+: hwmod: Fix some section annotations

From: Tony Lindgren
Date: Mon Nov 19 2018 - 13:00:30 EST


* Nathan Chancellor <natechancellor@xxxxxxxxx> [181017 17:52]:
> When building the kernel with Clang, the following section mismatch
> warnings appears:
>
> WARNING: vmlinux.o(.text+0x2d398): Section mismatch in reference from
> the function _setup() to the function .init.text:_setup_iclk_autoidle()
> The function _setup() references
> the function __init _setup_iclk_autoidle().
> This is often because _setup lacks a __init
> annotation or the annotation of _setup_iclk_autoidle is wrong.
...

Applying into omap-for-v4.21/soc thanks.

Tony