Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp897120yba; Thu, 18 Apr 2019 11:24:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqwXO6dWXH5prXVf0zldSzQj+xzzsiRjM5IkB0RmSauYu+YbmvRnowRVYCP5myiYB3Gr+SUf X-Received: by 2002:a63:6b08:: with SMTP id g8mr81273741pgc.211.1555611849357; Thu, 18 Apr 2019 11:24:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555611849; cv=none; d=google.com; s=arc-20160816; b=AFKCgNRxHBBc6yDsIDuI0ZMHNukmHyEPpi45EjEJkCOFRiXEnoFzzWfqVarDcGfpRT Q7aeWYqTmX231l/nxnDTHEtSpBiWcQBem8StrQjIQIrvNy1HRnVakpJyZyExzU1VHLK6 yKx9p+eMaGFXqYvLuj6YIYN1amMNTB7HfNaLQXeuVEdb+RIwypZla9JPBvNTszOJiEzj aK5ubVOI2qUB14MR7+72PB089Q09+O3Ab8FfM/0/i+ZiXUepZi2pKeZHw2HsjK507kkB c4pBdKIebPWsuOnS7OF951mUypArMAXhHB+mINmPL/AsRPDY/nWE9dW6zBl3bkb6uaMG a0KA== 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=LUizt7KwTCDJ94FCYh91WtduxrSCDvb7bLTRIZ4hE2k=; b=VhNsu1mEp43HPprn3lmqYtCtwj6cQoyYAVLxP8kExMVskPXsr/3W72ji85YXH1ksTr uIqL6dclA6heKYdzPEZlY8O0SXmI5UqDB5VqVBA1zlKyIPlmT3NIov14iFe0X5ODPcia rwg32/h5tEdVloiBP3ZTl0q69cqRGG6h2jPA7eFbLtruV7ASHTeJPzhnPZtAWh9MQAMo +usK1jZrqs6sIdWaKcMmDqXpmm7Po4aXtoXUxg/xPa3fvimw4ie2v6YzUB49h419YCkk adOz+wP5ePhU9iDP/9ZXhlJC9ThNhqjbji7dG1H3GlW86amReurmziBbT5k3ZShLe9pe 9I4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Yw9dUm5I; 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 89si2849299pfs.243.2019.04.18.11.23.53; Thu, 18 Apr 2019 11:24:09 -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=Yw9dUm5I; 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 S2391392AbfDRSIG (ORCPT + 99 others); Thu, 18 Apr 2019 14:08:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:39098 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391720AbfDRSIE (ORCPT ); Thu, 18 Apr 2019 14:08:04 -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 66F79218AF; Thu, 18 Apr 2019 18:08:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555610883; bh=LlN5nPZoZfaL1r1dT5KZ6/0K4j5zyqTNforSTSpw3Ug=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Yw9dUm5IhwW89lwr4AA8lDbnwmEpk05dddOlQQPKJUCMXMXSmLdOZXzj/BKfaYldy dAQAVvixTARW+NzlB9g9iQHgy4GRycni0RQpLpnMaxgrH/NQ0cwAy+K+5HGev3ol2d 3MoLllRBcX9czz2304JXN+StzYj4eOTEjX0wVXx8= 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 4.9 08/50] mmc: davinci: remove extraneous __init annotation Date: Thu, 18 Apr 2019 19:57:19 +0200 Message-Id: <20190418160423.867010848@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190418160422.455656724@linuxfoundation.org> References: <20190418160422.455656724@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 8fa478c3b0db..619457b90dc7 100644 --- a/drivers/mmc/host/davinci_mmc.c +++ b/drivers/mmc/host/davinci_mmc.c @@ -1120,7 +1120,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