media: videodev2.h: add missing __user to p_h264_pps
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Tue, 14 Nov 2023 10:39:44 +0000 (11:39 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Thu, 23 Nov 2023 12:04:09 +0000 (13:04 +0100)
The p_h264_pps pointer in struct v4l2_ext_control was missing the
__user annotation. Add this.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
include/uapi/linux/videodev2.h

index 13ddb5a..c3fc710 100644 (file)
@@ -1817,7 +1817,7 @@ struct v4l2_ext_control {
                __s64 __user *p_s64;
                struct v4l2_area __user *p_area;
                struct v4l2_ctrl_h264_sps __user *p_h264_sps;
-               struct v4l2_ctrl_h264_pps *p_h264_pps;
+               struct v4l2_ctrl_h264_pps __user *p_h264_pps;
                struct v4l2_ctrl_h264_scaling_matrix __user *p_h264_scaling_matrix;
                struct v4l2_ctrl_h264_pred_weights __user *p_h264_pred_weights;
                struct v4l2_ctrl_h264_slice_params __user *p_h264_slice_params;