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: 153375 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp4058367ljp; Mon, 10 Dec 2018 13:59:54 -0800 (PST) X-Google-Smtp-Source: AFSGD/UkyUYSgqoxtmQE2tt+6S69thx/3QXx8oRg3CY7hDtMO8EJyzZVJR/4oNEZB8YB0qpk43uf X-Received: by 2002:a17:902:1122:: with SMTP id d31mr125403pla.246.1544479194518; Mon, 10 Dec 2018 13:59:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544479194; cv=none; d=google.com; s=arc-20160816; b=MRjeV+0aqSQjLR8G76vvGuu/asiQSqAUJOs/RKwp3v0kOOps8oP3OjV5ii84DTTJM8 6czNjitkM1KqjvlxdDzgUfMoctLB33sPbw1DCyr+1TJmZXpQS09QI2P1jXNSUl3ndxNl LbvD/3tLD33nFOlMsS+R2OcyRQCFIANHWxQcqSlKrLmlvTncxXyGNumg76jlHXFM5w7U U7KBq5fN96InB9bCktAV7Mxzm//xVQ7swIh12UY5tyNm2I/2AWOubtiZYpLO81mVlRWh rRiQ3qEPSOE+U8K3NElUj3svUlhI8yUYl1IhNMsm2HXYcTY42yoQvqI5jyqLwR1Gl0AJ 49sA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=RwK8q3vnoErNtjirZ/UCMPF5dHhgOFQkGjF/0/ymsjc=; b=yzujCevWJFe9/7wTdXv6akYRXEVhA0gqcCrFMKC5P5sxFHTQWnE3FRFlKMX85xYkMq sZ+dRT+W3m86iZQ1TEeFAH1CQJ7JAcaCc20NuDtS/52ASLxnjtdVk0FULEGze5kqew2q 3A6AaEspNCI+FjBXlQTeCAiak+scCgEDQZ52QLMgC9kyfDiykZZImvng67qko4xp15HJ blCxOL+d8x95QlibgItcSMDOXdvQ0pClcJwPgHV//zscv+S9N+DX5xR9slkt1bzFX5kh vXKIXcL7sCiNHFP0uRBQ/2qj83ZqwihrnDr7LtLpKJwe7iJ1mY2gPBQAQyaKkNqpZQuj Eb6Q== ARC-Authentication-Results: i=1; mx.google.com; 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 j7si11645140plb.91.2018.12.10.13.59.54; Mon, 10 Dec 2018 13:59:54 -0800 (PST) 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; 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 S1729264AbeLJV7w (ORCPT + 31 others); Mon, 10 Dec 2018 16:59:52 -0500 Received: from mout.kundenserver.de ([212.227.126.130]:38549 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726024AbeLJV7v (ORCPT ); Mon, 10 Dec 2018 16:59:51 -0500 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 Cc: Lee Jones , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org 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-Spam-Flag: NO 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== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.20.0 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);