diff options
| author | Chanho Park <[email protected]> | 2022-08-08 09:48:51 +0900 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2022-08-15 12:18:40 +0100 |
| commit | dad57a510db9423a4128ae6565854e999cebac51 (patch) | |
| tree | 402e108a02121ea62e77912cddd33a59223af6eb /tools/perf/scripts/python | |
| parent | fba933c2d975463d6a19898cbe30f7399de9f32e (diff) | |
spi: s3c64xx: correct dma_chan pointer initialization
Use NULL for dma channel pointer initialization instead of plain integer.
sparse warnings: (new ones prefixed by >>)
>> drivers/spi/spi-s3c64xx.c:387:34: sparse: sparse: Using plain integer as NULL pointer
drivers/spi/spi-s3c64xx.c:388:34: sparse: sparse: Using plain integer as NULL pointer
Reported-by: kernel test robot <[email protected]>
Fixes: 82295bc0d192 ("spi: s3c64xx: move dma_release_channel to unprepare")
Fixes: f52b03c70744 ("spi: s3c64xx: requests spi-dma channel only during data transfer")
Signed-off-by: Chanho Park <[email protected]>
Reviewed-by: Andi Shyti <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions