aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorPiotr Wojtaszczyk <[email protected]>2024-07-05 13:51:35 +0200
committerMiquel Raynal <[email protected]>2024-07-17 10:39:39 +0200
commita503f91a3645651a39baf97f1aed90d5d9f9bda9 (patch)
treed78d13d6000b2eee66dbfca1f118f5be612738b5 /lib/test_fortify/write_overflow-strncpy-src.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 <[email protected]> Cc: [email protected] Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions