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)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 30 Jan 2018 12:30:22 +0000 (07:30 -0500)
commit8ed5a59dcb47a6f76034ee760b36e089f3e82529
tree8c11b66491bc2630a9b2fe93b3309de9952e7efa
parent333b1e9f96ce05f7498b581509bb30cde03018bf
media: v4l2-compat-ioctl32.c: copy m.userptr in put_v4l2_plane32

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>
Cc: <stable@vger.kernel.org> # for v4.15 and up
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/v4l2-core/v4l2-compat-ioctl32.c