drm/vc4: Start using u64_to_user_ptr.
authorEric Anholt <[email protected]>
Tue, 25 Jul 2017 18:27:16 +0000 (11:27 -0700)
committerEric Anholt <[email protected]>
Fri, 28 Jul 2017 23:03:41 +0000 (16:03 -0700)
commit95d7cbcb6fbe3885d7a968cc86b98a08466742af
tree9e476bda3cb8436a851d0f490c2829d7b3f4edb4
parent78acea381d6eb1c67b155e7e2638ba3b1728eb07
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 <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Daniel Vetter <[email protected]>
drivers/gpu/drm/vc4/vc4_gem.c