diff options
author | Kedareswara rao Appana <appana.durga.rao@xilinx.com> | 2016-06-09 11:32:12 +0530 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-06-13 11:11:17 +0530 |
commit | e167a0b6dc49cb3694fea888560aa462532951dd (patch) | |
tree | 228357994aee3b57b13b784eb874bf514c3acce4 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 62147866517b3c2b22f52adec2b21bf97ce1e684 (diff) |
dmaengine: vdma: Fix compilation warning in cyclic dma mode
This patch fixes the below compilation warining.
drivers/dma/xilinx/xilinx_vdma.c: In function 'xilinx_dma_prep_dma_cyclic':
drivers/dma/xilinx/xilinx_vdma.c:1808:23: warning: 'segment' may be used
uninitialized in this function [-Wmaybe-uninitialized]
segment->hw.control |= XILINX_DMA_BD_SOP;
The start of packet (SOP) should be set to the first segment in the desc
chain not for the last segment of the desc chain.
Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions