From patchwork Mon Dec 10 21:58:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10722593 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 BEEC61759 for ; Mon, 10 Dec 2018 21:59:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AE1B92A5C1 for ; Mon, 10 Dec 2018 21:59:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 97BAA2A5CC; Mon, 10 Dec 2018 21:59:21 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 5328F2A5C5 for ; Mon, 10 Dec 2018 21:59:21 +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=CWYKbD0SdUwQo56iGVytJC8GrUe9HeG0eHXSozGk3aQ=; b=Z6aa+XZjplgm1V gCjcR3zVsQ0Oa0hF4an1qG2Vte1sjLEslftn6VDcZ8dcJo3EsJf39NB4455dHZV9HFf4cS1qgDuXp 7I4pH2gsYAMVM1WqmjcQ+/8/8GCAP0i8RdJ3cTCEgKI6d/jqHfCW+42myB2cXMW7ujp8Oomg8ebKw qnDAPhj0VgbjKO1m76t9amy3v0XCoDmlx3GoM30u4jArv1XVHJ6jrIzPU6qqgAcoOVeAuagHRjVjR Gc+DiJv3EXxWqaaST+0kX1erMKCW5QN1cItz1M2fT6jr/mX08apc1n7bm68E0rKFqdRbxgz8Ph6Xl H4tzmWHzKF5iWLN/RZaw==; 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 1gWTa9-0006yV-Mo; Mon, 10 Dec 2018 21:59:17 +0000 Received: from mout.kundenserver.de ([212.227.126.134]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gWTa5-0006y3-Ti for linux-arm-kernel@lists.infradead.org; Mon, 10 Dec 2018 21:59:16 +0000 Received: from wuerfel.lan ([109.192.41.194]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.129]) with ESMTPA (Nemesis) id 1Mdva2-1h3tO0002A-00b3Ru; Mon, 10 Dec 2018 22:58:58 +0100 From: Arnd Bergmann To: arm@kernel.org, Kevin Hilman , Tony Lindgren Subject: [PATCH 1/4] ARM: omap2: avoid section mismatch warning Date: Mon, 10 Dec 2018 22:58:36 +0100 Message-Id: <20181210215856.2238253-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:4xNfypOG1G7KemGovL5smhPkT+WbudPJ33gdVGCu1Tj3Ec3qUoR TyQd9o3k0gnDQFOYHSD7mHWcwPAOkRBgMP7TxDQmDugBgrz7MHvL3ci1Q3nM78uYiiKGF1R f2pr8Ww/RxhXapwoSSyiND40NRjiabbovRuJL56i5dryP2/yFvpECuJRBjM1J2V0g20OE+B Zocqs3t7mmd6DrTvrmZpA== X-UI-Out-Filterresults: notjunk:1;V03:K0:G9nIODCCXis=:LWXXm/mQS1ubBy6fNESCXR wJrjp1mn7qniFZ/88nnZauB3WtjCJyeagvPjpJTqMjAexA46Vg5ZP25Higgjka655BkKE9xZV WZAdO82shBPideu5BcgKX3Po9DttgoWFU+2lUfFRZtDR4cp7TyFFnpBaVt+VIKwR5EZ+pCEqh Vot3l2LIjE86VFA7w15iH+nnRlqMVS+q1sHWzBEll2RVJFi4ErI7kRQ889sSVAtIuRGfZnRv+ l52AvS+kBqNhguZiVQojz0Y1LVfOvWOpGX+8Ht3KwERI3mq1/jWIMvmHojzGLhY3F+hn2EjSs GYVbJZ10XZeF4taln988IJggn25tkB8yMD+t34/yZ/ecOGMWUnyBqXQOCrYgbR3Q/QB7RzIL0 erjY4T+0XBycItoqTIagX/NQ7l5Ue42SMsVDj442zlVRwEcYsXIxczsyaUULpdQwDS1URUkod Et3f4zHXmFeDQBd76G2jKI5Hp5GqgEoZzm0HxmZE+a6GYtriK2vn3cePNF6yLd2vkeTU6F0qw SKaXPZvPnC4+XeHpD2a1F0P73m29PtNOZX+ySY3e5IUC7ra85YCQHdpROguKSuGkY7iPy8qzu 4igcXGn2XTPFGtOuqTS5eKyg3I8Fyt8vDao3trj5QbKC6B0sVWXfZmqDjmmQpZwLYnbPm581k UzFqa5CVPNBzXM1Ux+D2smByYQPFlL3MaAmKKyOMLu/loMRwQm97A3u9JzvNcVZOhHh5reu1O vyyLNobE3Va70dL12INHEock/hn0jwQr9tNuYA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181210_135914_802070_141ACB20 X-CRM114-Status: GOOD ( 11.80 ) 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: Arnd Bergmann , Dave Gerlach , Keerthy , linux-kernel@vger.kernel.org, Tero Kristo , Santosh Shilimkar , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.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 WARNING: vmlinux.o(.text+0x27530): Section mismatch in reference from the function am43xx_suspend_init() to the function .init.text:am43xx_map_scu() The function am43xx_suspend_init() references the function __init am43xx_map_scu(). This is often because am43xx_suspend_init lacks a __init annotation or the annotation of am43xx_map_scu is wrong. Signed-off-by: Arnd Bergmann Acked-by: Tony Lindgren Acked-by: Santosh Shilimkar Reviewed-by: Kevin Hilman --- arch/arm/mach-omap2/pm33xx-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/pm33xx-core.c b/arch/arm/mach-omap2/pm33xx-core.c index f4971e4a86b2..724cf5774a6c 100644 --- a/arch/arm/mach-omap2/pm33xx-core.c +++ b/arch/arm/mach-omap2/pm33xx-core.c @@ -28,7 +28,7 @@ static struct clockdomain *gfx_l4ls_clkdm; static void __iomem *scu_base; static struct omap_hwmod *rtc_oh; -static int __init am43xx_map_scu(void) +static int am43xx_map_scu(void) { scu_base = ioremap(scu_a9_get_base(), SZ_256); From patchwork Mon Dec 10 21:58:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10722595 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 58E966C5 for ; Mon, 10 Dec 2018 21:59:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 483222A5C1 for ; Mon, 10 Dec 2018 21:59:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3C5762A5CC; Mon, 10 Dec 2018 21:59:32 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 EABEC2A5C1 for ; Mon, 10 Dec 2018 21:59:31 +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:References:In-Reply-To: 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: List-Owner; bh=eyeqox28Oj9TWbcdqnkCAVnqk1bBM/tyKgvUqowQlHg=; b=dLAQNhSBV7N77F Xn71N334nbmCZItqKbMgVNrFGeeu5fdA6yX03crQdj5GQCWCJBPBs7XMrVaxfBH045xq5CEL/dGnN P/a4SSyu+glh/bYIqy/gNYWqlP6hsI4lvbtw3xDpRiQtQ7LARlHVtQ9K1rx6qPvjoQvQYMKMoWD4A Tf95yPM0eq1N+aaVGvt1nGeDH2LOhf+OjArGH5CFxFX7t7vf7iwfCUjK45MO5rGql4PT8VMl+RQ+o EGK+2RwHowbLoKZhYXKlaNeUPdVEEiJZspB1wsD0N9znd6gWfKWCeJvky/bTXU7bblaKAaSHV3nKm T6sqqaPkoxlm+0eSJlMQ==; 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 1gWTaN-0007C1-7k; Mon, 10 Dec 2018 21:59:31 +0000 Received: from mout.kundenserver.de ([212.227.126.135]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gWTaI-0006yK-Ck for linux-arm-kernel@lists.infradead.org; Mon, 10 Dec 2018 21:59:28 +0000 Received: from wuerfel.lan ([109.192.41.194]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.129]) with ESMTPA (Nemesis) id 1MhlbM-1h9x8Q27to-00dpPE; Mon, 10 Dec 2018 22:59:10 +0100 From: Arnd Bergmann To: arm@kernel.org, Thierry Reding , Jonathan Hunter , Arnd Bergmann Subject: [PATCH 2/4] ARM: tegra: avoid section mismatch warning Date: Mon, 10 Dec 2018 22:58:37 +0100 Message-Id: <20181210215856.2238253-2-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20181210215856.2238253-1-arnd@arndb.de> References: <20181210215856.2238253-1-arnd@arndb.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:pVzuuYiqZoGnxIy+9O0ggSKEMABUdN1/PH8ap7LXzx57zWT85/C H5i38KO1MYUDuBDwzj2oZtGDnf2B0nJUcYb6tDuCQ5PclG6juq9E30nyxT3bzPFhjyA8HS+ qgT9XnOgvQQHZWq5vq2ZGNabnTPvLHqVfDIC/jAH9RhP2GnZaC+FQO5d4dSNTbf4kCULpXY htRBQ9zpnaH2qPSt+eXAw== X-UI-Out-Filterresults: notjunk:1;V03:K0:NR/oVWTKn40=:f2ARBWMyYmyXlnsazBYwCc JUmDGB+JHoTUwWfa0w94mZTeMvA66IoDU6pZ66NV5wAQhZ2a2gXQVkKuUCM7RqMqKnNFqRj2J On+rlH3gQrAFA3QNeRQMzbY7NEfI767ywEdIRVue8qKJL+Z4mh2k0CTxU+06OZ0rbD52mzyKb Pq6ci9ScKBzqI7poSrCB9tI6zNq03gi3RmjtqEF12e3u+0GfWkPMiHkNxBF1UI69iBlFMYwUO Nvmaue+liI5jAYucUnSObCDX8AJpo6KnRXMZNyrgA7QNou2MWaxNaSHLvVbEuTycI5kL8Czfl VDqabZ6LO9NEXiTj0Sicyc4vvNCFWsaAbeH/6dZdJPKOycq5vJNJ7pyBygQXAlOko12s3v8cA bcCJcEhX+H1VViF8NurwSDHN7Ni5crfziC6menWuhsSyp/QO4oibyho2LcAFtqgYJDFGWJVDl M7dUbF5uYvhXBTmmqbAgK0ZnUNzIBSREbtUgXeTn5FB/YMpgt7wXaGQ2eWTlhrppyd/EnCId7 vcJEs87ZW3L2/mfUeEAGXf3RsxtYrA+s3Bji3nBuJDrj2Q2UJwUWrglZcmR6rNzq9LzLoESs6 m2cWp/koI3RM0De3NnX/4QRJelKgBxRa5Z88Yi193iulnrsLh1r2ZFMP2KwWh8/UIpTyzRJ8Y odst20GVd//mMgTESu2yoZm9rf6UNc4rd4dO+PvHiuXbo4r1s0HwItd+6hd/RISt/leZgvLIQ S3c2p7M/xIO2GMopTdRRJg5IcIUcBW3as5ruOA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181210_135926_957607_364D58D3 X-CRM114-Status: GOOD ( 11.11 ) 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: linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.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 WARNING: vmlinux.o(.text+0x39ecc): Section mismatch in reference from the function tegra114_gic_cpu_pm_registration() to the (unknown reference) .init.rodata:(unknown) The function tegra114_gic_cpu_pm_registration() references the (unknown reference) __initconst (unknown). This is often because tegra114_gic_cpu_pm_registration lacks a __initconst annotation or the annotation of (unknown) is wrong. Signed-off-by: Arnd Bergmann Acked-by: Thierry Reding --- arch/arm/mach-tegra/irq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-tegra/irq.c b/arch/arm/mach-tegra/irq.c index a69b22d37eed..a186ab663b0b 100644 --- a/arch/arm/mach-tegra/irq.c +++ b/arch/arm/mach-tegra/irq.c @@ -72,7 +72,7 @@ static const struct of_device_id tegra114_dt_gic_match[] __initconst = { { } }; -static void tegra114_gic_cpu_pm_registration(void) +static void __init tegra114_gic_cpu_pm_registration(void) { struct device_node *dn; @@ -85,7 +85,7 @@ static void tegra114_gic_cpu_pm_registration(void) cpu_pm_register_notifier(&tegra_gic_notifier_block); } #else -static void tegra114_gic_cpu_pm_registration(void) { } +static void __init tegra114_gic_cpu_pm_registration(void) { } #endif static const struct of_device_id tegra_ictlr_match[] __initconst = { From patchwork Mon Dec 10 21:58:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10722597 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 F2EE16C5 for ; Mon, 10 Dec 2018 21:59:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E21382A5CC for ; Mon, 10 Dec 2018 21:59:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D5E292A5EE; Mon, 10 Dec 2018 21:59:53 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 9539A2A5CC for ; Mon, 10 Dec 2018 21:59:53 +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:References:In-Reply-To: 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: List-Owner; bh=DW4hfitImfa5nnL4/Ct7w/X14vT1MoLKFCU1ZmrfpqI=; b=QiB9gDLwn0HzGn Y1332ZHAvKpddg9coZJna2mL/d3RipvVCqkR+zBXxFzM6e8LICYIRThat8fvK2YVYrtjpnTyPcyJr NuZMWtIPmLJOerkjd3f9vIfVKidjU8OCeFdwA9BKYbqf2WD/77nQrMPQe+oJAvU9WZSD5ASCjNp+2 5rd3EbDk9y+TN2LW8mrLsurjnHSv/maWOoPTavz7ruPTfroGBSYyaJU9JUSDm5rS8QyTHyU1fqgwJ Y+x92LgMOcJzS4Cu5pca4So7sgnr4ETeTWkxj9mqauRyKK1Dty/DVMRZI3FV4Xn9KUFDb7EzkAn6K ONCRl0sAPgwJVNyosbYg==; 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 1gWTag-0007Sq-2F; Mon, 10 Dec 2018 21:59:50 +0000 Received: from mout.kundenserver.de ([212.227.126.130]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gWTaZ-0007C3-7A for linux-arm-kernel@lists.infradead.org; Mon, 10 Dec 2018 21:59:47 +0000 Received: from wuerfel.lan ([109.192.41.194]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.129]) with ESMTPA (Nemesis) id 1MrPyJ-1hHLfj1trD-00oZyJ; Mon, 10 Dec 2018 22:59:28 +0100 From: Arnd Bergmann To: arm@kernel.org, Greg Ungerer , Robert Jarzmik , Wolfram Sang , James Hogan , Arnd Bergmann Subject: [PATCH 3/4] ARM: ks8695: fix section mismatch warning Date: Mon, 10 Dec 2018 22:58:38 +0100 Message-Id: <20181210215856.2238253-3-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20181210215856.2238253-1-arnd@arndb.de> References: <20181210215856.2238253-1-arnd@arndb.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:C08GXU7G/QybJVSD6XwmX6YnmR+EjGBU/Jra0yrgutJo0sYTaDd 9syqErBwHA8qnXfo+0SrIcGwI21H3g6LYFSFK5+v1umL5eLNfNQWQuHZc37wnZo+pzPK+IX Xb5c/GiDmdU2E0GGLDzBsGoQtBx6DoMb2AhcOkNB2YtSX/09ie0tZgTFkNJ+9EUFBnuNvH6 QATu7Ik6SBwZquhJ9xzOw== X-UI-Out-Filterresults: notjunk:1;V03:K0:Ntbpk4aPYZQ=:d0XjQYNwtnuQM85Pi6ajdM FMW7i573FTC4U0FhsPfu/5R+aOhR+MxOelpOODeEdbEe3jou7KEoB08yIBfSUw/+gOpGiwSOL TqXOwWf2JKz3vO6BOPCjUy+sGPP+1k3BHOcCOstohqCyMKmGAQbGGYCabvtJ6xy1x57QLYWRP E5SEP6FiaSOmSwXC8uyNA4JmVUHWVEA7lg+6cPWD9jkj98fbMiSrcx3VeOi8m82MP+mZyBMFu KY2aeMY1Zo8slt5M/JcRD9j4p3sV00pg/jDZoEVkCLWEVIAqOQ64ixnEJWeGuxyHLXqSsRtp/ LUKT/afsONPkF20rFpIl/EOj3wyjoxo/+IRp0dOafdyKHtmeBXDImlopQP76Q/fiWZw7ExzpZ 7YEyrXXnIXM3hE31//H2eVbg8ipS0Q/o1GxhCFCjizxw8XIhX7Sk1HK9ARJpPm9ExhRTbM+IC sLTfgwELHXozN9Gy05E3MtuDf8v7EYJ1zaQcg0PEE36eHPKBtqOMxjdXg8d92k/GeKwzMCaFN znoWurQdgMorW40zUcJyvv2edI+ido1xIFhJD+zw4WnZO5MP54TJaITmUzTCuElYfddXew825 kWMXTWtrah85heGqwd8lkQGKnACQ7FbZBorDPTwnkSdLLy6OwXL3QzMqOktOLbNvtSrfgBXWs D3cDA7Hzzh17X4nMFn7MOAcxuz1nTMvJy0xdfFawyzPyXXJ3lZM8H5114UpGcATjZ0AA7gaF2 +wrVO83GKc3FpI7ii24KqlLeVoxCG8Zgk+XSqA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181210_135943_962188_C21CBC58 X-CRM114-Status: GOOD ( 12.53 ) 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: Lee Jones , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.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 WARNING: vmlinux.o(.text+0x13250): Section mismatch in reference from the function acs5k_i2c_init() to the (unknown reference) .init.data:(unknown) The function acs5k_i2c_init() references the (unknown reference) __initdata (unknown). This is often because acs5k_i2c_init lacks a __initdata annotation or the annotation of (unknown) is wrong. Signed-off-by: Arnd Bergmann --- arch/arm/mach-ks8695/board-acs5k.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-ks8695/board-acs5k.c b/arch/arm/mach-ks8695/board-acs5k.c index ef835d82cdb9..5783062224c3 100644 --- a/arch/arm/mach-ks8695/board-acs5k.c +++ b/arch/arm/mach-ks8695/board-acs5k.c @@ -100,7 +100,7 @@ static struct i2c_board_info acs5k_i2c_devs[] __initdata = { }, }; -static void acs5k_i2c_init(void) +static void __init acs5k_i2c_init(void) { /* The gpio interface */ gpiod_add_lookup_table(&acs5k_i2c_gpiod_table); From patchwork Mon Dec 10 21:58:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10722599 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 2F1866C5 for ; Mon, 10 Dec 2018 22:01:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1C59B2AA15 for ; Mon, 10 Dec 2018 22:01:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 05E1A2AB32; Mon, 10 Dec 2018 22:01:15 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 9BC0A2A851 for ; Mon, 10 Dec 2018 22:01:15 +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:References:In-Reply-To: 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: List-Owner; bh=ue3CEC24PeMdibBm9vQ0kCAgKYbeNg93loheE0oWbwI=; b=gL3rSrimvBEyTQ 3Cj0KDLeSbyuwp9YdLlQk3APxnc+xhcSHRbCHxMric7AOZYXIJ0p4UAVUeLJAFO1A1Sv+coQhQhQE wQ17x+ngsHcv74fUtsBFMnyDLv0wWglncSDRZTFulecMk1hlqiOTs67F1pQC9mDq9iVusbpxfdhLc ofOjnUcTTMScDzGqy2Gg2eqzFSQ3j+O0nmcbfFiy0U18QaRe0wo9Za7WtVDWzMFJCv7XRhmP43mdl nrFov1qSYGPLNLoQAzu3m5Z04goqsxbc2+mCb8v/JuhciS+wh/8dezS5d0WHt/zFmnNZY0LgNScvt BBuQB6AYndaiWdMB4HbA==; 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 1gWTc0-0000Ze-Fe; Mon, 10 Dec 2018 22:01:12 +0000 Received: from mout.kundenserver.de ([212.227.126.135]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gWTbw-0000YZ-Tr for linux-arm-kernel@lists.infradead.org; Mon, 10 Dec 2018 22:01:10 +0000 Received: from wuerfel.lan ([109.192.41.194]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.129]) with ESMTPA (Nemesis) id 1MDQRy-1gdb7r20LW-00AYJq; Mon, 10 Dec 2018 23:00:05 +0100 From: Arnd Bergmann To: arm@kernel.org, Daniel Mack , Haojian Zhuang , Robert Jarzmik Subject: [PATCH 4/4] ARM: pxa: avoid section mismatch warning Date: Mon, 10 Dec 2018 22:58:39 +0100 Message-Id: <20181210215856.2238253-4-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20181210215856.2238253-1-arnd@arndb.de> References: <20181210215856.2238253-1-arnd@arndb.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:op5fpHUg413BwkzBl40iq+Gi+V2I2A80rX9YvUBiIA3ewZpCu3+ 4BfpTBlnuSadxNlcNhoiRjVsPjHgrkdfa+hn29jiLca60B614GT8lwcVG2V6XNH3nQAfEJB C14/CzU1Ml/twPNzD8LGMwGGiAojrq3F5ZVSgzEEPkR0alfPoMYNrPOnNytDWbd7DTQ3iiY 5zca4d+M+TCFXh6CVVTiA== X-UI-Out-Filterresults: notjunk:1;V03:K0:hrlG9Un2ALQ=:DCcryrPNDhf7kmYDcs4RXw TeC+J75xO8JdCPVmpVbrcVz/8vQ9KSkkMusgjGJAS1m8B6gjibqYNVoJhOXn+fV2/Q1cRvVYS pSlctY+MP/zF6zpTOaFRJckAc9wGAGq8rQE2l8lWYaWD1Xr7yoEUm+tx0BwBnWfwbg4MQFZT/ oaa1VTtjv1pOIVdNgvBY0qOgvzv82Qwm+mAsj/HgpmsqtfaIr/7Ogw1M+lbD4sAgtkxG4IM6/ P/yRMpMIF9NswmJ3C04NpEYnvatKb4v4m50TdVfnO38AoRuLd2u64n/DnD8NhPUVYuggu7+Sx Li43CdWd5AWRDEEewi0IYlJfRD3zBWFurRWtEA+9p5mTCiLPzAGWBPm4+wcCgyE/vVUs7nMG+ WkE8pgVrevAYOHfLYFHp4vZN10fB3N50VuBCYnZN3qDyY1IeAKzITmY+WyLAjcTwHQZFu/Hpz 18i8PD4BrJlYSsHif/fiWfGOzeBdCOSrnVJ/1XeU3cgSL4ZITceEtcy0DWUi4Ta9OIC3nBTve rtOUmQ3hGxvXzjjOSEYXWAi6/OQGsXuVehbHsEA34xHlshqiV0o91jG76dBCeTz89KoK1Ba/f oCXij6SUi8Wf7y2jYRLokrOb7qSNfUpAofEHV+QBz9enpYLuABWePi2X+okJzBDMYgQjyNANz cXH7b9EJCd5HRoLNgqjPRlyH744WtUauUO7lkZebDMAwJmGeXwEFXp4B/Aqqt68dMX2p/6xiA VLjLwlVhHIGYXWI8AaHeO4KTH0By0iVAMrEP+Q== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181210_140109_264827_C21AEA3A X-CRM114-Status: GOOD ( 13.49 ) 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: Ulf Hansson , Arnd Bergmann , Linus Walleij , linux-kernel@vger.kernel.org, Igor Grinberg , Miquel Raynal , linux-arm-kernel@lists.infradead.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 WARNING: vmlinux.o(.text+0x19f90): Section mismatch in reference from the function littleton_init_lcd() to the function .init.text:pxa_set_fb_info() The function littleton_init_lcd() references the function __init pxa_set_fb_info(). This is often because littleton_init_lcd lacks a __init annotation or the annotation of pxa_set_fb_info is wrong. WARNING: vmlinux.o(.text+0xf824): Section mismatch in reference from the function zeus_register_ohci() to the function .init.text:pxa_set_ohci_info() The function zeus_register_ohci() references the function __init pxa_set_ohci_info(). This is often because zeus_register_ohci lacks a __init annotation or the annotation of pxa_set_ohci_info is wrong. WARNING: vmlinux.o(.text+0xf95c): Section mismatch in reference from the function cm_x300_init_u2d() to the function .init.text:pxa3xx_set_u2d_info() The function cm_x300_init_u2d() references the function __init pxa3xx_set_u2d_info(). This is often because cm_x300_init_u2d lacks a __init annotation or the annotation of pxa3xx_set_u2d_info is wrong. Signed-off-by: Arnd Bergmann --- arch/arm/mach-pxa/cm-x300.c | 2 +- arch/arm/mach-pxa/littleton.c | 2 +- arch/arm/mach-pxa/zeus.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-pxa/cm-x300.c b/arch/arm/mach-pxa/cm-x300.c index 109fab292f94..b76b566280fa 100644 --- a/arch/arm/mach-pxa/cm-x300.c +++ b/arch/arm/mach-pxa/cm-x300.c @@ -564,7 +564,7 @@ static struct pxa3xx_u2d_platform_data cm_x300_u2d_platform_data = { .exit = cm_x300_u2d_exit, }; -static void cm_x300_init_u2d(void) +static void __init cm_x300_init_u2d(void) { pxa3xx_set_u2d_info(&cm_x300_u2d_platform_data); } diff --git a/arch/arm/mach-pxa/littleton.c b/arch/arm/mach-pxa/littleton.c index 8e0b60a33026..39db4898dc4a 100644 --- a/arch/arm/mach-pxa/littleton.c +++ b/arch/arm/mach-pxa/littleton.c @@ -182,7 +182,7 @@ static struct pxafb_mach_info littleton_lcd_info = { .lcd_conn = LCD_COLOR_TFT_16BPP, }; -static void littleton_init_lcd(void) +static void __init littleton_init_lcd(void) { pxa_set_fb_info(NULL, &littleton_lcd_info); } diff --git a/arch/arm/mach-pxa/zeus.c b/arch/arm/mach-pxa/zeus.c index 897ef59fbe0c..c411f79d4cb5 100644 --- a/arch/arm/mach-pxa/zeus.c +++ b/arch/arm/mach-pxa/zeus.c @@ -576,7 +576,7 @@ static struct pxaohci_platform_data zeus_ohci_platform_data = { .flags = ENABLE_PORT_ALL | POWER_SENSE_LOW, }; -static void zeus_register_ohci(void) +static void __init zeus_register_ohci(void) { /* Port 2 is shared between host and client interface. */ UP2OCR = UP2OCR_HXOE | UP2OCR_HXS | UP2OCR_DMPDE | UP2OCR_DPPDE;