* [PATCH] kernel: time: delete repeated words in comments
@ 2020-08-07 3:32 Randy Dunlap
2020-08-07 4:21 ` John Stultz
2020-08-10 20:15 ` [tip: timers/urgent] time: Delete " tip-bot2 for Randy Dunlap
0 siblings, 2 replies; 3+ messages in thread
From: Randy Dunlap @ 2020-08-07 3:32 UTC (permalink / raw)
To: linux-kernel; +Cc: Randy Dunlap, John Stultz, Thomas Gleixner
Drop repeated words in kernel/time/.
{when, one, into}
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
---
kernel/time/alarmtimer.c | 2 +-
kernel/time/sched_clock.c | 2 +-
kernel/time/timekeeping.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
--- linux-next-20200806.orig/kernel/time/alarmtimer.c
+++ linux-next-20200806/kernel/time/alarmtimer.c
@@ -192,7 +192,7 @@ static void alarmtimer_dequeue(struct al
* When a alarm timer fires, this runs through the timerqueue to
* see which alarms expired, and runs those. If there are more alarm
* timers queued for the future, we set the hrtimer to fire when
- * when the next future alarm timer expires.
+ * the next future alarm timer expires.
*/
static enum hrtimer_restart alarmtimer_fired(struct hrtimer *timer)
{
--- linux-next-20200806.orig/kernel/time/sched_clock.c
+++ linux-next-20200806/kernel/time/sched_clock.c
@@ -229,7 +229,7 @@ void __init generic_sched_clock_init(voi
{
/*
* If no sched_clock() function has been provided at that point,
- * make it the final one one.
+ * make it the final one.
*/
if (cd.actual_read_sched_clock == jiffy_sched_clock_read)
sched_clock_register(jiffy_sched_clock_read, BITS_PER_LONG, HZ);
--- linux-next-20200806.orig/kernel/time/timekeeping.c
+++ linux-next-20200806/kernel/time/timekeeping.c
@@ -2001,7 +2001,7 @@ static inline unsigned int accumulate_ns
* logarithmic_accumulation - shifted accumulation of cycles
*
* This functions accumulates a shifted interval of cycles into
- * into a shifted interval nanoseconds. Allows for O(log) accumulation
+ * a shifted interval nanoseconds. Allows for O(log) accumulation
* loop.
*
* Returns the unconsumed cycles.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] kernel: time: delete repeated words in comments
2020-08-07 3:32 [PATCH] kernel: time: delete repeated words in comments Randy Dunlap
@ 2020-08-07 4:21 ` John Stultz
2020-08-10 20:15 ` [tip: timers/urgent] time: Delete " tip-bot2 for Randy Dunlap
1 sibling, 0 replies; 3+ messages in thread
From: John Stultz @ 2020-08-07 4:21 UTC (permalink / raw)
To: Randy Dunlap; +Cc: lkml, Thomas Gleixner
On Thu, Aug 6, 2020 at 8:32 PM Randy Dunlap <rdunlap@infradead.org> wrote:
>
> Drop repeated words in kernel/time/.
> {when, one, into}
>
Acked-by: John Stultz <john.stultz@linaro.org>
(I'm sure I'm to blame)
thanks
-john
^ permalink raw reply [flat|nested] 3+ messages in thread
* [tip: timers/urgent] time: Delete repeated words in comments
2020-08-07 3:32 [PATCH] kernel: time: delete repeated words in comments Randy Dunlap
2020-08-07 4:21 ` John Stultz
@ 2020-08-10 20:15 ` tip-bot2 for Randy Dunlap
1 sibling, 0 replies; 3+ messages in thread
From: tip-bot2 for Randy Dunlap @ 2020-08-10 20:15 UTC (permalink / raw)
To: linux-tip-commits; +Cc: Randy Dunlap, Thomas Gleixner, John Stultz, x86, LKML
The following commit has been merged into the timers/urgent branch of tip:
Commit-ID: b0294f30256bb6023b2044fd607855123863d98f
Gitweb: https://git.kernel.org/tip/b0294f30256bb6023b2044fd607855123863d98f
Author: Randy Dunlap <rdunlap@infradead.org>
AuthorDate: Thu, 06 Aug 2020 20:32:48 -07:00
Committer: Thomas Gleixner <tglx@linutronix.de>
CommitterDate: Mon, 10 Aug 2020 22:14:07 +02:00
time: Delete repeated words in comments
Drop repeated words in kernel/time/. {when, one, into}
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: John Stultz <john.stultz@linaro.org>
Link: https://lore.kernel.org/r/20200807033248.8452-1-rdunlap@infradead.org
---
kernel/time/alarmtimer.c | 2 +-
kernel/time/sched_clock.c | 2 +-
kernel/time/timekeeping.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/kernel/time/alarmtimer.c b/kernel/time/alarmtimer.c
index 2ffb466..ca223a8 100644
--- a/kernel/time/alarmtimer.c
+++ b/kernel/time/alarmtimer.c
@@ -192,7 +192,7 @@ static void alarmtimer_dequeue(struct alarm_base *base, struct alarm *alarm)
* When a alarm timer fires, this runs through the timerqueue to
* see which alarms expired, and runs those. If there are more alarm
* timers queued for the future, we set the hrtimer to fire when
- * when the next future alarm timer expires.
+ * the next future alarm timer expires.
*/
static enum hrtimer_restart alarmtimer_fired(struct hrtimer *timer)
{
diff --git a/kernel/time/sched_clock.c b/kernel/time/sched_clock.c
index 0deaf4b..1c03eec 100644
--- a/kernel/time/sched_clock.c
+++ b/kernel/time/sched_clock.c
@@ -229,7 +229,7 @@ void __init generic_sched_clock_init(void)
{
/*
* If no sched_clock() function has been provided at that point,
- * make it the final one one.
+ * make it the final one.
*/
if (cd.actual_read_sched_clock == jiffy_sched_clock_read)
sched_clock_register(jiffy_sched_clock_read, BITS_PER_LONG, HZ);
diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c
index 4c7212f..35cd10f 100644
--- a/kernel/time/timekeeping.c
+++ b/kernel/time/timekeeping.c
@@ -2001,7 +2001,7 @@ static inline unsigned int accumulate_nsecs_to_secs(struct timekeeper *tk)
* logarithmic_accumulation - shifted accumulation of cycles
*
* This functions accumulates a shifted interval of cycles into
- * into a shifted interval nanoseconds. Allows for O(log) accumulation
+ * a shifted interval nanoseconds. Allows for O(log) accumulation
* loop.
*
* Returns the unconsumed cycles.
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-08-10 20:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-07 3:32 [PATCH] kernel: time: delete repeated words in comments Randy Dunlap
2020-08-07 4:21 ` John Stultz
2020-08-10 20:15 ` [tip: timers/urgent] time: Delete " tip-bot2 for Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).