mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] timekeeping: Fix typo
@ 2020-06-09  8:17 Kurt Kanzenbach
  2020-06-18  9:40 ` [tip: timers/urgent] timekeeping: Fix kerneldoc system_device_crosststamp & al tip-bot2 for Kurt Kanzenbach
  0 siblings, 1 reply; 2+ messages in thread
From: Kurt Kanzenbach @ 2020-06-09  8:17 UTC (permalink / raw)
  To: Thomas Gleixner
  Cc: Jason A. Donenfeld, Arnd Bergmann, linux-kernel, Kurt Kanzenbach

Fix typo in comment for cross timestamping structure:

 syncronized -> synchronized.

Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
---
 include/linux/timekeeping.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/timekeeping.h b/include/linux/timekeeping.h
index b27e2ffa96c1..17a1a2b6be40 100644
--- a/include/linux/timekeeping.h
+++ b/include/linux/timekeeping.h
@@ -241,7 +241,7 @@ struct system_time_snapshot {
 
 /*
  * struct system_device_crosststamp - system/device cross-timestamp
- *	(syncronized capture)
+ *	(synchronized capture)
  * @device:		Device time
  * @sys_realtime:	Realtime simultaneous with device time
  * @sys_monoraw:	Monotonic raw simultaneous with device time
-- 
2.20.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [tip: timers/urgent] timekeeping: Fix kerneldoc system_device_crosststamp & al
  2020-06-09  8:17 [PATCH] timekeeping: Fix typo Kurt Kanzenbach
@ 2020-06-18  9:40 ` tip-bot2 for Kurt Kanzenbach
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot2 for Kurt Kanzenbach @ 2020-06-18  9:40 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: Kurt Kanzenbach, Thomas Gleixner, x86, LKML

The following commit has been merged into the timers/urgent branch of tip:

Commit-ID:     f097eb38f71391ff2cf078788bad5a00eb3bd96a
Gitweb:        https://git.kernel.org/tip/f097eb38f71391ff2cf078788bad5a00eb3bd96a
Author:        Kurt Kanzenbach <kurt@linutronix.de>
AuthorDate:    Tue, 09 Jun 2020 10:17:26 +02:00
Committer:     Thomas Gleixner <tglx@linutronix.de>
CommitterDate: Thu, 18 Jun 2020 11:37:03 +02:00

timekeeping: Fix kerneldoc system_device_crosststamp & al

Make kernel doc comments actually work and fix the syncronized typo.

[ tglx: Added the missing /** and fixed up formatting ]

Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20200609081726.5657-1-kurt@linutronix.de

---
 include/linux/timekeeping.h | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/include/linux/timekeeping.h b/include/linux/timekeeping.h
index b27e2ff..d5471d6 100644
--- a/include/linux/timekeeping.h
+++ b/include/linux/timekeeping.h
@@ -222,9 +222,9 @@ extern bool timekeeping_rtc_skipresume(void);
 
 extern void timekeeping_inject_sleeptime64(const struct timespec64 *delta);
 
-/*
+/**
  * struct system_time_snapshot - simultaneous raw/real time capture with
- *	counter value
+ *				 counter value
  * @cycles:	Clocksource counter value to produce the system times
  * @real:	Realtime system time
  * @raw:	Monotonic raw system time
@@ -239,9 +239,9 @@ struct system_time_snapshot {
 	u8		cs_was_changed_seq;
 };
 
-/*
+/**
  * struct system_device_crosststamp - system/device cross-timestamp
- *	(syncronized capture)
+ *				      (synchronized capture)
  * @device:		Device time
  * @sys_realtime:	Realtime simultaneous with device time
  * @sys_monoraw:	Monotonic raw simultaneous with device time
@@ -252,12 +252,12 @@ struct system_device_crosststamp {
 	ktime_t sys_monoraw;
 };
 
-/*
+/**
  * struct system_counterval_t - system counter value with the pointer to the
- *	corresponding clocksource
+ *				corresponding clocksource
  * @cycles:	System counter value
  * @cs:		Clocksource corresponding to system counter value. Used by
- *	timekeeping code to verify comparibility of two cycle values
+ *		timekeeping code to verify comparibility of two cycle values
  */
 struct system_counterval_t {
 	u64			cycles;

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-06-18  9:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-09  8:17 [PATCH] timekeeping: Fix typo Kurt Kanzenbach
2020-06-18  9:40 ` [tip: timers/urgent] timekeeping: Fix kerneldoc system_device_crosststamp & al tip-bot2 for Kurt Kanzenbach

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®