Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1983913imu; Fri, 14 Dec 2018 04:04:55 -0800 (PST) X-Google-Smtp-Source: AFSGD/USB+5Fv935+apquZtq/DkVnM41KnPQr5pRj4DTewtsG6MhcMt1wPrKPW/eURyQSM9mxzKW X-Received: by 2002:a63:8d44:: with SMTP id z65mr2470449pgd.57.1544789095255; Fri, 14 Dec 2018 04:04:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544789095; cv=none; d=google.com; s=arc-20160816; b=IjBQXMKmYBKZQqUJ0eJhLfqGOzlXd/lfDER/9sOalhu7PFE5jWKIIPK3BZD9HMcdc5 XPOnLvhcFc+fN54vo0EHl1p+ukB/0RnAmmtT9YamyVrmIaK/C9o/DKtdyvnnIw81wpWH uOrg6sGfu+q0Vej8AFpTSagyfIaWbkCjbziC075AJJBoVirNOpaP/nFXKRxCWY8azTzA YOtNOvZeEj6FggfUDUw2guek5lm16PyGER2HTTcs3PUVU5g4oH4d7mpovTqJIf+z1UXb Xc0KEbRJ34jdBf0t/0bDD8691yvUl5yKq6IZNNBjH9Ln7EssK8db8EYRF9MPXjTuFIa/ s9WQ== 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=hjsRn1lZfM3PW1XXMHMf5kn6FaFQd17Xa4Gi6RBoz2w=; b=uBM+Wrex1i7Pe0qqbHGl6578OpGDt501VVGRYB9iveP8C5gyq6iwVpfQzRhK5CXopT 67iIlKkudxv5Pwh7XErxWFqbwsPzZpP553TVp8f62Z8U1oNjFRhMzsbEpSE7RUH6REmf /XJM7WxmNkvBB50/LvsG13FXIPMRU0oOL2UVq9sFP68wT3uratzKtUbbvNCFlc/j4IXu XQ10Au+jXxs+Hh8W1SSwpYIulR0uVRsKRu3jX1Id13ecuqXS3FoIXSOaNaqoDMJeeuXN I0qBVTh71Z2UuM1SXuAmCmiLotKvyW+wniY0u+dGGWbqkekVJpwRzKdZO+u+5uvJBYsb KMzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=l1hLplqe; 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 a10si3837396plp.167.2018.12.14.04.04.40; Fri, 14 Dec 2018 04:04:55 -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=l1hLplqe; 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 S1730185AbeLNMCz (ORCPT + 99 others); Fri, 14 Dec 2018 07:02:55 -0500 Received: from mail.kernel.org ([198.145.29.99]:46010 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730174AbeLNMCy (ORCPT ); Fri, 14 Dec 2018 07:02:54 -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 629832146F; Fri, 14 Dec 2018 12:02:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1544788973; bh=bnzvPwx8cTQAefiUJ6gCm9zrcYmtlSGeYBC7nA6KECA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=l1hLplqeWRGDyJyiiOgAoOgrmM0BTRMRpdDFeoO5giPDE5rniO3tuMC80XzHA6dxd QzB8h3LINUjfp3DeFx29rOU+37FegYx5WF4qD8LCqrrYeMzkeR+6Tomv1WxCMibBFz HXT9ZKREBdm/jCvgEe6QXLN0grBCO7VTKh7BdtGw= 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.19 022/142] ARM: OMAP2+: prm44xx: Fix section annotation on omap44xx_prm_enable_io_wakeup Date: Fri, 14 Dec 2018 12:58:27 +0100 Message-Id: <20181214115747.942444641@linuxfoundation.org> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20181214115747.053633987@linuxfoundation.org> References: <20181214115747.053633987@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.19-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 7b95729e8359..38a1be6c3694 100644 --- a/arch/arm/mach-omap2/prm44xx.c +++ b/arch/arm/mach-omap2/prm44xx.c @@ -351,7 +351,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