diff mbox series

media: videodev2.h: add missing __user to p_h264_pps

Message ID 057513c9-57b2-43fb-9a72-9ba64281b668@xs4all.nl
State Accepted
Commit 70be8a84017a4454429abc40dec40a1f845c7827
Headers show
Series media: videodev2.h: add missing __user to p_h264_pps | expand

Commit Message

Hans Verkuil Nov. 14, 2023, 10:39 a.m. UTC
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>
---
diff mbox series

Patch

diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h
index c3d4e490ce7c..6a285af11759 100644
--- a/include/uapi/linux/videodev2.h
+++ b/include/uapi/linux/videodev2.h
@@ -1816,7 +1816,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;