mirror of
https://github.com/torvalds/linux.git
synced 2026-04-26 10:32:25 -04:00
drm/amdkfd: Pass 'struct queue_propertices' by reference
Allow init_queue() to take 'struct queue_properties' by reference. Signed-off-by: Edward O'Callaghan <funfunctor@folklore1984.net> Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
This commit is contained in:
committed by
Oded Gabbay
parent
6f4d92a127
commit
e88a614c40
@@ -129,7 +129,7 @@ static int create_cp_queue(struct process_queue_manager *pqm,
|
||||
q_properties->vmid = 0;
|
||||
q_properties->queue_id = qid;
|
||||
|
||||
retval = init_queue(q, *q_properties);
|
||||
retval = init_queue(q, q_properties);
|
||||
if (retval != 0)
|
||||
goto err_init_queue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user