>  };
> 
> @@ -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;

Reply via email to