We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8cd3737 + 7a10d63 commit 12d0166Copy full SHA for 12d0166
drivers/gpu/drm/amd/amdkfd/kfd_process.c
@@ -318,12 +318,13 @@ static struct kfd_process *create_process(const struct task_struct *thread)
318
319
/* init process apertures*/
320
process->is_32bit_user_mode = in_compat_syscall();
321
- if (kfd_init_apertures(process) != 0)
322
- goto err_init_apretures;
+ err = kfd_init_apertures(process);
+ if (err != 0)
323
+ goto err_init_apertures;
324
325
return process;
326
-err_init_apretures:
327
+err_init_apertures:
328
pqm_uninit(&process->pqm);
329
err_process_pqm_init:
330
hash_del_rcu(&process->kfd_processes);
0 commit comments