From patchwork Tue Dec 3 22:32:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 180752 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp2154346ile; Tue, 3 Dec 2019 14:48:44 -0800 (PST) X-Google-Smtp-Source: APXvYqy60OE1wc+YZkBo83/N2s6QWI0H5LPtFkd47ZOFF7AjA/iiMv5d5UOyIjGK2y0BEN7yP3Fy X-Received: by 2002:a9d:7a8a:: with SMTP id l10mr189568otn.309.1575413324251; Tue, 03 Dec 2019 14:48:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575413324; cv=none; d=google.com; s=arc-20160816; b=gu2Z9eoWz58qBiFj0a6GHvJ4Po8dlqIqOHtguxk6uwdDnYfxf1ubQiW0IgEGNvQzVU 8WK7lsOxTLoYkTYTh8lM+FEi300/Xg6WLJBZEZQrhM/yAJhjzXlXqB49QJiVmnA7S06i dufwuaxtEtwwjyMse6KGhzKPSq1xHy/yY18D2h6g0rO3b+7CyqI+0fguVQUh/TvKqry3 XEz3eTLAc0ciktZFrL0i9H8g8d3q9Jt9AjOVyfveZ6z6E9YC3v9QBUwWkOVTULc80o3H JbPYF/QdBYg6KQVmIGsdE+6L9T36qve0i2G9jXvKnYMgnzLf4Hc3zBg9BbCEELqtAIMd MMKg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=YDZiTYd01hP36wxTWIlvy1YnZudtTas1g5SbFeV680E=; b=Qr43ncf9pRB56O16fGsFPfTHU7LIXMV8w35H0sW6brHCBxrkb61HOa6KoN1EULttV+ BQtzxu/AEwzOfbLFROBbHiZC0yp3tEId9AxogJfiF2htpQDLiPtnqq4GLgcF+pKNM8QH MldWmuOomu2s4ZfuzS8mxc+z6YLqx6CeO6p3/j4UYUzAW60CiJnkgoyLEym7nJ61OYZT y5R4VcgEvzdHHseuIQlBRVCA/uWakBoOwXDbnwynh7R68D7ObpQoq4vQmdNwlPjYY9L3 fZdNoSiqIzV+LY/bbb5C20QQW17oULCYyf5fowwD5FYvd7qyhgm1D9b/3uivRCHdp73C 1Dtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fX1+2bZk; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-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 t189si1281207oie.13.2019.12.03.14.48.44; Tue, 03 Dec 2019 14:48:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fX1+2bZk; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729472AbfLCWsm (ORCPT + 15 others); Tue, 3 Dec 2019 17:48:42 -0500 Received: from mail.kernel.org ([198.145.29.99]:39370 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729155AbfLCWsl (ORCPT ); Tue, 3 Dec 2019 17:48:41 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3F79320848; Tue, 3 Dec 2019 22:48:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1575413320; bh=NISoBMVF0NpWM66kbTqoeWdT27uAFHKgPtyG9pJJ1sg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fX1+2bZkPq76PZ7GZFpszGrRSPgYJEH26CNhf5rpf+z5fA5JCYb5fGiPfA+Edpskk IXuZssQuykoRMO/6nlQh1IYHK1TLFf0Rou+1Dx5M98Wuxk3GAWHjY6+8FKW5k74vsx XXeuiqPlRpwyb1WJiBBI/6VQBYFK0sERC9Ng0B9o= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann , Olof Johansson , Sasha Levin Subject: [PATCH 4.19 081/321] ARM: ks8695: fix section mismatch warning Date: Tue, 3 Dec 2019 23:32:27 +0100 Message-Id: <20191203223431.373128527@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191203223427.103571230@linuxfoundation.org> References: <20191203223427.103571230@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Arnd Bergmann [ Upstream commit 4aa64677330beeeed721b4b122884dabad845d66 ] 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 Signed-off-by: Olof Johansson Signed-off-by: Sasha Levin --- arch/arm/mach-ks8695/board-acs5k.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1 diff --git a/arch/arm/mach-ks8695/board-acs5k.c b/arch/arm/mach-ks8695/board-acs5k.c index ef835d82cdb95..5783062224c39 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);