Skip to content

Commit ebe1173

Browse files
bulwahnKAGA-KOKO
authored andcommitted
clockevents: Repair kernel-doc for clockevent_delta2ns()
Since the introduction of clockevents, i.e., commit d316c57 ("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
1 parent 0356295 commit ebe1173

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kernel/time/clockevents.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ static u64 cev_delta2ns(unsigned long latch, struct clock_event_device *evt,
7676
}
7777

7878
/**
79-
* clockevents_delta2ns - Convert a latch value (device ticks) to nanoseconds
79+
* clockevent_delta2ns - Convert a latch value (device ticks) to nanoseconds
8080
* @latch: value to convert
8181
* @evt: pointer to clock event device descriptor
8282
*

0 commit comments

Comments
 (0)