> }; > > @@ -474,6 +481,7 @@ xilinx_vdma_alloc_tx_segment(struct xilinx_dma_chan > *chan) > if (!segment) > return NULL; > > + memset(segment, 0, sizeof(*segment));
Unrelated change will fix in v2... > segment->phys = phys; > > return segment;
Appana Durga Kedareswara Rao Wed, 18 May 2016 00:47:17 -0700
> }; > > @@ -474,6 +481,7 @@ xilinx_vdma_alloc_tx_segment(struct xilinx_dma_chan > *chan) > if (!segment) > return NULL; > > + memset(segment, 0, sizeof(*segment));
Unrelated change will fix in v2... > segment->phys = phys; > > return segment;