summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDaniel Lundberg Pedersen <dlp@qtec.com>2023-05-01 16:57:06 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2023-05-25 16:21:20 +0200
commit3f6375a2d1956739c6c8ffa3a862c9278d346940 (patch)
treeb02c9757fafe6e3f3f0b708335780846f50eefa0 /include
parent8217af0984f962e64a756488d5e33c0cf57b327c (diff)
downloadlinux-stable-3f6375a2d1956739c6c8ffa3a862c9278d346940.tar.gz
linux-stable-3f6375a2d1956739c6c8ffa3a862c9278d346940.tar.bz2
linux-stable-3f6375a2d1956739c6c8ffa3a862c9278d346940.zip
media: videodev2.h: Fix p_s32 and p_s64 pointer types
Use the intended pointer types for p_s32 and p_64 in the union of the struct v4l2_ext_control. Fixes: e77eb66342c7 ("videodev2.h: add p_s32 and p_s64 pointers") Signed-off-by: Daniel Lundberg Pedersen <dlp@qtec.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/videodev2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h
index aee75eb9e686..9e7cf1d36945 100644
--- a/include/uapi/linux/videodev2.h
+++ b/include/uapi/linux/videodev2.h
@@ -1807,8 +1807,8 @@ struct v4l2_ext_control {
__u8 __user *p_u8;
__u16 __user *p_u16;
__u32 __user *p_u32;
- __u32 __user *p_s32;
- __u32 __user *p_s64;
+ __s32 __user *p_s32;
+ __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;