Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1997503imu; Fri, 14 Dec 2018 04:15:43 -0800 (PST) X-Google-Smtp-Source: AFSGD/U6zED3HTlaQoIsBGei5u3HO4d9Kfb3Yyqnj6JzkIjB8zVlP0cAiVpqZgfPG3/lL1PG5uim X-Received: by 2002:a17:902:e085:: with SMTP id cb5mr2654961plb.24.1544789743212; Fri, 14 Dec 2018 04:15:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544789743; cv=none; d=google.com; s=arc-20160816; b=TIySHepZOzBijSwGnBXpnA0d9Um6gHmanKSoPxOkantP4uoysl7D5RS03B0QgqciAP //yM1OZxmkNmlLsN/CEmaWq6jgLz9L3l/ly5svS3M7UAN74RQCmc6wDWOvmpIYBnI2No N+OELaewmsX85sNTatKNFIu5ATJzfyWK1AWArLGN7MkNXilpBLJUsabxVf1iwJepcpdU 6vdN8kf8AXASz174xoeEe0wG8FjieGxDi9aYfd3k6DIgjpalcfcjK/gh+njVAfSWb4p6 aAwF8TLa2m2cAjR/MU128Inrnk0hQBipuazGW64hLrbcWKzurRfBhX+BOzYqQCDVBa6R rrvQ== 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=XyQkKqNl1IRr0bCYE1zGLljulM0zZ1/bT3GqQIe7EoE=; b=WxTuNjdTJyxvZ6ntn5LGBtkFweuW+5ozq8ZcLu2Pg1JcWm/BKg39jhVsmHqvLS5ypL ui33cM08YiVU7i2OaujNpilB8Cu7PrEHyv1gMkJVYqHlEOqNjOYaRXxN8ozkxB/FWokU VLgCpicsE2pNR6kFMpO4GfoZA3EgQLjJuPdQWVuMAdEjmr/QoGFCGAPdqaIKYHuv0qFL sdjSpvWjoBvu97POtSiK0a1XZEGWXzvkWVSVSuPcnZM7OO3gWPho/K3q6l+BoN2x+3Z1 LU5YX4R2IyQ79FVPH2jSoFq5IivBQV+QKrGaT9APyFOojfl7Ftk2EuihWonoMVpPySVM xMAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=H24L2gHN; 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 o28si4009406pgm.238.2018.12.14.04.15.28; Fri, 14 Dec 2018 04:15: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=H24L2gHN; 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 S1732381AbeLNMOg (ORCPT + 99 others); Fri, 14 Dec 2018 07:14:36 -0500 Received: from mail.kernel.org ([198.145.29.99]:34282 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732375AbeLNMOf (ORCPT ); Fri, 14 Dec 2018 07:14:35 -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 EEF5F2133F; Fri, 14 Dec 2018 12:14:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1544789674; bh=8ntjn5k5ZTxBelqxSesZGbe81bWsTEWGQBBsbo1BFYA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=H24L2gHNNjJv2q9v/1IZ8rYl2n6oz0MsuDqK7/3+Fzb0uxVWwq1E7jDwkG8e/7AXp VhJ2/L/AUbNSitXkaoEGcEK++W5saWVEWd7qipz5an21XAfBNnbga33i2+PEZll6LP xh9rGWjO7BGLCG8ii1OtceeICec+eWnc2GdGt9rA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Nathan Chancellor , Tony Lindgren , Sasha Levin Subject: [PATCH 4.4 10/88] ARM: OMAP2+: prm44xx: Fix section annotation on omap44xx_prm_enable_io_wakeup Date: Fri, 14 Dec 2018 12:59:44 +0100 Message-Id: <20181214115703.001012964@linuxfoundation.org> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20181214115702.151309521@linuxfoundation.org> References: <20181214115702.151309521@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 eef3dc34a1e0b01d53328b88c25237bcc7323777 ] When building the kernel with Clang, the following section mismatch warning appears: WARNING: vmlinux.o(.text+0x38b3c): Section mismatch in reference from the function omap44xx_prm_late_init() to the function .init.text:omap44xx_prm_enable_io_wakeup() The function omap44xx_prm_late_init() references the function __init omap44xx_prm_enable_io_wakeup(). This is often because omap44xx_prm_late_init lacks a __init annotation or the annotation of omap44xx_prm_enable_io_wakeup is wrong. Remove the __init annotation from omap44xx_prm_enable_io_wakeup so there is no more mismatch. Signed-off-by: Nathan Chancellor Signed-off-by: Tony Lindgren Signed-off-by: Sasha Levin --- arch/arm/mach-omap2/prm44xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/prm44xx.c b/arch/arm/mach-omap2/prm44xx.c index 30768003f854..8c505284bc0c 100644 --- a/arch/arm/mach-omap2/prm44xx.c +++ b/arch/arm/mach-omap2/prm44xx.c @@ -344,7 +344,7 @@ static void omap44xx_prm_reconfigure_io_chain(void) * to occur, WAKEUPENABLE bits must be set in the pad mux registers, and * omap44xx_prm_reconfigure_io_chain() must be called. No return value. */ -static void __init omap44xx_prm_enable_io_wakeup(void) +static void omap44xx_prm_enable_io_wakeup(void) { s32 inst = omap4_prmst_get_prm_dev_inst(); -- 2.19.1