From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,URIBL_BLOCKED,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7D52AC10F06 for ; Thu, 14 Mar 2019 15:08:01 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4029B21852 for ; Thu, 14 Mar 2019 15:08:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="HX5KdfQb" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4029B21852 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=atomide.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=52o3pJGiR5i8nMnp0S2bPW7AAyGv5ILdGHF7PUEgAgQ=; b=HX5KdfQb7efVoj XB6Z/K4WkTni9PHtfUiMzruD9jusSe525JFW2MRuXkKGz6Oe2X/lzhSFUJH4OanTdnzht+ZyXI3SN zOW5pLkDbLJPXVlCZQgW3RbuB+lspKHJfJJDNtaV+PULFa/sIE1+S3JrHeyNZ0w1A9jmcA6og0STn f9k1Ccwc1zZwjNcBWZbO3UXI+axqJPZWLy9QRivIUXD3rwNRdYKOjvMvqP10fVQZML0xU8exTESA7 UmnpSmbJHRDT+NBawjr9vE5Swnibfir1qztIuL5ttvQamiKj0l1vBq0GD0Ymd2DzvqpNCh0beqFWu E3MgJA7EIIOhHmCxRcCw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h4RxZ-0002so-IG; Thu, 14 Mar 2019 15:07:53 +0000 Received: from muru.com ([72.249.23.125]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h4RxW-0002s8-Es for linux-arm-kernel@lists.infradead.org; Thu, 14 Mar 2019 15:07:51 +0000 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 6054780FB; Thu, 14 Mar 2019 15:08:01 +0000 (UTC) Date: Thu, 14 Mar 2019 08:07:45 -0700 From: Tony Lindgren To: Nathan Chancellor Subject: Re: [PATCH] ARM: omap2: remove incorrect __init annotation Message-ID: <20190314150745.GC19425@atomide.com> References: <20190307103557.1688556-1-arnd@arndb.de> <20190307153620.GK20201@archlinux-ryzen> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190307153620.GK20201@archlinux-ryzen> User-Agent: Mutt/1.11.2 (2019-01-07) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190314_080750_536463_E8C1B167 X-CRM114-Status: GOOD ( 10.97 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paul Walmsley , Rajendra Nayak , Arnd Bergmann , Nick Desaulniers , linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org * Nathan Chancellor [190307 15:36]: > On Thu, Mar 07, 2019 at 11:35:50AM +0100, Arnd Bergmann wrote: > > omap3xxx_prm_enable_io_wakeup() is marked __init, but its caller is not, so > > we get a warning with clang-8: > > > > WARNING: vmlinux.o(.text+0x343c8): Section mismatch in reference from the function omap3xxx_prm_late_init() to the function .init.text:omap3xxx_prm_enable_io_wakeup() > > The function omap3xxx_prm_late_init() references > > the function __init omap3xxx_prm_enable_io_wakeup(). > > This is often because omap3xxx_prm_late_init lacks a __init > > annotation or the annotation of omap3xxx_prm_enable_io_wakeup is wrong. > > > > When building with gcc, omap3xxx_prm_enable_io_wakeup() is always > > inlined, so we never noticed in the past. > > > > Signed-off-by: Arnd Bergmann > > Reviewed-by: Nathan Chancellor Arnd please just apply this directly, this should not cause merge conflicts: Acked-by: Tony Lindgren _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel