[PATCH] sched: Fix __cond_resched annotation typo

From: Hyunwoo Kim
Date: Sun Jun 19 2022 - 23:31:47 EST


I think I found a minor typo.

It seems natural to end with "." rather than ",".

Signed-off-by: Hyunwoo Kim <imv4bel@xxxxxxxxx>
---
include/linux/sched.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/sched.h b/include/linux/sched.h
index c46f3a63b758..5cbced81133c 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -2030,7 +2030,7 @@ static inline int test_tsk_need_resched(struct task_struct *tsk)
* cond_resched() and cond_resched_lock(): latency reduction via
* explicit rescheduling in places that are safe. The return
* value indicates whether a reschedule was done in fact.
- * cond_resched_lock() will drop the spinlock before scheduling,
+ * cond_resched_lock() will drop the spinlock before scheduling.
*/
#if !defined(CONFIG_PREEMPTION) || defined(CONFIG_PREEMPT_DYNAMIC)
extern int __cond_resched(void);
--
2.25.1

Regards,
Hyunwoo Kim