linux-stable/drivers/dma/xilinx
Shravya Kumbham faeb0731be dmaengine: xilinx_dma: fix incompatible param warning in _child_probe()
In xilinx_dma_child_probe function, the nr_channels variable is
passed to of_property_read_u32() which expects an u32 return value
pointer. Modify the nr_channels variable type from int to u32 to
fix the incompatible parameter coverity warning.

Addresses-Coverity: Event incompatible_param.
Fixes: 1a9e7a03c7 ("dmaengine: vdma: Add support for mulit-channel dma mode")
Signed-off-by: Shravya Kumbham <shravya.kumbham@xilinx.com>
Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Link: https://lore.kernel.org/r/1608722462-29519-3-git-send-email-radhey.shyam.pandey@xilinx.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2021-01-04 18:12:39 +05:30
..
Makefile dmaengine: xilinx: dpdma: Add the Xilinx DisplayPort DMA engine driver 2020-07-17 11:37:59 +05:30
xilinx_dma.c dmaengine: xilinx_dma: fix incompatible param warning in _child_probe() 2021-01-04 18:12:39 +05:30
xilinx_dpdma.c dmaengine: xilinx: dpdma: convert tasklets to use new tasklet_setup() API 2020-10-07 15:22:09 +05:30
zynqmp_dma.c dmaengine: zynqmp_dma: fix kernel-doc style for tasklet 2020-10-08 15:18:46 +05:30