Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2462848imj; Mon, 18 Feb 2019 06:28:11 -0800 (PST) X-Google-Smtp-Source: AHgI3IamEwKfidKyfGTyBWUfiLzyk/A3aAF8Xjf6jAcvW06bnN3WgCmGyTSKQ2Lzf/jZ8zORfaP6 X-Received: by 2002:a63:200e:: with SMTP id g14mr19242593pgg.235.1550500091607; Mon, 18 Feb 2019 06:28:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550500091; cv=none; d=google.com; s=arc-20160816; b=JVAhO6fiAVaDk4o176JQCfqCFjpemwhXLvl5EvGzUlAn4yk1ptAbuZ8BgxBrhyaWuZ kGFRnHyLHVWB+pXKNyfvuPiPmGdxHOOMQ3067gstHnzS22rx9bdcqDXNHOJ/eaYpaA7P mvnwvsEhUjif8qxUiPkB7CZBVjcp4hx8wkwttgVugoqplFG7lUQOEQ+75tiFnDcGs0BA n8gPcbngnAaIDEOHEsVbXPR7LwqFeonqGb3ABhH3u3DQUKGWlHBxYKTLiwlqqHmr253M satjnCpbQSIdj75ER6bYS28F2fSKPNr/KELqAdXKVUeHgG92YpRsDVSypp08mS5hVzO9 Ln6g== 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=3ZFsc3xqG4zVQ1vr0qiyBre5qbOTPq+psiQjSahBmHg=; b=WYK1FBqWM2H8DNUPBIkg6x+ogSPSmizHaw9ywh12tNU3PpJQkzt5/rJRWBqS6W7A9r XxPPtv56eEUX4T3ugES8zyP8uf9AIqOGcLRbEhF+BYXMZRgmtnum4yu3Q1/ohoPxRtZn kRLvp6SwJk/PA1nu0ukqNYAvqm5WCI/q+4lfmCLCXAfaYcFLQZlfmYe1/B2dV5ud4yvr pmuissD86hpJJWl1q+O2f3q+CxHamMyumtyvwbmtFgPpbKE7x0WXZ0YarBfY3LD2Hm9k hcoYWEilOn+GFpBjP0rdq30C247mWRnKzHP4RL+gt9mRj/IHE5op2RCSG2K01m9iR3VS 8e2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="gCig6/dd"; 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 o28si13472172pgm.238.2019.02.18.06.27.56; Mon, 18 Feb 2019 06:28:11 -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="gCig6/dd"; 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 S2391707AbfBRO1T (ORCPT + 99 others); Mon, 18 Feb 2019 09:27:19 -0500 Received: from mail.kernel.org ([198.145.29.99]:43602 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389222AbfBROCD (ORCPT ); Mon, 18 Feb 2019 09:02:03 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.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 7F9C62070D; Mon, 18 Feb 2019 14:02:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1550498522; bh=ALVQY5JJKyd/HdSAcyirPV0B0xMIy+Yo/hCXJvTNQog=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gCig6/ddeZdhcRuRR5TxEZXaBOe+s1MvXkzc5kvA/Lv6iVwFNcKeFUl6kbyi9TD+9 j0r6l1RHZjHLT9WB/dEmA27su/Gv3Ci6Ts03v9ms3nBYOzIii2WpB7SpY3bUgY6CZv dOAmV9pbcfv1IhVeVofzwgWsb3gJ8hI3DSe/YSPM= 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 036/143] ARM: pxa: avoid section mismatch warning Date: Mon, 18 Feb 2019 14:42:44 +0100 Message-Id: <20190218133530.449578714@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190218133529.099444112@linuxfoundation.org> References: <20190218133529.099444112@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ [ Upstream commit 88af3209aa0881aa5ffd99664b6080a4be5f24e5 ] WARNING: vmlinux.o(.text+0x19f90): Section mismatch in reference from the function littleton_init_lcd() to the function .init.text:pxa_set_fb_info() The function littleton_init_lcd() references the function __init pxa_set_fb_info(). This is often because littleton_init_lcd lacks a __init annotation or the annotation of pxa_set_fb_info is wrong. WARNING: vmlinux.o(.text+0xf824): Section mismatch in reference from the function zeus_register_ohci() to the function .init.text:pxa_set_ohci_info() The function zeus_register_ohci() references the function __init pxa_set_ohci_info(). This is often because zeus_register_ohci lacks a __init annotation or the annotation of pxa_set_ohci_info is wrong. WARNING: vmlinux.o(.text+0xf95c): Section mismatch in reference from the function cm_x300_init_u2d() to the function .init.text:pxa3xx_set_u2d_info() The function cm_x300_init_u2d() references the function __init pxa3xx_set_u2d_info(). This is often because cm_x300_init_u2d lacks a __init annotation or the annotation of pxa3xx_set_u2d_info is wrong. Signed-off-by: Arnd Bergmann Signed-off-by: Olof Johansson Signed-off-by: Sasha Levin --- arch/arm/mach-pxa/cm-x300.c | 2 +- arch/arm/mach-pxa/littleton.c | 2 +- arch/arm/mach-pxa/zeus.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-pxa/cm-x300.c b/arch/arm/mach-pxa/cm-x300.c index a7dae60810e8..307fc18edede 100644 --- a/arch/arm/mach-pxa/cm-x300.c +++ b/arch/arm/mach-pxa/cm-x300.c @@ -547,7 +547,7 @@ static struct pxa3xx_u2d_platform_data cm_x300_u2d_platform_data = { .exit = cm_x300_u2d_exit, }; -static void cm_x300_init_u2d(void) +static void __init cm_x300_init_u2d(void) { pxa3xx_set_u2d_info(&cm_x300_u2d_platform_data); } diff --git a/arch/arm/mach-pxa/littleton.c b/arch/arm/mach-pxa/littleton.c index 5d665588c7eb..05aa7071efd6 100644 --- a/arch/arm/mach-pxa/littleton.c +++ b/arch/arm/mach-pxa/littleton.c @@ -183,7 +183,7 @@ static struct pxafb_mach_info littleton_lcd_info = { .lcd_conn = LCD_COLOR_TFT_16BPP, }; -static void littleton_init_lcd(void) +static void __init littleton_init_lcd(void) { pxa_set_fb_info(NULL, &littleton_lcd_info); } diff --git a/arch/arm/mach-pxa/zeus.c b/arch/arm/mach-pxa/zeus.c index d757cfb5f8a6..4da2458d7f32 100644 --- a/arch/arm/mach-pxa/zeus.c +++ b/arch/arm/mach-pxa/zeus.c @@ -558,7 +558,7 @@ static struct pxaohci_platform_data zeus_ohci_platform_data = { .flags = ENABLE_PORT_ALL | POWER_SENSE_LOW, }; -static void zeus_register_ohci(void) +static void __init zeus_register_ohci(void) { /* Port 2 is shared between host and client interface. */ UP2OCR = UP2OCR_HXOE | UP2OCR_HXS | UP2OCR_DMPDE | UP2OCR_DPPDE; -- 2.19.1