diff options
author | Shravya Kumbham <[email protected]> | 2020-12-23 16:51:00 +0530 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2021-01-04 18:12:39 +0530 |
commit | 99974aedbd73523969afb09f33c6e3047cd0ddae (patch) | |
tree | de7bebadfe0bec753cd257b92149830a09ccd4ed /scripts/gdb/linux/utils.py | |
parent | 0bd1bf86ab79555425b9f0b63005e181defe4da6 (diff) |
dmaengine: xilinx_dma: check dma_async_device_register return value
dma_async_device_register() can return non-zero error code. Add
condition to check the return value of dma_async_device_register
function and handle the error path.
Addresses-Coverity: Event check_return.
Fixes: 9cd4360de609 ("dma: Add Xilinx AXI Video Direct Memory Access Engine driver support")
Signed-off-by: Shravya Kumbham <[email protected]>
Signed-off-by: Radhey Shyam Pandey <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions