From: Hans Verkuil Date: Mon, 17 Mar 2014 12:54:22 +0000 (-0300) Subject: [media] v4l2-common.h: remove __user annotation in struct v4l2_edid X-Git-Tag: v3.16-rc1~16^2~267 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=2dd477dbeb53937213d741db53110ac39ca245d1;p=uclinux-h8%2Flinux.git [media] v4l2-common.h: remove __user annotation in struct v4l2_edid 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 Signed-off-by: Mauro Carvalho Chehab --- diff --git a/include/uapi/linux/v4l2-common.h b/include/uapi/linux/v4l2-common.h index 9bf508ad0957..2f6f8cafe773 100644 --- a/include/uapi/linux/v4l2-common.h +++ b/include/uapi/linux/v4l2-common.h @@ -75,7 +75,7 @@ struct v4l2_edid { __u32 start_block; __u32 blocks; __u32 reserved[5]; - __u8 __user *edid; + __u8 *edid; }; #endif /* __V4L2_COMMON__ */