Re: [PATCH] mtd: rawnand: vf610: disable clk on error handling path in probe

2020-09-07 Thread Miquel Raynal
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 poten

[PATCH] mtd: rawnand: vf610: disable clk on error handling path in probe

2020-08-06 Thread Evgeny Novikov
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 --- d