Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp521429ybe; Wed, 11 Sep 2019 00:05:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqz2uXkeoTa3XqB0RToMItGT1nNS0tIDlQoeMl73yF31WSSCN5TzdUp9IHoxel3ljFSB0Pnw X-Received: by 2002:a17:906:c304:: with SMTP id s4mr28516196ejz.71.1568185542751; Wed, 11 Sep 2019 00:05:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568185542; cv=none; d=google.com; s=arc-20160816; b=UTooV2C9KYUzEmI55JVaXQ0KMIWDJ5y5LEPrlh5t3rph0o3lO2IelSgSGtycKGdgnv mtC/2VnCHBNLXRBDuSQKrIdCLk/hldI8kkzh6oor5TkKufqJWwOgNiprZ0MZqXFjefQF 88TPOTIcTAQ8hnbvpLRGadVkDn5kP8y67dqajrnKxutQ+FSoLevVDobq456+5tuPfmPW gInWaahqVPXKUgBd9D4eDjlL99Zu0r3cG995MJ/C/KmpoJHyD/Ub6CnRwAWqLN/jKI86 ed+L1EMmiL0nkWy6OcQVNUzyJnVyFVfAkjUYoGyzbn5LDFYOt9efQfgUazicN6KI2lbi OMxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=onyzS0ylQ3GDBr/SwHCIMm99l1N5nCG5iz9Wwn75Fiw=; b=lImJe2dbguEPsOW8jBFWgc62+nf0tQChWVxQF77SOcA3soaBHFWC5Q8aFTQgsTq7Sz +BZFp82ZWkgXs4J46qfS8AzMLhOxadlodhwqIYj6b5ucd9qJI6Ycy2brgIk5vopKz4Ki T/MqyZY0uzy3agwI0+XhaJ93UER+Q7mhezt0T3Vv2zXWnYAW4t701RAI5tYdfiOm2PAg Wmgy5DrJ7s+rVmzfCikNURsccKobUltVmtsh2kM59gvZ5FQQDkanxDo7/US2wucPbgM2 hbhKd2o5o6qZqAtU8NBHeZedM2aBJqCDrYfygonL5z31UmJQg50zXN95qZ5vsMsnTNgl ZfKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FZuk2zkc; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c3si9430663edq.336.2019.09.11.00.05.18; Wed, 11 Sep 2019 00:05:42 -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=FZuk2zkc; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726822AbfIKHD0 (ORCPT + 99 others); Wed, 11 Sep 2019 03:03:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:45494 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725924AbfIKHD0 (ORCPT ); Wed, 11 Sep 2019 03:03:26 -0400 Received: from dragon (98.142.130.235.16clouds.com [98.142.130.235]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 751E2222BF; Wed, 11 Sep 2019 07:03:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1568185405; bh=KHMiHQSVMrPZ+NrnVGJZgjz+3LvakSIMk7I2HwLLups=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FZuk2zkcPvu0woCKqtj3weurQ7xKWtYR8DTA13MEIuHCb+eSPa451G8boYuE65Y4v 2trrQcIG0P8GUr3NXXYvbBSOsrku2o6Yh4lQvgBFax8lR5YejUJdjOHaOzVrNDME2R Am5Js/c52wIg0m5PQkixc5a0lQlDMc3+rnVhsVxE= Date: Wed, 11 Sep 2019 15:03:16 +0800 From: Shawn Guo To: Ilie Halip Cc: clang-built-linux@googlegroups.com, Sascha Hauer , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] bus: imx-weim: remove __init from 2 functions Message-ID: <20190911070314.GE17142@dragon> References: <20190826095828.8948-1-ilie.halip@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190826095828.8948-1-ilie.halip@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 26, 2019 at 12:58:28PM +0300, Ilie Halip wrote: > 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 Applied, thanks.