]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: zynqmp_dma: Typecast with enum to fix the coverity warning
authorShravya Kumbham <shravya.kumbham@xilinx.com>
Tue, 24 May 2022 07:49:13 +0000 (13:19 +0530)
committerVinod Koul <vkoul@kernel.org>
Mon, 5 Sep 2022 06:24:50 +0000 (11:54 +0530)
commit1ca05a5f37f58149926db56cdf2f69b25ecdaac5
tree4268b5169118d8a51413049878dc461713498ad2
parentf60781f645fdd60dcf48b672b7c4aa98590f77d9
dmaengine: zynqmp_dma: Typecast with enum to fix the coverity warning

Typecast the flags variable with (enum dma_ctrl_flags) in
zynqmp_dma_prep_memcpy function to fix the coverity warning.

Addresses-Coverity: Event mixed_enum_type.
Signed-off-by: Shravya Kumbham <shravya.kumbham@xilinx.com>
Signed-off-by: Harini Katakam <harini.katakam@xilinx.com>
Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Link: https://lore.kernel.org/r/1653378553-28548-1-git-send-email-radhey.shyam.pandey@amd.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/xilinx/zynqmp_dma.c