summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2021-12-14 18:25:01 +0100
committerEric W. Biederman <ebiederm@xmission.com>2021-12-14 18:31:41 +0100
commit5eb6f22823e023ee13391978c329c4bd18f82552 (patch)
tree14c03a293b1d8b35b6903315eb3af1ca217d8c08
parentexit/kthread: Move the exit code for kernel threads into struct kthread (diff)
downloadlinux-5eb6f22823e023ee13391978c329c4bd18f82552.tar.xz
linux-5eb6f22823e023ee13391978c329c4bd18f82552.zip
exit/kthread: Fix the kerneldoc comment for kthread_complete_and_exit
I misspelled kthread_complete_and_exit in the kernel doc comment fix it. Link: https://lkml.kernel.org/r/202112141329.KBkyJ5ql-lkp@intel.com Link: https://lkml.kernel.org/r/202112141422.Cykr6YUS-lkp@intel.com Reported-by: kernel test robot <lkp@intel.com> Fixes: cead18552660 ("exit: Rename complete_and_exit to kthread_complete_and_exit") Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
-rw-r--r--kernel/kthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/kthread.c b/kernel/kthread.c
index 9c6c532047c4..c14707d15341 100644
--- a/kernel/kthread.c
+++ b/kernel/kthread.c
@@ -294,7 +294,7 @@ void __noreturn kthread_exit(long result)
}
/**
- * kthread_complete_and exit - Exit the current kthread.
+ * kthread_complete_and_exit - Exit the current kthread.
* @comp: Completion to complete
* @code: The integer value to return to kthread_stop().
*