[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 <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
		
					parent
					
						
							
								a1d36d8c70
							
						
					
				
			
			
				commit
				
					
						2dd477dbeb
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -75,7 +75,7 @@ struct v4l2_edid {
 | 
			
		|||
	__u32 start_block;
 | 
			
		||||
	__u32 blocks;
 | 
			
		||||
	__u32 reserved[5];
 | 
			
		||||
	__u8 __user *edid;
 | 
			
		||||
	__u8  *edid;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
#endif /* __V4L2_COMMON__ */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue