aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/radix-tree/xarray.c
diff options
context:
space:
mode:
authorPiotr Wojtaszczyk <piotr.wojtaszczyk@timesys.com>2024-07-05 13:51:35 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2024-07-17 10:39:39 +0200
commita503f91a3645651a39baf97f1aed90d5d9f9bda9 (patch)
treed78d13d6000b2eee66dbfca1f118f5be612738b5 /tools/testing/radix-tree/xarray.c
parentd29e8e28d6d53b3406c214059b8e048fa950a136 (diff)
mtd: rawnand: lpx32xx: Fix dma_request_chan() error checks
The dma_request_chan() returns error pointer in case of error, while dma_request_channel() returns NULL in case of error therefore different error checks are needed for the two. Fixes: 7326d3fb1ee3 ("mtd: rawnand: lpx32xx: Request DMA channels using DT entries") Signed-off-by: Piotr Wojtaszczyk <piotr.wojtaszczyk@timesys.com> Cc: stable@vger.kernel.org Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20240705115139.126522-1-piotr.wojtaszczyk@timesys.com
Diffstat (limited to 'tools/testing/radix-tree/xarray.c')
0 files changed, 0 insertions, 0 deletions