From: Tomasz Stanislawski Date: Thu, 14 Jun 2012 13:37:40 +0000 (-0300) Subject: [media] v4l: vb2-dma-contig: remove reference of alloc_ctx from a buffer X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~21^2^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72f86bffbc59de76458cb8c3981df12e059b71fc;p=pandora-kernel.git [media] v4l: vb2-dma-contig: remove reference of alloc_ctx from a buffer 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 Stanislawski Signed-off-by: Kyungmin Park Acked-by: Laurent Pinchart Acked-by: Hans Verkuil Tested-by: Mauro Carvalho Chehab Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed