projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
199d280
)
timekeeping: Add missing parameter documentation for update_fast_timekeeper()
author
Alex Shi
<alex.shi@linux.alibaba.com>
Fri, 13 Nov 2020 07:24:31 +0000
(15:24 +0800)
committer
Thomas Gleixner
<tglx@linutronix.de>
Sun, 15 Nov 2020 22:47:24 +0000
(23:47 +0100)
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
kernel/time/timekeeping.c
patch
|
blob
|
history
diff --git
a/kernel/time/timekeeping.c
b/kernel/time/timekeeping.c
index 570fc500d2638733c14c91676c8984ccc02a32b0..a823703c905e6009ae115b47821c9037c4a43642 100644
(file)
--- 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.