Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

authored by

Lukas Bulwahn and committed by
Thomas Gleixner
ebe11732 03562954

+1 -1
+1 -1
kernel/time/clockevents.c
··· 76 76 } 77 77 78 78 /** 79 - * clockevents_delta2ns - Convert a latch value (device ticks) to nanoseconds 79 + * clockevent_delta2ns - Convert a latch value (device ticks) to nanoseconds 80 80 * @latch: value to convert 81 81 * @evt: pointer to clock event device descriptor 82 82 *