diff options
author | Shravya Kumbham <[email protected]> | 2020-12-23 16:51:01 +0530 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2021-01-04 18:12:39 +0530 |
commit | faeb0731be0a31e2246b21a85fa7dabbd750101d (patch) | |
tree | a168fc923b8f10a64dce91fd69d5529b3e2d4aca /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 99974aedbd73523969afb09f33c6e3047cd0ddae (diff) |
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: 1a9e7a03c761 ("dmaengine: vdma: Add support for mulit-channel dma mode")
Signed-off-by: Shravya Kumbham <[email protected]>
Signed-off-by: Radhey Shyam Pandey <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions