[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190826151528.GA91444@archlinux-threadripper>
Date:   Mon, 26 Aug 2019 08:15:28 -0700
From:   Nathan Chancellor <natechancellor@...il.com>
To:     Ilie Halip <ilie.halip@...il.com>
Cc:     clang-built-linux@...glegroups.com,
        Sascha Hauer <s.hauer@...gutronix.de>,
        Shawn Guo <shawnguo@...nel.org>,
        linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] bus: imx-weim: remove __init from 2 functions
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 <ilie.halip@...il.com>
> Reported-by: "kernelci.org bot" <bot@...nelci.org>
> Cc: Sascha Hauer <s.hauer@...gutronix.de>
> Cc: Shawn Guo <shawnguo@...nel.org>
> Cc: clang-built-linux@...glegroups.com
> Cc: linux-arm-kernel@...ts.infradead.org
> Cc: linux-kernel@...r.kernel.org
Reviewed-by: Nathan Chancellor <natechancellor@...il.com>
Powered by blists - more mailing lists
 
