[PATCHv8 06/26] v4l: vb2-dma-contig: remove reference of alloc_ctx from a buffer

2012-08-15 Thread Laurent Pinchart
Hi Tomasz, Thanks for the patch. On Tuesday 14 August 2012 17:34:36 Tomasz Stanislawski wrote: > This patch removes a reference to alloc_ctx from an instance of a DMA > contiguous buffer. It helps to avoid a risk of a dangling pointer if the > context is released while the buffer is still valid.

Re: [PATCHv8 06/26] v4l: vb2-dma-contig: remove reference of alloc_ctx from a buffer

2012-08-15 Thread Laurent Pinchart
Hi Tomasz, Thanks for the patch. On Tuesday 14 August 2012 17:34:36 Tomasz Stanislawski wrote: > This patch removes a reference to alloc_ctx from an instance of a DMA > contiguous buffer. It helps to avoid a risk of a dangling pointer if the > context is released while the buffer is still valid.

[PATCHv8 06/26] v4l: vb2-dma-contig: remove reference of alloc_ctx from a buffer

2012-08-14 Thread Tomasz Stanislawski
This patch removes a reference to alloc_ctx from an instance of a DMA contiguous buffer. It helps to avoid a risk of a dangling pointer if the context is released while the buffer is still valid. Moreover it removes one dereference step while accessing a device structure. Signed-off-by: Tomasz Sta

[PATCHv8 06/26] v4l: vb2-dma-contig: remove reference of alloc_ctx from a buffer

2012-08-14 Thread Tomasz Stanislawski
This patch removes a reference to alloc_ctx from an instance of a DMA contiguous buffer. It helps to avoid a risk of a dangling pointer if the context is released while the buffer is still valid. Moreover it removes one dereference step while accessing a device structure. Signed-off-by: Tomasz Sta