[PATCH] mtd: rawnand: ingenic: Fix missing put_device in ingenic_ecc_get
Miquel Raynal
miquel.raynal at bootlin.com
Sun Jan 23 07:31:40 PST 2022
miquel.raynal at bootlin.com wrote on Sun, 23 Jan 2022 16:23:32 +0100:
> On Thu, 2021-12-30 at 07:27:51 UTC, Miaoqian Lin wrote:
> > If of_find_device_by_node() succeeds, ingenic_ecc_get() doesn't have
> > a corresponding put_device(). Thus add put_device() to fix the exception
> > handling.
> >
> > Fixes: 15de8c6 ("mtd: rawnand: ingenic: Separate top-level and SoC specific code")
> > Signed-off-by: Miaoqian Lin <linmq006 at gmail.com>
> > Reviewed-by: Paul Cercueil <paul at crapouillou.net>
>
> Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.
Pushed on mtd/fixes, actually.
More information about the linux-mtd
mailing list