[PATCH] kernel/sched/ext.c: fix typo "occured" -> "occurred" in comments

From: Ke Ma
Date: Thu Jun 19 2025 - 17:11:57 EST


Fixes a minor spelling mistake in two comment lines

Signed-off-by: Ke Ma <makebit1999@xxxxxxxxx>
---
kernel/sched/ext.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/sched/ext.c b/kernel/sched/ext.c
index b498d867ba21..d312b950cbf4 100644
--- a/kernel/sched/ext.c
+++ b/kernel/sched/ext.c
@@ -1637,7 +1637,7 @@ static struct task_struct *scx_task_iter_next_locked(struct scx_task_iter *iter)
* scx_add_event - Increase an event counter for 'name' by 'cnt'
* @sch: scx_sched to account events for
* @name: an event name defined in struct scx_event_stats
- * @cnt: the number of the event occured
+ * @cnt: the number of the event occurred
*
* This can be used when preemption is not disabled.
*/
@@ -1650,7 +1650,7 @@ static struct task_struct *scx_task_iter_next_locked(struct scx_task_iter *iter)
* __scx_add_event - Increase an event counter for 'name' by 'cnt'
* @sch: scx_sched to account events for
* @name: an event name defined in struct scx_event_stats
- * @cnt: the number of the event occured
+ * @cnt: the number of the event occurred
*
* This should be used only when preemption is disabled.
*/
--
2.44.0.windows.1