From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH] ARM: OMAP2+: hwmod: Fix some section annotations Date: Mon, 19 Nov 2018 10:00:24 -0800 Message-ID: <20181119180024.GR53235@atomide.com> References: <20181018005207.7201-1-natechancellor@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20181018005207.7201-1-natechancellor@gmail.com> Sender: linux-kernel-owner@vger.kernel.org To: Nathan Chancellor Cc: =?utf-8?Q?Beno=C3=AEt?= Cousson , Paul Walmsley , Russell King , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org List-Id: linux-omap@vger.kernel.org * Nathan Chancellor [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