Skip to content
Snippets Groups Projects
Commit 3a20f9b8 authored by Swati Agarwal's avatar Swati Agarwal Committed by Frieder Schrempf
Browse files

dmaengine: xilinx_dma: Report error in case of dma_set_mask_and_coherent API failure


[ Upstream commit 8f2b6bc7 ]

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: default avatarSwati Agarwal <swati.agarwal@xilinx.com>
Reviewed-by: default avatarRadhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Link: https://lore.kernel.org/r/20220817061125.4720-4-swati.agarwal@xilinx.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 40839d50
No related branches found
No related tags found
1 merge request!69Upate to latest patch release v5.4.236
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment