media: v4l2-compat-ioctl32.c: copy m.userptr in put_v4l2_plane32
commit9c15a21a0737a422e9c3a4ff7a0f1e2085e41855
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 24 Jan 2018 10:19:59 +0000 (24 05:19 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Feb 2018 19:06:49 +0000 (16 20:06 +0100)
tree87d752f06b13dced60b85f95f93f9c11ec8a5e7b
parente5294484a664fc25972d541127897a8df63328ca
media: v4l2-compat-ioctl32.c: copy m.userptr in put_v4l2_plane32

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>
drivers/media/v4l2-core/v4l2-compat-ioctl32.c