Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3770903ybi; Tue, 18 Jun 2019 06:19:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqy75j0YNJpatjfAsEdcxESKAaqaAKrwz54GZN98auWl6BsFCUNZLhkk/3qfTij2h8o3pI9z X-Received: by 2002:a17:902:b70f:: with SMTP id d15mr31470181pls.318.1560863942944; Tue, 18 Jun 2019 06:19:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560863942; cv=none; d=google.com; s=arc-20160816; b=tSt4oXgJ47mbgQvJ9nl5AkHv5iMkSgo/bWX1pWBSG48KsTNPT3fm78W7mGlypjUF25 aHuDNeungiJwO0AGroxtASi2mGPBB6SfXwc18DkkciTnWpz+Ay08QLMfZz66zK+62trp dntW7TnD6E00Tser86lkNKSke41C9krMX6KUjCZ92IGLoMNQCd7fB3SEM08C5zNGnNuF rQFJ1r5oMA1/ziP2sn6vfg2KL0rbyGBDO2yZYWRYLoJxbq9LqEg08inyD3qG/z1GSmWr slm1/OmYoj+FjxQUNk4QFkNlzi4p1v2+Ro+pFWfVS17uOIByGTHsKceEtC8VHRQjIQMr zxBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=huLC+dvFToYgoiWQofKa0bVzqCPQCe2Q110xxkrPGiA=; b=cC7qL7p4XIUI6J6O0V+/MWy0fSyHiwST+9X6cQCTtCOexHov1fuiyUcuRV+0+HO58a ZWhZKfyb2fX0JgvMgskoykG9pw1VEo+v03G5a6gVmNjOogcVOr1V0y/jI3idrPc2NMaF oD0HtIs320cm/M9hnpM34IMXRnaeMwxwQJDIhciQylvh3U4t5c/ijGoTuE8idz9xLCGK TZ0Y4NxYVR90V0PuUbwmGV0Qt+V2mKvoNImGjpt3PA3qCXXxTyCnMqTaDgcAroiZWmw7 xN5QYM7NG1Q8aeohh1qirpw4pet7LPYqgbjWf/yBWcG7IeVzF6YQOgufzhfv3zk5/qYi bLqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=qIDrUimv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x24si963400pjt.88.2019.06.18.06.18.45; Tue, 18 Jun 2019 06:19:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=qIDrUimv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729107AbfFRNSd (ORCPT + 99 others); Tue, 18 Jun 2019 09:18:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:40006 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725988AbfFRNSd (ORCPT ); Tue, 18 Jun 2019 09:18:33 -0400 Received: from dragon (li1322-146.members.linode.com [45.79.223.146]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E09062070B; Tue, 18 Jun 2019 13:18:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1560863912; bh=1y2U8X12rJFersG6m+NAIREsnvkoVvu7YAOkiIfgHRA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qIDrUimvv+WuXK5JHBoSh4thayiimM4+9jNtbKpOgnZ8FIRECqs1pHTNFO1jnWPsT E6aTpSySvalhFXfc6RtFSVD36Cx8X3HKNDkgjrvkhVx2RJGMfBUlK3Pr2CKZsFGA1E RY/p686OEE/Aml8QM+TjxyU6YSl5NwXW0GjizaXo= Date: Tue, 18 Jun 2019 21:17:35 +0800 From: Shawn Guo To: Arnd Bergmann Cc: Michael Turquette , Stephen Boyd , Sascha Hauer , Dong Aisheng , Abel Vesa , Anson Huang , linux-kernel@vger.kernel.org, NXP Linux Team , Pengutronix Kernel Team , Fabio Estevam , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Lucas Stach Subject: Re: [PATCH] clk: imx6q: fix section mismatch warning Message-ID: <20190618131734.GE1959@dragon> References: <20190617111159.2124152-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190617111159.2124152-1-arnd@arndb.de> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 17, 2019 at 01:11:35PM +0200, Arnd Bergmann wrote: > The imx6q_obtain_fixed_clk_hw lacks an __init marker, which > leads to this otherwise harmless warning: > > WARNING: vmlinux.o(.text+0x495358): Section mismatch in reference from the function imx6q_obtain_fixed_clk_hw() to the function .init.text:imx_obtain_fixed_clock_hw() > The function imx6q_obtain_fixed_clk_hw() references > the function __init imx_obtain_fixed_clock_hw(). > This is often because imx6q_obtain_fixed_clk_hw lacks a __init > annotation or the annotation of imx_obtain_fixed_clock_hw is wrong. > > Fixes: 992b703b5b38 ("clk: imx6q: Switch to clk_hw based API") > Signed-off-by: Arnd Bergmann Applied, thanks.