Re: [PATCH next] [media] vb2: Fix allocation size of dma_parms

2016-07-19 Thread Marek Szyprowski
Hi On 2016-07-18 19:54, Vincent Stehlé wrote: When allocating memory to hold the device dma parameters in vb2_dma_contig_set_max_seg_size(), the requested size is by mistake only the size of a pointer. Request the correct size instead. Fixes: 3f0339691896 ("media: vb2-dma-contig: add helper

[PATCH next] [media] vb2: Fix allocation size of dma_parms

2016-07-18 Thread Vincent Stehlé
When allocating memory to hold the device dma parameters in vb2_dma_contig_set_max_seg_size(), the requested size is by mistake only the size of a pointer. Request the correct size instead. Fixes: 3f0339691896 ("media: vb2-dma-contig: add helper for setting dma max seg size") Signed-off-by: