]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
drm: Use u64_to_user_ptr() helper for blob ioctls
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 27 Nov 2016 17:09:08 +0000 (17:09 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 28 Nov 2016 07:12:18 +0000 (08:12 +0100)
commit75df62478c84e101e0c4141e4e6c3ed10163de1f
tree3bd3b4ec01dd65ad77446d2bd4e0a6581264e98a
parent8b2fb7b6518d143b382c3490d4a90f8676259ef9
drm: Use u64_to_user_ptr() helper for blob ioctls

Remove the ugly sparse casts by using the helper u64_to_user_ptr()
instead.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20161127170910.29106-1-chris@chris-wilson.co.uk
drivers/gpu/drm/drm_property.c