aboutsummaryrefslogtreecommitdiffstats
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2021-08-27 08:54:10 +0000
committerVinod Koul <[email protected]>2021-08-31 16:20:23 +0000
commit11a427be2c4749954e8b868ef5301dc65ca5a14b (patch)
tree23b4fd99e535bd05dc6e74607aceea90b2dee089 /lib/netdev-notifier-error-inject.c
parentdmaengine: sh: Fix unused initialization of pointer lmdesc (diff)
downloadkernel-11a427be2c4749954e8b868ef5301dc65ca5a14b.tar.gz
kernel-11a427be2c4749954e8b868ef5301dc65ca5a14b.zip
dmaengine: sh: fix some NULL dereferences
The dma_free_coherent() function needs a valid device pointer or it will crash. Fixes: 550c591a89a1 ("dmaengine: sh: Add DMAC driver for RZ/G2L SoC") Signed-off-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/20210827085410.GA9183@kili Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions