diff options
author | Swati Agarwal <swati.agarwal@xilinx.com> | 2022-08-17 09:11:25 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-10-15 08:55:52 +0300 |
commit | dae0b77cb8b2d3c61819de7bde620c58cb48f9c2 (patch) | |
tree | ad4603127fe3882801ee6acdcb50fd3407de9df6 /Documentation | |
parent | e0ca2998dfba40bcc504ca6a4f55d2599a38ae4a (diff) | |
download | linux-dae0b77cb8b2d3c61819de7bde620c58cb48f9c2.tar.xz |
dmaengine: xilinx_dma: Report error in case of dma_set_mask_and_coherent API failure
[ Upstream commit 8f2b6bc79c32f0fa60df000ae387a790ec80eae9 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions