aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2021-08-27 11:54:10 +0300
committerVinod Koul <vkoul@kernel.org>2021-08-31 21:50:23 +0530
commit11a427be2c4749954e8b868ef5301dc65ca5a14b (patch)
tree23b4fd99e535bd05dc6e74607aceea90b2dee089 /Documentation
parentdmaengine: sh: Fix unused initialization of pointer lmdesc (diff)
downloadlinux-dev-11a427be2c4749954e8b868ef5301dc65ca5a14b.tar.xz
linux-dev-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 <dan.carpenter@oracle.com> Link: https://lore.kernel.org/r/20210827085410.GA9183@kili Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions