* [PATCH] clockevents: repair kernel-doc for clockevent_delta2ns()
@ 2022-11-02 9:10 Lukas Bulwahn
2022-12-01 12:44 ` [tip: timers/core] clockevents: Repair " tip-bot2 for Lukas Bulwahn
0 siblings, 1 reply; 2+ messages in thread
From: Lukas Bulwahn @ 2022-11-02 9:10 UTC (permalink / raw)
To: Thomas Gleixner; +Cc: kernel-janitors, linux-kernel, Lukas Bulwahn
Since the introduction of clockevents, i.e., commit d316c57ff6bf
("clockevents: add core functionality"), there has been a mismatch between
the function and the kernel-doc comment for clockevent_delta2ns().
Hence, ./scripts/kernel-doc -none kernel/time/clockevents.c warns about it.
Adjust the kernel-doc comment for clockevent_delta2ns() for make W=1
happiness.
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
---
kernel/time/clockevents.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/time/clockevents.c b/kernel/time/clockevents.c
index 5d85014d59b5..960143b183cd 100644
--- a/kernel/time/clockevents.c
+++ b/kernel/time/clockevents.c
@@ -76,7 +76,7 @@ static u64 cev_delta2ns(unsigned long latch, struct clock_event_device *evt,
}
/**
- * clockevents_delta2ns - Convert a latch value (device ticks) to nanoseconds
+ * clockevent_delta2ns - Convert a latch value (device ticks) to nanoseconds
* @latch: value to convert
* @evt: pointer to clock event device descriptor
*
--
2.17.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [tip: timers/core] clockevents: Repair kernel-doc for clockevent_delta2ns()
2022-11-02 9:10 [PATCH] clockevents: repair kernel-doc for clockevent_delta2ns() Lukas Bulwahn
@ 2022-12-01 12:44 ` tip-bot2 for Lukas Bulwahn
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot2 for Lukas Bulwahn @ 2022-12-01 12:44 UTC (permalink / raw)
To: linux-tip-commits; +Cc: Lukas Bulwahn, Thomas Gleixner, x86, linux-kernel
The following commit has been merged into the timers/core branch of tip:
Commit-ID: ebe11732838f39bd10bddafd4dfe2f97010fde62
Gitweb: https://git.kernel.org/tip/ebe11732838f39bd10bddafd4dfe2f97010fde62
Author: Lukas Bulwahn <lukas.bulwahn@gmail.com>
AuthorDate: Wed, 02 Nov 2022 10:10:48 +01:00
Committer: Thomas Gleixner <tglx@linutronix.de>
CommitterDate: Thu, 01 Dec 2022 13:35:41 +01:00
clockevents: Repair kernel-doc for clockevent_delta2ns()
Since the introduction of clockevents, i.e., commit d316c57ff6bf
("clockevents: add core functionality"), there has been a mismatch between
the function and the kernel-doc comment for clockevent_delta2ns().
Hence, ./scripts/kernel-doc -none kernel/time/clockevents.c warns about it.
Adjust the kernel-doc comment for clockevent_delta2ns() for make W=1
happiness.
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20221102091048.15068-1-lukas.bulwahn@gmail.com
---
kernel/time/clockevents.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/time/clockevents.c b/kernel/time/clockevents.c
index 5d85014..960143b 100644
--- a/kernel/time/clockevents.c
+++ b/kernel/time/clockevents.c
@@ -76,7 +76,7 @@ static u64 cev_delta2ns(unsigned long latch, struct clock_event_device *evt,
}
/**
- * clockevents_delta2ns - Convert a latch value (device ticks) to nanoseconds
+ * clockevent_delta2ns - Convert a latch value (device ticks) to nanoseconds
* @latch: value to convert
* @evt: pointer to clock event device descriptor
*
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-12-01 12:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-02 9:10 [PATCH] clockevents: repair kernel-doc for clockevent_delta2ns() Lukas Bulwahn
2022-12-01 12:44 ` [tip: timers/core] clockevents: Repair " tip-bot2 for Lukas Bulwahn
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®