diff options
| author | Dan Carpenter <[email protected]> | 2021-08-27 08:54:10 +0000 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2021-08-31 16:20:23 +0000 |
| commit | 11a427be2c4749954e8b868ef5301dc65ca5a14b (patch) | |
| tree | 23b4fd99e535bd05dc6e74607aceea90b2dee089 /scripts/clang-tools/gen_compile_commands.py | |
| parent | dmaengine: sh: Fix unused initialization of pointer lmdesc (diff) | |
| download | kernel-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 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions
