aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/uapi/linux/videodev2.h
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2023-11-14 11:39:44 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-11-23 13:04:09 +0100
commit70be8a84017a4454429abc40dec40a1f845c7827 (patch)
tree3e493bbe2836e5d58743ddde4e88f787661ad07f /include/uapi/linux/videodev2.h
parentmedia: drop CONFIG_MEDIA_CONTROLLER_REQUEST_API (diff)
downloadwireguard-linux-70be8a84017a4454429abc40dec40a1f845c7827.tar.xz
wireguard-linux-70be8a84017a4454429abc40dec40a1f845c7827.zip
media: videodev2.h: add missing __user to p_h264_pps
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>
Diffstat (limited to 'include/uapi/linux/videodev2.h')
-rw-r--r--include/uapi/linux/videodev2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h
index 13ddb5abf584..c3fc710ef9a7 100644
--- a/include/uapi/linux/videodev2.h
+++ b/include/uapi/linux/videodev2.h
@@ -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;