From patchwork Thu Oct 18 00:54:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nathan Chancellor X-Patchwork-Id: 10646663 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 766411057 for ; Thu, 18 Oct 2018 00:54:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6C2DB2883D for ; Thu, 18 Oct 2018 00:54:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5F7C02888A; Thu, 18 Oct 2018 00:54:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F084E2883D for ; Thu, 18 Oct 2018 00:54:30 +0000 (UTC) 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:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=4U7hZsScluTcdrIoNNvMFGN4AWeTxikG4nckwjWR8mI=; b=Z+UlHBCg/nkSJ6 GunBBZMkr/VCbcLls3MCMClb+O26VKrJ/Rnw215cufhhFERx6pmmx1AK+xdXixd8aBknPEm5nHNW3 VRoIAO3xroVQzZxvUjNzFVccD9kjAyGNgnxSEcQgX9oR/P8W2oMOhe0NRW3KPw/yDVH/jqRleF/57 r8sqLifUNWnQc0thBIkxNMWvVMiR1NvMXBMJHRAeyvCEYmrpWe73nRr8vHyMfnLMDAagV3nPH1bIa fphmRJrnjBXYMszJafWOP1qMFPkFf0ngTvZcGa85RpswPEhYR1L95wgSEUEzPUND8xw3fKwyHcwdn dshY9VRfDKy/G6CUMlMg==; 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 1gCwZy-0000tH-IW; Thu, 18 Oct 2018 00:54:22 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gCwZv-0000rQ-A3 for linux-arm-kernel@lists.infradead.org; Thu, 18 Oct 2018 00:54:20 +0000 Received: by mail-wm1-x343.google.com with SMTP id y144-v6so3954717wmd.4 for ; Wed, 17 Oct 2018 17:54:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Ad3/14ZGqgDualdXOF+nC2YcKs/kWOMzknw5d4T11is=; b=jILOEguaLXSalObU9Q3KWtiAShXOLtm3TBSreJt3o609cvLGiDV93yH24+c9NVGGTM ++tBvtQQdkN0Bh+4mtpZo8nKdJ0lYQcKTxRpO0KgaVFvBB2wQOVGzwrC0XzIrpyM6chM EKRlrhQyw5xUoeir30d2oiJ7s9+/Du3WKSupis4lz4JPIhLEhFi7rQ0vozL7krAYvrPH wpTE4oPasaDk/5cC/HttxFMDYk5uQFS2A0oilCoSyoEx+OeP9lyLOyfPrLTgucPzBrcu SL2bCMmwoZnQoEpSuR2ZRIMIWBXpEFP8njwlDTejHkYl6RK6v7h0fmkhI5x/GHEbTHYS x/mQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Ad3/14ZGqgDualdXOF+nC2YcKs/kWOMzknw5d4T11is=; b=ALFJZZqiGi1SpqIiDJkAJLan7P5ddisONyCTvhadQzujJrO5xwWcpAFgIPyMgIFUpy PO3EkrlLPLP4wgnpcynYPOSEtaj3CGiPkxUKBJmS+ScoYd3TIwUQfcB4x1wXETHPQdZw xJz04u/DLCd1pHLzg42KKnx7/1+ht5imJYyQP7BbPMYeH8JSromEOrh5wWpHqNLS0Cm7 AqpybqjJAd1kBA9JJFuIBuvL/gIjRW+roAxjMrqJ43sTib/5/s3o8Vkzat2WD/+hZ4R+ OSvKKmqSyMcD+CPHWEQTpjrAWpVbYFPRv1PJQrkMSb8x++TT7qtW9McNBoc05Nb8q2Xr B/xw== X-Gm-Message-State: ABuFfoi36yNHnvr6DpF6VFCpHHQt87ga0HNzT8hF/gDmeUnSkGGr6Yfs nCYlon3HB71J7L3EOHezQMw= X-Google-Smtp-Source: ACcGV63zsMO13wta45glYSpIqEV0fPEr+ibZd87zcusbiXOG8bj5puZrFtsBm23khWYKY/wNsOMP6A== X-Received: by 2002:a1c:3702:: with SMTP id e2-v6mr4654587wma.89.1539824047325; Wed, 17 Oct 2018 17:54:07 -0700 (PDT) Received: from localhost.localdomain ([2a01:4f8:10b:24a5::2]) by smtp.gmail.com with ESMTPSA id t198-v6sm2280291wmd.9.2018.10.17.17.54.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Oct 2018 17:54:06 -0700 (PDT) From: Nathan Chancellor To: Rajendra Nayak , Paul Walmsley , Tony Lindgren Subject: [PATCH] ARM: OMAP2+: prm44xx: Fix section annotation on omap44xx_prm_enable_io_wakeup Date: Wed, 17 Oct 2018 17:54:00 -0700 Message-Id: <20181018005400.7521-1-natechancellor@gmail.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181017_175419_468748_3C56A56F X-CRM114-Status: GOOD ( 14.30 ) 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: Nathan Chancellor , linux-omap@vger.kernel.org, Russell King , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP When building the kernel with Clang, the following section mismatch warning appears: WARNING: vmlinux.o(.text+0x38b3c): Section mismatch in reference from the function omap44xx_prm_late_init() to the function .init.text:omap44xx_prm_enable_io_wakeup() The function omap44xx_prm_late_init() references the function __init omap44xx_prm_enable_io_wakeup(). This is often because omap44xx_prm_late_init lacks a __init annotation or the annotation of omap44xx_prm_enable_io_wakeup is wrong. Remove the __init annotation from omap44xx_prm_enable_io_wakeup so there is no more mismatch. Signed-off-by: Nathan Chancellor --- arch/arm/mach-omap2/prm44xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/prm44xx.c b/arch/arm/mach-omap2/prm44xx.c index 7b95729e8359..38a1be6c3694 100644 --- a/arch/arm/mach-omap2/prm44xx.c +++ b/arch/arm/mach-omap2/prm44xx.c @@ -351,7 +351,7 @@ static void omap44xx_prm_reconfigure_io_chain(void) * to occur, WAKEUPENABLE bits must be set in the pad mux registers, and * omap44xx_prm_reconfigure_io_chain() must be called. No return value. */ -static void __init omap44xx_prm_enable_io_wakeup(void) +static void omap44xx_prm_enable_io_wakeup(void) { s32 inst = omap4_prmst_get_prm_dev_inst();