mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] alarmtimer: Remove stale return description from alarm_handle_timer()
@ 2026-04-29  8:06 Zhan Xusheng
  2026-05-06  7:11 ` [tip: timers/core] " tip-bot2 for Zhan Xusheng
  0 siblings, 1 reply; 2+ messages in thread
From: Zhan Xusheng @ 2026-04-29  8:06 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-kernel, Zhan Xusheng

alarm_handle_timer() was converted from returning enum alarmtimer_restart
to void, but the kernel-doc "Return:" line was not removed. Remove the
stale description.

Fixes: 2634303f8773 ("alarmtimers: Remove return value from alarm functions")
Signed-off-by: Zhan Xusheng <zhanxusheng@xiaomi.com>
---
 kernel/time/alarmtimer.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/kernel/time/alarmtimer.c b/kernel/time/alarmtimer.c
index 6e173d70d825..fe9c42c03523 100644
--- a/kernel/time/alarmtimer.c
+++ b/kernel/time/alarmtimer.c
@@ -512,8 +512,6 @@ static enum alarmtimer_type clock2alarm(clockid_t clockid)
  * @now: time at the timer expiration
  *
  * Posix timer callback for expired alarm timers.
- *
- * Return: whether the timer is to be restarted
  */
 static void alarm_handle_timer(struct alarm *alarm, ktime_t now)
 {
-- 
2.43.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [tip: timers/core] alarmtimer: Remove stale return description from alarm_handle_timer()
  2026-04-29  8:06 [PATCH] alarmtimer: Remove stale return description from alarm_handle_timer() Zhan Xusheng
@ 2026-05-06  7:11 ` tip-bot2 for Zhan Xusheng
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot2 for Zhan Xusheng @ 2026-05-06  7:11 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: Zhan Xusheng, Thomas Gleixner, x86, linux-kernel

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

Commit-ID:     ed3b3c4976686b63b28e44f9805a88abc20ff18a
Gitweb:        https://git.kernel.org/tip/ed3b3c4976686b63b28e44f9805a88abc20ff18a
Author:        Zhan Xusheng <zhanxusheng1024@gmail.com>
AuthorDate:    Wed, 29 Apr 2026 16:06:35 +08:00
Committer:     Thomas Gleixner <tglx@kernel.org>
CommitterDate: Wed, 06 May 2026 08:33:08 +02:00

alarmtimer: Remove stale return description from alarm_handle_timer()

alarm_handle_timer() was converted from returning enum alarmtimer_restart
to void, but the kernel-doc "Return:" line was not removed. Remove the
stale description.

Fixes: 2634303f8773 ("alarmtimers: Remove return value from alarm functions")
Signed-off-by: Zhan Xusheng <zhanxusheng@xiaomi.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260429080635.166790-1-zhanxusheng@xiaomi.com
---
 kernel/time/alarmtimer.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/kernel/time/alarmtimer.c b/kernel/time/alarmtimer.c
index 9275fe4..ea5be58 100644
--- a/kernel/time/alarmtimer.c
+++ b/kernel/time/alarmtimer.c
@@ -496,8 +496,6 @@ static enum alarmtimer_type clock2alarm(clockid_t clockid)
  * @now: time at the timer expiration
  *
  * Posix timer callback for expired alarm timers.
- *
- * Return: whether the timer is to be restarted
  */
 static void alarm_handle_timer(struct alarm *alarm, ktime_t now)
 {

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-05-06  7:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-29  8:06 [PATCH] alarmtimer: Remove stale return description from alarm_handle_timer() Zhan Xusheng
2026-05-06  7:11 ` [tip: timers/core] " tip-bot2 for Zhan Xusheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®