From: Oded Gabbay Date: Thu, 8 Jan 2015 14:46:16 +0000 (+0200) Subject: drm/amdkfd: Fix sparse warning (different address space) X-Git-Tag: v4.14-rc1~6105^2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8dfe58b2063811b415626060316672741049d4d4;p=platform%2Fkernel%2Flinux-rpi.git drm/amdkfd: Fix sparse warning (different address space) Signed-off-by: Oded Gabbay --- diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c index 9c8961d..30c8fda 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c +++ b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c @@ -280,7 +280,7 @@ static int create_compute_queue_nocpsch(struct device_queue_manager *dqm, q->queue); retval = mqd->load_mqd(mqd, q->mqd, q->pipe, - q->queue, q->properties.write_ptr); + q->queue, (uint32_t __user *) q->properties.write_ptr); if (retval != 0) { deallocate_hqd(dqm, q); mqd->uninit_mqd(mqd, q->mqd, q->mqd_mem_obj);