Re: [PATCH v2] mtd: rawnand: intel: Fix error handling in probe

From: Miquel Raynal
Date: Tue Aug 17 2021 - 12:49:39 EST


On Tue, 2021-08-17 at 09:29:30 UTC, Evgeny Novikov wrote:
> ebu_nand_probe() did not invoke ebu_dma_cleanup() and
> clk_disable_unprepare() on some error handling paths. The patch fixes
> that.
>
> Found by Linux Driver Verification project (linuxtesting.org).
>
> Fixes: 0b1039f016e8 ("mtd: rawnand: Add NAND controller support on Intel LGM SoC")
> Signed-off-by: Evgeny Novikov <novikov@xxxxxxxxx>
> Co-developed-by: Kirill Shilimanov <kirill.shilimanov@xxxxxxxxxx>
> Signed-off-by: Kirill Shilimanov <kirill.shilimanov@xxxxxxxxxx>
> Co-developed-by: Anton Vasilyev <vasilyev@xxxxxxxxx>
> Signed-off-by: Anton Vasilyev <vasilyev@xxxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Miquel