From patchwork Wed Dec 4 17:49:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 180819 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp924943ile; Wed, 4 Dec 2019 09:57:46 -0800 (PST) X-Google-Smtp-Source: APXvYqwJu8TMW9iqOivJJwK2Z31dIzM7Aw/dTNKpUXvbiSwf9zHBHKR6PbTpuq+ITTMBxYkWHPKP X-Received: by 2002:a9d:774e:: with SMTP id t14mr3354103otl.358.1575482266578; Wed, 04 Dec 2019 09:57:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575482266; cv=none; d=google.com; s=arc-20160816; b=adQlsmrNZ/NEx/a0w4Q1H416atfNSGGx5Q/IOIORXEUavVJU94wPIH6Pr0ol9bp9N4 SaqC/wDbl1u+i6Nnlwok6LnF/59ubO96Ly1iD6PxrnimODqweynnh/OqFHkkGb81yDhq MwjsAUq/Yh069DHrIXASxdacYjGaaycZffBAZ1j6wL1M9b0fRYMp1fgj5QIubO07YM4x ALaFpe1iwdyGY8cxxkQZwCGi4ZTkRy5q/XtEdnOmSbzFr2GB8VoR0BA32NfO4W4I86w0 EoO6qfNYGXZW+lt9yobG2EQ0DX/PU9kT92qrinLkwwBrRp5jlieSPWZuqrHLjWRjPbG3 +APw== 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=7tl/LRncRhJp794B3NmB3JhU+4i3yM8W6vO7lIyB4po=; b=yQ0ZjOLTu9OfLRZOtOvKCnmYZjwyOfhbxEMRC9BlNAes/wIQL/JAB4crjMQNa5TBgO zXeyNY+tf24DsZR6g32vzjbbGuhAUt95tx98Zlk79GLynFPb0pMVEZEpbg8S48og1ZLm CvdNrv/SdwZo1qNy1NTPt39NtB32KU9fHYAByCmoYuKze5SvKBlzHqW4IZxwuCUNo4yU 7ZKjoqkWA86cFlsBq2+TAWFZy53gOROlvxhuQ2YEdaR0+T8emtvsf9vxeN7ec78B7rjj xAk7nQg38ua6/c1Gro2gO3Pe/rNIUlORXsDzepRn1g2COTgejl3Xo9vq4qOq33lYy5Gi 6kzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="PU/tJQio"; 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 w4si3490225otl.214.2019.12.04.09.57.46; Wed, 04 Dec 2019 09:57:46 -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="PU/tJQio"; 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 S1728369AbfLDR5o (ORCPT + 27 others); Wed, 4 Dec 2019 12:57:44 -0500 Received: from mail.kernel.org ([198.145.29.99]:58808 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728342AbfLDR5l (ORCPT ); Wed, 4 Dec 2019 12:57:41 -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 8AD1F2073B; Wed, 4 Dec 2019 17:57:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1575482261; bh=cxbX40+yMebtvgtypjYfDbKSAlYOdV5SCSC0zAhdyaI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PU/tJQioApDfddDF0sWOivRVBjjIWyg+eKwolAu9Un25n8WHvd7k9eMAkAxvB8zo4 BbFq1dnEvCPNOpOGPEz+RdJlmCL5b0o4Mn80isRZdcJ2lQiwHP8vI2yBZ99SQZ6f5e T3sYhBEkg8BvVlpBnA6gpMM8+KFv5FtxCTFlqlJE= 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.4 16/92] ARM: ks8695: fix section mismatch warning Date: Wed, 4 Dec 2019 18:49:16 +0100 Message-Id: <20191204174330.411393155@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191204174327.215426506@linuxfoundation.org> References: <20191204174327.215426506@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 9f9c0441a9175..e372609c48dd0 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);