diff options
author | Swati Agarwal <swati.agarwal@xilinx.com> | 2022-08-17 11:41:25 +0530 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2022-09-04 22:54:07 +0530 |
commit | 8f2b6bc79c32f0fa60df000ae387a790ec80eae9 (patch) | |
tree | 5e94e99c87a9b9e6f3c9e2cd7e2aa963799d38d5 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 462bce790e6a7e68620a4ce260cc38f7ed0255d5 (diff) |
dmaengine: xilinx_dma: Report error in case of dma_set_mask_and_coherent API failure
The driver does not handle the failure case while calling
dma_set_mask_and_coherent API.
In case of failure, capture the return value of API and then report an
error.
Addresses-coverity: Unchecked return value (CHECKED_RETURN)
Signed-off-by: Swati Agarwal <swati.agarwal@xilinx.com>
Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Link: https://lore.kernel.org/r/20220817061125.4720-4-swati.agarwal@xilinx.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions