diff options
author | Tomasz Stanislawski <[email protected]> | 2012-06-14 10:37:40 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2012-11-25 17:11:43 -0200 |
commit | 72f86bffbc59de76458cb8c3981df12e059b71fc (patch) | |
tree | edd1e9c99caa51327fc5232842d7d52077295ace /fs/jbd2/commit.c | |
parent | f7f129ce2e33f9bd444c1889216ab92f2ec69d91 (diff) |
[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 <[email protected]>
Signed-off-by: Kyungmin Park <[email protected]>
Acked-by: Laurent Pinchart <[email protected]>
Acked-by: Hans Verkuil <[email protected]>
Tested-by: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions