Skip to content

Commit

Permalink
kthread: fix spelling typo and grammar in comments
Browse files Browse the repository at this point in the history
- `If present` -> `If present,'
- `reuturn` -> `return`
- `function exit safely` -> `function to exit safely`

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Prathu Baronia <[email protected]>
Cc: Eric W. Biederman <[email protected]>
Cc: Jason A. Donenfeld <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Petr Mladek <[email protected]>
Cc: Sami Tolvanen <[email protected]>
Cc: Tejun Heo <[email protected]>
Cc: Zqiang <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
  • Loading branch information
Prathu Baronia authored and akpm00 committed Jun 10, 2023
1 parent 7877cb9 commit 6a25212
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/kthread.c
Original file line number Diff line number Diff line change
Expand Up @@ -312,10 +312,10 @@ void __noreturn kthread_exit(long result)
* @comp: Completion to complete
* @code: The integer value to return to kthread_stop().
*
* If present complete @comp and the reuturn code to kthread_stop().
* If present, complete @comp and then return code to kthread_stop().
*
* A kernel thread whose module may be removed after the completion of
* @comp can use this function exit safely.
* @comp can use this function to exit safely.
*
* Does not return.
*/
Expand Down

0 comments on commit 6a25212

Please sign in to comment.