artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb5df7d
)
kthread: add kthread_stop_put
author
jsg
<jsg@openbsd.org>
Sat, 15 Jun 2024 04:21:39 +0000
(
04:21
+0000)
committer
jsg
<jsg@openbsd.org>
Sat, 15 Jun 2024 04:21:39 +0000
(
04:21
+0000)
From Andreas Gruenbacher
a9da6ddaef9ef7d9afd3f89e447c60e38f74bf44
in linux-6.6.y/6.6.33
6309727ef27162deabd5c095c11af24970fba5a2
in mainline linux
sys/dev/pci/drm/i915/gt/selftest_migrate.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/i915/gt/selftest_migrate.c
b/sys/dev/pci/drm/i915/gt/selftest_migrate.c
index
713e018
..
31d206c
100644
(file)
--- a/
sys/dev/pci/drm/i915/gt/selftest_migrate.c
+++ b/
sys/dev/pci/drm/i915/gt/selftest_migrate.c
@@
-719,11
+719,9
@@
static int threaded_migrate(struct intel_migrate *migrate,
if (IS_ERR_OR_NULL(tsk))
continue;
- status = kthread_stop(tsk);
+ status = kthread_stop
_put
(tsk);
if (status && !err)
err = status;
-
- put_task_struct(tsk);
}
kfree(thread);