Files
linux/drivers
Swati Agarwal 0ebab37c5d dmaengine: xilinx_dma: Report error in case of dma_set_mask_and_coherent API failure
[ Upstream commit 8f2b6bc79c ]

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>
2022-10-26 13:15:34 +02:00
..
2021-12-14 10:04:48 +01:00
2022-05-12 12:14:53 +02:00
2022-07-02 16:17:16 +02:00
2020-12-29 13:45:00 +01:00
2022-04-20 09:06:42 +02:00
2022-10-26 13:15:32 +02:00