Skip to contentSkip to conversation

posix-timers: Fix stale function name in comment

PATCH Applied Zhan Xusheng 2 participants 2 messages Mar 26 – Mar 28 Posix clocks and timers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 posix-timers: Fix stale function name in comment

The comment in exit_itimers() still refers to itimer_delete(), which was replaced by posix_timer_delete(). Update the comment accordingly.

---
 kernel/time/posix-timers.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/time/posix-timers.c +1 -1
index 413e2389f0a5..9331e1614124 100644
@@ -1092,7 +1092,7 @@ void exit_itimers(struct task_struct *tsk)
 	}
 
 	/*
-	 * There should be no timers on the ignored list. itimer_delete() has
+	 * There should be no timers on the ignored list. posix_timer_delete() has
 	 * mopped them up.
 	 */
 	if (!WARN_ON_ONCE(!hlist_empty(&tsk->signal->ignored_posix_timers)))
Signature · 1 line
2.43.0
merge bot Applied
#1 lore raw
The following commit has been merged into the timers/core branch of tip:

The following commit has been merged into the timers/core branch of tip:

Commit-ID:     e9fb60a780fe7eae6a5d73e647208b2a7d3e3b54
Gitweb:        https://git.kernel.org/tip/e9fb60a780fe7eae6a5d73e647208b2a7d3e3b54
Author:        Zhan Xusheng <[email protected]>
AuthorDate:    Thu, 26 Mar 2026 22:22:10 +08:00
Committer:     Thomas Gleixner <[email protected]>
CommitterDate: Sat, 28 Mar 2026 14:18:13 +01:00

posix-timers: Fix stale function name in comment

The comment in exit_itimers() still refers to itimer_delete(), which was replaced by posix_timer_delete(). Update the comment accordingly.

---
 kernel/time/posix-timers.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/time/posix-timers.c +1 -1
index 413e238..9331e16 100644
@@ -1092,7 +1092,7 @@ void exit_itimers(struct task_struct *tsk)
 	}
 
 	/*
-	 * There should be no timers on the ignored list. itimer_delete() has
+	 * There should be no timers on the ignored list. posix_timer_delete() has
 	 * mopped them up.
 	 */
 	if (!WARN_ON_ONCE(!hlist_empty(&tsk->signal->ignored_posix_timers)))