Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3973602ybl; Mon, 26 Aug 2019 03:33:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqwcv6G3PHUCfzTb47zctr2J4Z4XDRuBlm5K0txTCC/U2iK1AZPc3zzgW5RFd60wdK75BZgL X-Received: by 2002:a17:90a:cc0c:: with SMTP id b12mr18597144pju.138.1566815584290; Mon, 26 Aug 2019 03:33:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566815584; cv=none; d=google.com; s=arc-20160816; b=A3kf8UMJ61cQjn/oyre7yP+BsIO9sOKwBlCBQ+gjIPtzE6dQG65M71ytYMm+30PFVl TDFTgxyRfsw6o+C9E1ojirSPy0t+4xzDDH17BE7YyYWxa2qy33CUn9qt3UhrbMrZvLLF 2JY5yQAmIx7dDgao8biOQOtaCUZqe30MbvaD7uXCkBLy3HGbjumKmmqdh6bzpDRWFAYZ JgkKxsw/kAmT6Lmj8Q4PJHNYtQRJuRTqNCZv8dSdjRT/alI8Igaxt+BCMzUcTrAbomeT z7EvfbTmkKcUqtLkv6OiX6uqipyescyUXlDr/OP8POvXlUk2cxYN0JRoFjefawe/PCRJ Q5qQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=AoSobNwrgWG+0xMdeEJoRWL4tyvVfhtrdTcQZJSWFp4=; b=X3rvK1NdFEU/gqBQtXOwsstmm1BVg3ColpaZiYIkZeOpBlJ6ezYgoBEungBhdTGDG3 LIwlOYlFmSMjF1/kn8zYWww4VRJEw1cVv+A5UAeBy1d0KQ4pPyqFoOWOUFPOa9Tdhvfk lx0bziUgYTqB3QqVlJpteEKHKZNIt7MY0Cvv9b+IDHlADul2qdqLJOoYM54jyaxU5ZCt 1nWFnSb1g7e0tLkPU++zEbRLjXgFyxpIvBxoD6uYx7bTgX0/tCN8+1U8JYpOE5ZY7wPX DsWwu0CLQTINszdydHXntGcUkh2P91dG0MXcwCa8qu4Cbl7fVCWIF7clhzY5cMrEFerp jwsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rwcggUp0; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j16si4697096pfa.154.2019.08.26.03.32.49; Mon, 26 Aug 2019 03:33:04 -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=@gmail.com header.s=20161025 header.b=rwcggUp0; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731186AbfHZJ6o (ORCPT + 99 others); Mon, 26 Aug 2019 05:58:44 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:51777 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730175AbfHZJ6o (ORCPT ); Mon, 26 Aug 2019 05:58:44 -0400 Received: by mail-wm1-f65.google.com with SMTP id k1so14872656wmi.1 for ; Mon, 26 Aug 2019 02:58:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=AoSobNwrgWG+0xMdeEJoRWL4tyvVfhtrdTcQZJSWFp4=; b=rwcggUp0ra5ExtdNoVbiDmiy4Dt53pQpNoPs0MtFGQAo7WakRCplYCMXCOdOCcoqti E1673MoIg6Zlm9soxPvMIqmcUItrb0Jj8sPrxbTB7t4Jz4Pf+lFMBVDl02HT9QLWw23J xkEt90T+dHcOh38l5gI9UK45g1rw1utnq692Jzkl0vC9b0Mds9GAia+b3v9l1VKAf/6y eh9b0ez79hQRecvrw6tABiLy+uq2wcT5Rj75DGTwZcY0JwdNHdD5icxErkJQEO549fUg 2RgRxtjEydyGTv3AIb5GNYEtCFvJkQDrkoVce7t5d+6rIaNVD6qWEHtbSXghauDokrGV JhoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=AoSobNwrgWG+0xMdeEJoRWL4tyvVfhtrdTcQZJSWFp4=; b=efmuoNw053PJOjShfQld7SsuosxouyDXWH85PCQIHcS6bcrRAace4LLgw9r8CgB6u8 Dr8O/SS966k091K9p0Xpvo2GtrXg3mSPEkYU3OnLuEK54UtCmrdCTUS7xJ01taFvds0I 9ZVNLV+IPEhlBUKXbHwrvZrkGeIAMjKTyxtPnb15174mwyBVOi7+55y/ByaDT125LIXj HW3LQuoHjwzXD9PflJpR4+gl2/Dc9b5seYQDXtSeNFRgh3CVUgt+qzamKUUOY/42aozN 7iZNTOn++2xpAj6nttW+rvUmzEjNFpNlozoL5Rfzp0vuTa20Ubi3qGmpeLxY0mJ15PBY ZZnw== X-Gm-Message-State: APjAAAX9EPNtXsKcAnYHAZ9grEChJh3RcjRxdbyqS28+ccZbQpFcUEEN 0ZxEeByWUkzEpb+NSY5KmfE= X-Received: by 2002:a05:600c:114e:: with SMTP id z14mr19782960wmz.161.1566813521900; Mon, 26 Aug 2019 02:58:41 -0700 (PDT) Received: from localhost.localdomain ([2a02:a58:8166:7500:a940:180f:b044:ac12]) by smtp.gmail.com with ESMTPSA id 24sm11025551wmf.10.2019.08.26.02.58.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Aug 2019 02:58:41 -0700 (PDT) From: Ilie Halip To: clang-built-linux@googlegroups.com Cc: Ilie Halip , Sascha Hauer , Shawn Guo , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] bus: imx-weim: remove __init from 2 functions Date: Mon, 26 Aug 2019 12:58:28 +0300 Message-Id: <20190826095828.8948-1-ilie.halip@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A previous commit removed __init from weim_probe(), but this attribute is still present for other functions called from it. Thus, these warnings are triggered: WARNING: Section mismatch in reference from the function weim_probe() to the function .init.text:imx_weim_gpr_setup() WARNING: Section mismatch in reference from the function weim_probe() to the function .init.text:weim_timing_setup() Remove the __init attribute from these functions as well, since they don't seem to be used anywhere else. Signed-off-by: Ilie Halip Reported-by: "kernelci.org bot" Cc: Sascha Hauer Cc: Shawn Guo Cc: clang-built-linux@googlegroups.com Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- drivers/bus/imx-weim.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/bus/imx-weim.c b/drivers/bus/imx-weim.c index 79af0c27f5a3..d82e8c00523d 100644 --- a/drivers/bus/imx-weim.c +++ b/drivers/bus/imx-weim.c @@ -76,7 +76,7 @@ static const struct of_device_id weim_id_table[] = { }; MODULE_DEVICE_TABLE(of, weim_id_table); -static int __init imx_weim_gpr_setup(struct platform_device *pdev) +static int imx_weim_gpr_setup(struct platform_device *pdev) { struct device_node *np = pdev->dev.of_node; struct property *prop; @@ -126,7 +126,7 @@ static int __init imx_weim_gpr_setup(struct platform_device *pdev) } /* Parse and set the timing for this device. */ -static int __init weim_timing_setup(struct device *dev, +static int weim_timing_setup(struct device *dev, struct device_node *np, void __iomem *base, const struct imx_weim_devtype *devtype, struct cs_timing_state *ts) -- 2.17.1