drm/amdkfd: Fix sparse warning (different address space)
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
This commit is contained in:
parent
6ee0ad2a7f
commit
8dfe58b206
|
@ -280,7 +280,7 @@ static int create_compute_queue_nocpsch(struct device_queue_manager *dqm,
|
||||||
q->queue);
|
q->queue);
|
||||||
|
|
||||||
retval = mqd->load_mqd(mqd, q->mqd, q->pipe,
|
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) {
|
if (retval != 0) {
|
||||||
deallocate_hqd(dqm, q);
|
deallocate_hqd(dqm, q);
|
||||||
mqd->uninit_mqd(mqd, q->mqd, q->mqd_mem_obj);
|
mqd->uninit_mqd(mqd, q->mqd, q->mqd_mem_obj);
|
||||||
|
|
Loading…
Reference in New Issue