Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp61816imu; Mon, 10 Dec 2018 16:09:00 -0800 (PST) X-Google-Smtp-Source: AFSGD/Wr0NBBeITGLbvNgctImylv3zquv093plAR6vXTQNPhD2J0KQBcEBuJZZwpxkjAHDeuKY+x X-Received: by 2002:a17:902:c5:: with SMTP id a63mr14248465pla.267.1544486940904; Mon, 10 Dec 2018 16:09:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544486940; cv=none; d=google.com; s=arc-20160816; b=EsYbaUsD8Gd0jTwznIoQUpKrEEvalcfjTqt+ZsouvHBbZ9gVTLuK3Cphk+PvYaE7d0 giOfngJWUGHsfnVcIOQYQ5tmgbfbD+HRRIWMlLWhxjLyEGMKFkWxJlQRi8x92aQry5fm 5MwtAi3F7vrm32h2dhrUytUEqawiXeCnbCiI8PbD7w+smzDsBWlHbRWeG79ANSQCeAyf uBSJuTPVzsyjZdaQ46HD7Cx+k9vzgaS0bRRHvLx9yX8WjCAfFJWciy+uukEot4Lq1uSB W2VsOhSpIqLJ8JMVMm4D/f68Yr4z0JxvZ2IbQk9Fz9e6+Ry+kCWWgbS0mbZIWoFL4U3f VXnA== 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 e9si10953358plt.330.2018.12.10.16.08.46; Mon, 10 Dec 2018 16:09:00 -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 S1729162AbeLJV7v (ORCPT + 99 others); Mon, 10 Dec 2018 16:59:51 -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 Content-Transfer-Encoding: 8bit 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(-) 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); -- 2.20.0