The __user macro is not strictly needed in videodev2.h, and it also prevents using the header file as such in the user space. __user is already not used in many of the interface structs containing pointers. Stop using __user in videodev2.h. Signed-off-by: Sakari Ailus <sakari.ailus@xxxxxx> --- include/linux/videodev2.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h index 370d111..c8e1bb0 100644 --- a/include/linux/videodev2.h +++ b/include/linux/videodev2.h @@ -708,16 +708,16 @@ struct v4l2_framebuffer { struct v4l2_clip { struct v4l2_rect c; - struct v4l2_clip __user *next; + struct v4l2_clip *next; }; struct v4l2_window { struct v4l2_rect w; __u32 field; /* enum v4l2_field */ __u32 chromakey; - struct v4l2_clip __user *clips; + struct v4l2_clip *clips; __u32 clipcount; - void __user *bitmap; + void *bitmap; __u8 global_alpha; }; -- 1.7.2.5 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html