[PATCH] mtd: rawnand: vf610: disable clk on error handling path in probe
Miquel Raynal
miquel.raynal at bootlin.com
Mon Sep 7 03:21:55 EDT 2020
On Thu, 2020-08-06 at 07:26:34 UTC, Evgeny Novikov wrote:
> vf610_nfc_probe() does not invoke clk_disable_unprepare() on one error
> handling path. The patch fixes that.
>
> Found by Linux Driver Verification project (linuxtesting.org).
>
> Fixes: 6f0ce4dfc5a3 ("mtd: rawnand: vf610: Avoid a potential NULL pointer dereference")
> Signed-off-by: Evgeny Novikov <novikov at ispras.ru>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
More information about the linux-mtd
mailing list