Patch "media: videodev2.h: Fix p_s32 and p_s64 pointer types" has been added to the 6.4-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    media: videodev2.h: Fix p_s32 and p_s64 pointer types

to the 6.4-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     media-videodev2.h-fix-p_s32-and-p_s64-pointer-types.patch
and it can be found in the queue-6.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 7d385bdc0348136f9b95140c9746f0b63f724f5a
Author: Daniel Lundberg Pedersen <dlp@xxxxxxxx>
Date:   Mon May 1 16:57:06 2023 +0200

    media: videodev2.h: Fix p_s32 and p_s64 pointer types
    
    [ Upstream commit 3f6375a2d1956739c6c8ffa3a862c9278d346940 ]
    
    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@xxxxxxxx>
    Signed-off-by: Hans Verkuil <hverkuil-cisco@xxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h
index aee75eb9e6863..9e7cf1d369456 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;



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux