OSDN Git Service

drm/amdgpu: consistent use u64_to_user_ptr
authorChristian König <christian.koenig@amd.com>
Wed, 26 Jul 2017 15:02:52 +0000 (17:02 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Aug 2017 18:45:53 +0000 (14:45 -0400)
commit7ecc245a8ce32ffcaa6a3e5795e0b14db8e076fc
tree204ca80c53ffa1f78696857021c5c65bc166792a
parentf5e1c740afb6fec8969234a066b1628246a6a08d
drm/amdgpu: consistent use u64_to_user_ptr

Instead of open coding the conversion from u64 to pointers.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c