Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp894710yba; Thu, 18 Apr 2019 11:21:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqyK5BaLd3Z6fJxf/wlFDkHSoHGE1+4exbPDP1QCvQYIWWULuwxMgAQrwhUteZbMuzGeZMgx X-Received: by 2002:a63:4a5a:: with SMTP id j26mr89804995pgl.361.1555611683221; Thu, 18 Apr 2019 11:21:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555611683; cv=none; d=google.com; s=arc-20160816; b=Aq1+jadDtwu1BTyRrrKaobPpWOaeCIqaO2zE5X2sasS0kxSc4uDtEzk8QAmBD2O457 cX661tnlI91Tbb49TWzJ5Sd9wuaNGTelBqtWVZdg5XWFaV7VmRLXthtMgP/jcpCytp73 tosrKtZipjT6Y/59ZytOgS4tXxE43OwPxEPU3wQTbMLY1o4+Us533MGDIMtcLbN0+/Uf NNi4gzWmIXq0k3gizQZKw7b17JOW4JXrhe3qgSiM05XkLCRbg07AQdlkXsZEQcBBp8q6 gjYH/0alKkI/EKVyj05WI/5WfXy376P7cVAECO+gwoL9XeiN2Os2Brk5WtWd0S+az2Zi lBZg== 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=mj70quMx9JMz3a0nsD5dwLy2tTZrNriHz6Bevexc5IA=; b=s5AMPa5rUfN3Dyqr/qwIbvto2Yv73YlJgVdvAujrA/d0OMLonhz3XiEtYjLjwDwJza KAxU9HWq7p8zwgXjqTUWWHNT3HgvHfHmRzfP6FhEEEq5O5nI8qSsHQ2nZAg41LNEi4qB FW4GBxUQzCP/k7iTAcK0bNqvDfnAlYhlfXg+fHK8lNQypMzc8lCiJH5PcJPN/ScCS+jV Xmp+VdDppss+zeCOBmExBNDnGDI6p4kU4q8nGMKoTQUKP6OYsQ6AAqTmnUNhGqO/tzKf Na51xnGJcOdGzFklqsEh/6Ydaf51bBcTg4dDvVysanlTAvE6EQrYUpMggJoR7oaRQRe7 rHHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=WZbXWdwm; 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 f3si3048073pfa.268.2019.04.18.11.21.08; Thu, 18 Apr 2019 11:21:23 -0700 (PDT) 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=WZbXWdwm; 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 S2403967AbfDRSJv (ORCPT + 99 others); Thu, 18 Apr 2019 14:09:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:41480 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403932AbfDRSJs (ORCPT ); Thu, 18 Apr 2019 14:09:48 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.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 286AE218DA; Thu, 18 Apr 2019 18:09:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555610987; bh=oyI5eh0JaFCHLWpz91152amjxStpMAp/+m2/NYxxbJs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WZbXWdwmnWz3P4lBn51Th4HoCpS3UPRKpSLa2HtJh0SX96fabMlV6q0epN1oX7WAF DtvCbUcpcWvcVsGKiew5xopbk0WIxO1aoqj2TUAf0PGEIhuIsyOqm71uwwpTI/s32c NnxNAnX4Khe/MTIbiM73hxBswSY94mZvUBQPAb/E= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann , Wolfram Sang , Nathan Chancellor , Ulf Hansson , Sasha Levin Subject: [PATCH 5.0 16/93] mmc: davinci: remove extraneous __init annotation Date: Thu, 18 Apr 2019 19:56:54 +0200 Message-Id: <20190418160438.522966606@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190418160436.781762249@linuxfoundation.org> References: <20190418160436.781762249@linuxfoundation.org> User-Agent: quilt/0.66 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 [ Upstream commit 9ce58dd7d9da3ca0d7cb8c9568f1c6f4746da65a ] Building with clang finds a mistaken __init tag: WARNING: vmlinux.o(.text+0x5e4250): Section mismatch in reference from the function davinci_mmcsd_probe() to the function .init.text:init_mmcsd_host() The function davinci_mmcsd_probe() references the function __init init_mmcsd_host(). This is often because davinci_mmcsd_probe lacks a __init annotation or the annotation of init_mmcsd_host is wrong. Signed-off-by: Arnd Bergmann Acked-by: Wolfram Sang Reviewed-by: Nathan Chancellor Signed-off-by: Ulf Hansson Signed-off-by: Sasha Levin --- drivers/mmc/host/davinci_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/davinci_mmc.c b/drivers/mmc/host/davinci_mmc.c index 9e68c3645e22..e6f14257a7d0 100644 --- a/drivers/mmc/host/davinci_mmc.c +++ b/drivers/mmc/host/davinci_mmc.c @@ -1117,7 +1117,7 @@ static inline void mmc_davinci_cpufreq_deregister(struct mmc_davinci_host *host) { } #endif -static void __init init_mmcsd_host(struct mmc_davinci_host *host) +static void init_mmcsd_host(struct mmc_davinci_host *host) { mmc_davinci_reset_ctrl(host, 1); -- 2.19.1