diff options
| author | 2026-02-09 15:56:18 +0800 | |
|---|---|---|
| committer | 2026-02-25 17:48:52 +0100 | |
| commit | 0410e1a4c545c769c59c6eda897ad5d574d0c865 (patch) | |
| tree | b4daf1791537cea4b93118f295fcf0a003eab6bb /tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com | |
| parent | mtd: Avoid boot crash in RedBoot partition table parser (diff) | |
mtd: rawnand: cadence: Fix error check for dma_alloc_coherent() in cadence_nand_init()
Fix wrong variable used for error checking after dma_alloc_coherent()
call. The function checks cdns_ctrl->dma_cdma_desc instead of
cdns_ctrl->cdma_desc, which could lead to incorrect error handling.
Fixes: ec4ba01e894d ("mtd: rawnand: Add new Cadence NAND driver to MTD subsystem")
Cc: stable@vger.kernel.org
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Reviewed-by: Alok Tiwari <alok.a.tiwari@oracle.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
