diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2011-10-12 18:09:53 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-11-08 11:59:33 +0100 |
commit | 2c2dd6ac738d8a22def46e073fb7383cac8fa180 (patch) | |
tree | edacdfe8a4392fca7caae99e2cd72368179bb118 /drivers/block | |
parent | [media] mxl111sf: fix build warning (diff) | |
download | linux-2c2dd6ac738d8a22def46e073fb7383cac8fa180.tar.xz linux-2c2dd6ac738d8a22def46e073fb7383cac8fa180.zip |
[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 'drivers/block')
0 files changed, 0 insertions, 0 deletions