[PATCH] drm: Add missing __user annotation

2014-07-21 Thread David Herrmann
Hi On Mon, Jul 21, 2014 at 1:24 PM, Thierry Reding wrote: > From: Thierry Reding > > The drm_copy_field() function copies strings into userspace buffers, so > the first parameter needs to have a __user annotation to avoid warnings > from the sparse checker. Reviewed-by: David Herrmann Thanks

[PATCH] drm: Add missing __user annotation

2014-07-21 Thread Thierry Reding
From: Thierry Reding The drm_copy_field() function copies strings into userspace buffers, so the first parameter needs to have a __user annotation to avoid warnings from the sparse checker. Signed-off-by: Thierry Reding --- drivers/gpu/drm/drm_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 de