From patchwork Wed Dec 4 17:54:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 180827 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp931716ile; Wed, 4 Dec 2019 10:02:43 -0800 (PST) X-Google-Smtp-Source: APXvYqwvOhIcmg4WJnby3c1/apkgXuE4Dk2f4R7LUEUGpu4BihLm18ZIZ5GBy3Qb1ZzWzZEZy6A8 X-Received: by 2002:aca:2210:: with SMTP id b16mr1743444oic.32.1575482563607; Wed, 04 Dec 2019 10:02:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575482563; cv=none; d=google.com; s=arc-20160816; b=Wk79EZhoe2OWt/MPIcurNkeSHMbjGEYk4GSq6Oe/MP3cndMnllorT5SlqcCg31gY8o WNzQvTOFSE+QryUsv1CYQ9fzdyEF2W3qTCzj7g4mNqlit39+MMjIVD4KsCe0Vxyu6oKy /ZepjDkkjjQbr7epN3c214LOdbVZ1xV+5bAqnpWrNLngluKQkJBlicv1K5RCmJ0AfETN FZUvSKdyJ1pAy6lV8wKOkWaW69tYZfarr7iILkw0qy5+2to7TUJYpm2yx6X2hJemrkj8 XQug0Dc1DKIHGhpAPlspdhrBCDSuAwjQTMSGbpRkRoYpTjzZYwLGHkeuWokRP07uSzRh kAiw== 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=xyVPCHftke5kiY05JTiPiDMFPM23+/maJR7GZzivlfs=; b=oRpnLkW+TMBSYMpBE6fSHK0Fv7vccXQNpD6dQP33ziOTCINLkzt6/Ps8bXx1kOSwtq Htpk9w2/jA4QeSYG6eIKH+RLIe5rIHBrYmYFRUSxg99tLllXRK8k7TJrepxU07wjBISb 3bEW45Ch6khfwFcR1IVsMcpZYr5JVjRVcyT6wmGYfHOopgNNnwnabP1XTuz5cz4wpiFI d+QICWe4VMsrBFWRHB4ZudIMfQDwRUr8cmzWUGdpwKpBG2AMA+bDZ7UsslMXF3NN/OfI m+bJOi300VsEsGhNnLKm/M/ttqb8XZVTLjwZlc7kdVnBXdy93x/UIK2LSshfh+i6jZGO GaFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=c0vqZnWp; 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 w5si3632940oia.239.2019.12.04.10.02.42; Wed, 04 Dec 2019 10:02:43 -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; dkim=pass header.i=@kernel.org header.s=default header.b=c0vqZnWp; 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 S1729121AbfLDSCl (ORCPT + 27 others); Wed, 4 Dec 2019 13:02:41 -0500 Received: from mail.kernel.org ([198.145.29.99]:44952 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729899AbfLDSCi (ORCPT ); Wed, 4 Dec 2019 13:02:38 -0500 Received: from localhost (unknown [217.68.49.72]) (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 B73D620865; Wed, 4 Dec 2019 18:02:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1575482558; bh=OzYtwF3JQAAv1AmFBZhtaXfAlBLGifIQv0NrdVQPlHM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=c0vqZnWpFqlRpOi+t6GIlVvfE3C5WZ7dhILpdDsbf2DyfhpqHTb+ZcuzKWhdNhPFQ ODsd/Yl5bjD7hfPMH+9N2YbqfwN/6TAHmnUmw3O09xDhiq9Ot99bL97pNx8VIqfuc4 /HbxJjqrnpxttUNr7vMV1gQsgbHOKqTio/ITYXhw= 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.14 042/209] ARM: ks8695: fix section mismatch warning Date: Wed, 4 Dec 2019 18:54:14 +0100 Message-Id: <20191204175324.319500098@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191204175321.609072813@linuxfoundation.org> References: <20191204175321.609072813@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 e4d709c8ed32f..76d3083f1f634 100644 --- a/arch/arm/mach-ks8695/board-acs5k.c +++ b/arch/arm/mach-ks8695/board-acs5k.c @@ -92,7 +92,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 */ platform_device_register(&acs5k_i2c_device);