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

Miquel Raynal miquel.raynal at bootlin.com
Tue Aug 17 09:49:32 PDT 2021


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 at ispras.ru>
> Co-developed-by: Kirill Shilimanov <kirill.shilimanov at huawei.com>
> Signed-off-by: Kirill Shilimanov <kirill.shilimanov at huawei.com>
> Co-developed-by: Anton Vasilyev <vasilyev at ispras.ru>
> Signed-off-by: Anton Vasilyev <vasilyev at ispras.ru>
> Cc: stable at vger.kernel.org

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