drm/amdkfd: Fix sparse warning (different address space)
Subsystems (3)
A message that is not in the archive (sent off-list or not yet received): 201501081206.3O1MR4aD%[email protected]
PATCH 1/1 drm/amdkfd: Fix sparse warning (different address space)
Signed-off-by Oded Gabbay <[email protected]>
--- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c +1 -1
@@ -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);
Signature · 6 lines
1.9.1 _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel