summaryrefslogtreecommitdiff
path: root/kernel/time
diff options
context:
space:
mode:
authorAlex Shi <alex.shi@linux.alibaba.com>2020-11-13 15:24:31 +0800
committerThomas Gleixner <tglx@linutronix.de>2020-11-15 23:47:24 +0100
commite025b03113d27139ce2b28b82599018e4d8fa5f6 (patch)
treef649d23b7ebbf12beaeab224f6b1023b4dd90fc4 /kernel/time
parent199d280c884de44c3b0daeb77438db43f6db01a2 (diff)
timekeeping: Add missing parameter documentation for update_fast_timekeeper()
Address the following warning: kernel/time/timekeeping.c:415: warning: Function parameter or member 'tkf' not described in 'update_fast_timekeeper' [ tglx: Remove the bogus ktime_get_mono_fast_ns() part ] Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/1605252275-63652-2-git-send-email-alex.shi@linux.alibaba.com
Diffstat (limited to 'kernel/time')
-rw-r--r--kernel/time/timekeeping.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c
index 570fc500d263..a823703c905e 100644
--- a/kernel/time/timekeeping.c
+++ b/kernel/time/timekeeping.c
@@ -407,6 +407,7 @@ static inline u64 timekeeping_cycles_to_ns(const struct tk_read_base *tkr, u64 c
/**
* update_fast_timekeeper - Update the fast and NMI safe monotonic timekeeper.
* @tkr: Timekeeping readout base from which we take the update
+ * @tkf: Pointer to NMI safe timekeeper
*
* We want to use this from any context including NMI and tracing /
* instrumenting the timekeeping code itself.