diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2011-10-12 13:09:53 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-11-08 08:59:33 -0200 |
commit | 2c2dd6ac738d8a22def46e073fb7383cac8fa180 (patch) | |
tree | edacdfe8a4392fca7caae99e2cd72368179bb118 /fs | |
parent | e836a1c078e230dd5a94bb086b186c2be3ec6a84 (diff) | |
download | op-kernel-dev-2c2dd6ac738d8a22def46e073fb7383cac8fa180.zip op-kernel-dev-2c2dd6ac738d8a22def46e073fb7383cac8fa180.tar.gz |
[media] media: vb2: add a check for uninitialized buffer
__buffer_in_use() might be called for empty/uninitialized buffer in the
following scenario: REQBUF(n, USER_PTR), QUERYBUF(). This patch fixes
kernel ops in such case.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
CC: Pawel Osciak <pawel@osciak.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions