Skip to content
Commit d3cf40ed authored by Thierry Reding's avatar Thierry Reding Committed by Dave Airlie
Browse files

drm: Add missing __user annotation



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: default avatarThierry Reding <treding@nvidia.com>
Reviewed-by: default avatarDavid Herrmann <dh.herrmann@gmail.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent e7c36347
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment