summaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2016-04-03 21:15:00 +0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-04-13 21:19:05 +0200
commite7e0c3e26587749b62d17b9dd0532874186c77f7 (patch)
tree8af5ee3d02a1bfcd5f14d1d245636ffee6c716f2 /include/scsi
parent[media] Revert "[media] media: au0828 change to use Managed Media Controller ... (diff)
downloadlinux-e7e0c3e26587749b62d17b9dd0532874186c77f7.tar.xz
linux-e7e0c3e26587749b62d17b9dd0532874186c77f7.zip
[media] videobuf2-core: Check user space planes array in dqbuf
The number of planes in videobuf2 is specific to a buffer. In order to verify that the planes array provided by the user is long enough, a new vb2_buf_op is required. Call __verify_planes_array() when the dequeued buffer is known. Return an error to the caller if there was one, otherwise remove the buffer from the done list. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Cc: stable@vger.kernel.org # for v4.4 and later Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions