[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180701201250.5f93b70e@xps13>
Date: Sun, 1 Jul 2018 20:12:50 +0200
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: Martin Kaiser <martin@...ser.cx>
Cc: Boris Brezillon <boris.brezillon@...tlin.com>,
David Woodhouse <dwmw2@...radead.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Fabio Estevam <fabio.estevam@....com>,
linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] mtd: rawnand: mxc: remove __init qualifier from
mxcnd_probe_dt
Hi Martin,
Martin Kaiser <martin@...ser.cx> wrote on Wed, 27 Jun 2018 22:47:44
+0200:
> Using the sysfs unbind, bind nodes, mxcnd_probe and mxcnd_probe_dt can
> potentially be called at any time. After the __init functions are cleaned,
> mxcnd_probe_dt is no longer available. Calling it anyway causes a crash.
>
> mxcnd_probe used to be marked as __init, this was removed years ago.
> Remove the __init qualifier from from mxcnd_probe_dt as well.
>
> Fixes: 06f255106923 ("mtd: remove use of __devinit")
> Signed-off-by: Martin Kaiser <martin@...ser.cx>
> ---
Applied to nand/next, thanks!
Miquèl
Powered by blists - more mailing lists