Received: by 10.223.164.221 with SMTP id h29csp1818172wrb; Thu, 2 Nov 2017 01:08:36 -0700 (PDT) X-Google-Smtp-Source: ABhQp+QvaFBnoWAM3lf/GWA6RT/wjOOaQYm6gnMRkw7uAs83enwo54imOz80rwGOMOHdp1usZ7NE X-Received: by 10.99.98.6 with SMTP id w6mr2690084pgb.189.1509610116464; Thu, 02 Nov 2017 01:08:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509610116; cv=none; d=google.com; s=arc-20160816; b=B2L8bCgdYSGJejG38InzGoReV+LOLzEu65wsIrVSM9rqBN+dn08HpG9a3l/GetvjVb mLZZUgNVYh74Y44WFO5iUbg+FRqctPUkJcCBV2UpPSyGvQK9I8kFhdo6orc7qsxHLzeJ 2lUHIIr4a1+qZG5Eyz1F6/5yLfcFb7J+rVxxtzbrocG9ghAVBhFl3mj98YVSz3XhJ0xh tYinBCbtiPMuZeWQ32H5Ix/W4F0J3SiAoRe1jKq2Q0wft8rJEEP7W+Uw3BiazCUUcCbd 1OTeNBB65U/CyiAHY9A3bdAj2LYBSATazpEiFa75Goj9w1eRqmSkg2xTRakpvyRt9RB3 Jhow== 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:dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=ASM6zQOSBf2KlphaRjVmHT0p3d1r+l7J5b5wFo9FICo=; b=rmZmKOHqVjNMEMLdDctJDXjZRvxmt7VqHEq/nla2ekYQTp4TbRSJgOjSIVSqvQJpWE Z31c31xQOt33ginVbh3xkbkBU3fsawgGprDmS3OfTlEDir0rdqpg+RkIkYn+6O9ZXa0t M5NZ846XDHjkLpiv0I5oslmippY75ai0RJPqy8UwioeT/REglermSGMvnZDZhnYkwPr5 43dLg+WiTeV9gJJdqyYHB/RMfEQbIDMUMvz5qadEClPs/wbQt4w04fiz/3XyCYmqdvzE DnpyKCd5qe6TK7rLPzFr1/S68WKQhWfOXscqPw7BsFf6aKaVJiIPBqD07AQqxXKmzOn2 0lTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=OrH6G5UO; dkim=pass header.i=@codeaurora.org header.s=default header.b=OrH6G5UO; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k8si1676107pli.74.2017.11.02.01.08.22; Thu, 02 Nov 2017 01:08:36 -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=@codeaurora.org header.s=default header.b=OrH6G5UO; dkim=pass header.i=@codeaurora.org header.s=default header.b=OrH6G5UO; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755635AbdKBIGa (ORCPT + 99 others); Thu, 2 Nov 2017 04:06:30 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:54296 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755230AbdKBIG0 (ORCPT ); Thu, 2 Nov 2017 04:06:26 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id A3271607C3; Thu, 2 Nov 2017 08:06:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1509609985; bh=T/4uAKDg2zAAHuiZ5tMe5eJPfM01s3N7p5QmPp9HHFw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OrH6G5UOCX5eNVQdMTg1yTv4d2wnyLCUgmvzNM54B66FhNGkhlA6zAlQfNmtkeKVq +w3v8CNCEMTBBN9edIw7KhY6getIMxpgP/lRxR3GNH1mMh6c2XmSJDeDJG+Egi8l7U 79U1WFJNe8rDPhiJoHrBJFyrWncor4QNjetv92Q8= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from localhost (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: sboyd@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id F02136070B; Thu, 2 Nov 2017 08:06:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1509609985; bh=T/4uAKDg2zAAHuiZ5tMe5eJPfM01s3N7p5QmPp9HHFw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OrH6G5UOCX5eNVQdMTg1yTv4d2wnyLCUgmvzNM54B66FhNGkhlA6zAlQfNmtkeKVq +w3v8CNCEMTBBN9edIw7KhY6getIMxpgP/lRxR3GNH1mMh6c2XmSJDeDJG+Egi8l7U 79U1WFJNe8rDPhiJoHrBJFyrWncor4QNjetv92Q8= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org F02136070B Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sboyd@codeaurora.org Date: Thu, 2 Nov 2017 01:06:24 -0700 From: Stephen Boyd To: Arnd Bergmann Cc: Michael Turquette , Matthias Brugger , Shunli Wang , James Liao , Erin Lo , Philipp Zabel , Sean Wang , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH] clk: mediatek: mark mtk_infrasys_init_early __init Message-ID: <20171102080624.GD11011@codeaurora.org> References: <20170915192848.649455-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170915192848.649455-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 09/15, Arnd Bergmann wrote: > On gcc-4.6, we get a harmless link-time warning: > > WARNING: vmlinux.o(.text.unlikely+0x196a0): Section mismatch in reference from the function mtk_infrasys_init_early() to the function .init.text:mtk_clk_register_cpumuxes() > The function mtk_infrasys_init_early() references > the function __init mtk_clk_register_cpumuxes(). > This is often because mtk_infrasys_init_early lacks a __init > annotation or the annotation of mtk_clk_register_cpumuxes is wrong. > > Newer compilers inline this function so they don't warn, but > marking it __init is the right solution for all versions. > > Fixes: e9862118272a ("clk: mediatek: Add MT2701 clock support") > Signed-off-by: Arnd Bergmann > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project From 1578635168204470603@xxx Fri Sep 15 19:30:14 +0000 2017 X-GM-THRID: 1578635168204470603 X-Gmail-Labels: Inbox,Category Forums