[media] v4l2-common.h: remove __user annotation in struct v4l2_edid
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 17 Mar 2014 12:54:22 +0000 (09:54 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 16 Apr 2014 21:20:02 +0000 (18:20 -0300)
The edid array is copied to kernelspace by the v4l2 core, so drivers
shouldn't see the __user annotation. This conforms to other structs like
v4l2_ext_controls where the data pointed to is copied to from user to
kernelspace.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
include/uapi/linux/v4l2-common.h

index 9bf508ad09570f1c00d82f5ccc4f2e937a5c379b..2f6f8cafe773721a28af2b3e214fbcf74ebefe69 100644 (file)
@@ -75,7 +75,7 @@ struct v4l2_edid {
        __u32 start_block;
        __u32 blocks;
        __u32 reserved[5];
-       __u8 __user *edid;
+       __u8  *edid;
 };
 
 #endif /* __V4L2_COMMON__ */