drm/vc4: Start using u64_to_user_ptr.
authorEric Anholt <eric@anholt.net>
Tue, 25 Jul 2017 18:27:16 +0000 (11:27 -0700)
committerpopcornmix <popcornmix@gmail.com>
Tue, 22 Aug 2017 13:01:52 +0000 (14:01 +0100)
commite0874486ab9052adf14351ed2178c5570f3f0579
tree8f70565056d18ecf2130902ce047f884a2dec8e5
parent9438f1269859f1981a34e5a3d076e67cd3fc77ee
drm/vc4: Start using u64_to_user_ptr.

Chris Wilson pointed out this little cleanup in a review of new code,
so let's fix up the code I was copying from.

Signed-off-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20170725182718.31468-1-eric@anholt.net
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
(cherry picked from commit 95d7cbcb6fbe3885d7a968cc86b98a08466742af)
drivers/gpu/drm/vc4/vc4_gem.c