[RAMEN9610-12270] media: vb2: avoid accessing buffer from dmabuf_container
authorhyesoo.yu <hyesoo.yu@samsung.com>
Mon, 13 Aug 2018 09:42:52 +0000 (18:42 +0900)
committerhskang <hs1218.kang@samsung.com>
Wed, 20 Feb 2019 01:00:33 +0000 (10:00 +0900)
commit9f852812c2e1e87c4fa6e029bf0d0199de645354
tree5de44319267f0c041cd72f9db0b253ec670d7c2d
parentbd3e988ac4092b235feb551077d56bfc4afa5d51
[RAMEN9610-12270] media: vb2: avoid accessing buffer from dmabuf_container

dmabuf_container is a dmabuf but it just has metadata of buffers that
it is containing. Trying to access buffer information through the
result of dma_buf_map_attachment() should be avoided.

Change-Id: I55c2e9a11ce4932d98cc0e72ab25e85f27a9f670
Signed-off-by: hyesoo.yu <hyesoo.yu@samsung.com>
drivers/media/v4l2-core/videobuf2-dma-sg.c