[PATCH] kthread: fix spelling typo and grammar in comments

Prathu Baronia posted 1 patch 2 years, 9 months ago
kernel/kthread.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] kthread: fix spelling typo and grammar in comments
Posted by Prathu Baronia 2 years, 9 months ago
- `If present` -> `If present,'
- `reuturn` -> `return`
- `function exit safely` -> `function to exit safely`

Signed-off-by: Prathu Baronia <quic_pbaronia@quicinc.com>
---
 kernel/kthread.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/kthread.c b/kernel/kthread.c
index 7e6751b29101..d7fd133f63dd 100644
--- a/kernel/kthread.c
+++ b/kernel/kthread.c
@@ -311,10 +311,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.
  */
-- 
2.25.1