]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
media: v4l2-compat-ioctl32.c: copy m.userptr in put_v4l2_plane32
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 24 Jan 2018 10:19:59 +0000 (05:19 -0500)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 22 Feb 2018 14:15:53 +0000 (08:15 -0600)
commite8bb97f75d45ada6f138f79f40dd2ededa14fb86
tree3cee41ae0ba605a13f59aade925751d70702a3d0
parent24d2f1e41f1dcaedce47dbde6183243532a037c3
media: v4l2-compat-ioctl32.c: copy m.userptr in put_v4l2_plane32

BugLink: http://bugs.launchpad.net/bugs/1751064
commit 8ed5a59dcb47a6f76034ee760b36e089f3e82529 upstream.

The struct v4l2_plane32 should set m.userptr as well. The same
happens in v4l2_buffer32 and v4l2-compliance tests for this.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/media/v4l2-core/v4l2-compat-ioctl32.c