From patchwork Wed Dec 4 17:55: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: 180840 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp950336ile; Wed, 4 Dec 2019 10:17:08 -0800 (PST) X-Google-Smtp-Source: APXvYqzncZGTm7gbEPNMVABAoN77rhWXBrO5ej8g2ACPr3TvA3PRqXeduVuS9NA5ytJkjfOHd0i4 X-Received: by 2002:aca:cd92:: with SMTP id d140mr3604239oig.68.1575483033694; Wed, 04 Dec 2019 10:10:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575483033; cv=none; d=google.com; s=arc-20160816; b=g7CmaeI12dvzDSPrzLrvhbLrAYzdDBF2gPDcowUYX2SonrhXdLzAA+SJslJ0QknAu9 spIwx+LtBYbAm8g1TP0dnhVxolqb/8M7xNxLtyQswQmeOqEVEbeYWjvTGIvu8JMGpq9Y ZFZMoRYvHSO1thPN16DUFM89isuIqn1i3m7HCwY/AFrUBRcdxP7Xos7ee+b3AsI+yYV9 XjIhX6R3ye7EfG3phqtRpSBBN0q7gUiw1FIGQdKOY7UUbEaKAPsC55FkblaBAdF+LpM+ BX7JLzJmrmh6J3ZYKUeuUx3NcamyL68PLTM7jkIuX6Qq/LBYIQGBDRTZZBxNd92yK2Ru arvA== 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=A9fjV5r0xtdPiX+5gUoCLYqNo+hKepPR+Dyy4WztDuZvh6slKbJgJkANcW/7CGCZlL Wdk9Cze76yz15JHb//gdiV3UjVn7xqT0ovc/S81cJr6ZjypxGZytJLPc/MWXDZ7Yt5jz rPKEwTpT3tyt8Ri9xdOPCqF5IA7jQ8tlvVWJb89tujlg8RCHbgx9R19xgFaLifdX1byk R2AgVjkoVMENRuch3tyfX1eNih3x623nrs8/7szw7zWN4FxBKH3Z/ENgPM3JyTXwybSI T83bbLgKBpKYZx7zfKQAgxbTtrCp/HHui8gQmgMYhRdMEoXI1F/UiqL/KFVSA+qYwK/T n1JA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Lj1X/L5/"; 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 g2si3790633otn.117.2019.12.04.10.10.33; Wed, 04 Dec 2019 10:10:33 -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="Lj1X/L5/"; 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 S1731281AbfLDSKc (ORCPT + 27 others); Wed, 4 Dec 2019 13:10:32 -0500 Received: from mail.kernel.org ([198.145.29.99]:37770 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731260AbfLDSK3 (ORCPT ); Wed, 4 Dec 2019 13:10:29 -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 121EA20675; Wed, 4 Dec 2019 18:10:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1575483028; bh=OzYtwF3JQAAv1AmFBZhtaXfAlBLGifIQv0NrdVQPlHM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Lj1X/L5/Tkhzei8MB+vzWmjgonyJ0uCw6Ydr1zEXg3D5fY6KjJbcpiHN8MTfaHQmh LPTqwLpYfBhKT0NDq0G465C4slJJvJ5HpXaN41Tyq6MuHBW5K4JtPXyh/rJfnmHngy 8jssZQlQobFVMk8g4Ip8TLM+pmobnuk9lzNbKwBg= 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.9 022/125] ARM: ks8695: fix section mismatch warning Date: Wed, 4 Dec 2019 18:55:27 +0100 Message-Id: <20191204175318.999667463@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191204175308.377746305@linuxfoundation.org> References: <20191204175308.377746305@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);