Skip to contentSkip to conversation

Fix some trivial typos in comments

PATCH Applied Xie XiuQi 5 participants 8 messages Oct 18, 2013 – Oct 20, 2013

Subsystems (4)
lore
Share & tools
lore

Xie XiuQi

author
#0 lore raw

cover Fix some trivial typos in comments

Correct some spelling typo in comments

Xie XiuQi (3):
irq: fix some trivial typos in comments
mm: fix some trivial typos in comments
timekeeping: Fix some trivial typos in comments.

 kernel/irq/chip.c         |    2 +-
 kernel/irq/manage.c       |    2 +-
 kernel/time/timekeeping.c |    3 ++-
 mm/slub.c                 |    2 +-
 4 files changed, 5 insertions(+), 4 deletions(-)
Signature · 1 line
1.7.7
author
#1 lore raw

PATCH 1/3 irq: Fix some trivial typos in comments

---
 kernel/irq/chip.c   |    2 +-
 kernel/irq/manage.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
kernel/irq/chip.c +1 -1
index a3bb14f..dc04c16 100644
@@ -214,7 +214,7 @@ void irq_enable(struct irq_desc *desc)
 }
 
 /**
- * irq_disable - Mark interupt disabled
+ * irq_disable - Mark interrupt disabled
  * @desc:	irq descriptor which should be disabled
  *
  * If the chip does not implement the irq_disable callback, we
kernel/irq/manage.c +1 -1
index 514bcfd..6394a3c 100644
@@ -786,7 +786,7 @@ irq_forced_thread_fn(struct irq_desc *desc, struct irqaction *action)
 }
 
 /*
- * Interrupts explicitely requested as threaded interupts want to be
+ * Interrupts explicitely requested as threaded interrupts want to be
  * preemtible - many of them need to sleep and wait for slow busses to
  * complete.
  */
Signature · 1 line
1.7.7
author
#4 lore raw

PATCH 2/3 mm: Fix some trivial typos in comments

In reply to Xie XiuQi
---
 mm/slub.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
mm/slub.c +1 -1
index c3eb3d3..c9aa8d4 100644
@@ -955,7 +955,7 @@ static inline void slab_free_hook(struct kmem_cache *s, void *x)
 	kmemleak_free_recursive(x, s->flags);
 
 	/*
-	 * Trouble is that we may no longer disable interupts in the fast path
+	 * Trouble is that we may no longer disable interrupts in the fast path
 	 * So in order to make the debug calls that expect irqs to be
 	 * disabled we need to disable interrupts temporarily.
 	 */
Signature · 1 line
1.7.7
author
#6 lore raw

PATCH 3/3 timekeeping: Fix some trivial typos in comments

In reply to Xie XiuQi
---
 kernel/time/timekeeping.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
kernel/time/timekeeping.c +2 -1
index 947ba25..3abf534 100644
@@ -1613,9 +1613,10 @@ void get_xtime_and_monotonic_and_sleep_offset(struct timespec *xtim,
  * ktime_get_update_offsets - hrtimer helper
  * @offs_real:	pointer to storage for monotonic -> realtime offset
  * @offs_boot:	pointer to storage for monotonic -> boottime offset
+ * @offs_tai:	pointer to storage for monotonic -> clock tai offset
  *
  * Returns current monotonic time and updates the offsets
- * Called from hrtimer_interupt() or retrigger_next_event()
+ * Called from hrtimer_interrupt() or retrigger_next_event()
  */
 ktime_t ktime_get_update_offsets(ktime_t *offs_real, ktime_t *offs_boot,
 							ktime_t *offs_tai)
Signature · 1 line
1.7.7
#2 lore raw

Re: [PATCH 1/3] irq: Fix some trivial typos in comments

In reply to Xie XiuQi
Quoted 24 lines · Xie XiuQi
---
 kernel/irq/chip.c   |    2 +-
 kernel/irq/manage.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
kernel/irq/chip.c +1 -1
index a3bb14f..dc04c16 100644
@@ -214,7 +214,7 @@ void irq_enable(struct irq_desc *desc)
 }
 
 /**
- * irq_disable - Mark interupt disabled
+ * irq_disable - Mark interrupt disabled
  * @desc:	irq descriptor which should be disabled
  *
  * If the chip does not implement the irq_disable callback, we
kernel/irq/manage.c +0 -0
index 514bcfd..6394a3c 100644

kernel/irq/manage.c irq_forced_thread_fn(struct irq_desc *desc, struct irqaction *action) · line 789

Quoted 5 lines
kernel/irq/manage.c +1 -1
@@ -786,7 +786,7 @@ irq_forced_thread_fn(struct irq_desc *desc, struct irqaction *action)
 }
 
 /*
- * Interrupts explicitely requested as threaded interupts want to be
+ * Interrupts explicitely requested as threaded interrupts want to be

explicitly

Quoted 4 lines
kernel/irq/manage.c +0 -0
  * preemtible - many of them need to sleep and wait for slow busses to
  * complete.
  */
Signature · 1 line
~Randy
#3 lore raw

Re: [PATCH 1/3] irq: Fix some trivial typos in comments

Quoted 25 lines · Randy Dunlap
Quoted 25 lines
---
 kernel/irq/chip.c   |    2 +-
 kernel/irq/manage.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
kernel/irq/chip.c +1 -1
index a3bb14f..dc04c16 100644
@@ -214,7 +214,7 @@ void irq_enable(struct irq_desc *desc)
 }
 
 /**
- * irq_disable - Mark interupt disabled
+ * irq_disable - Mark interrupt disabled
  * @desc:	irq descriptor which should be disabled
  *
  * If the chip does not implement the irq_disable callback, we
kernel/irq/manage.c +0 -0
index 514bcfd..6394a3c 100644
@@ -786,7 +786,7 @@ irq_forced_thread_fn(struct irq_desc *desc, struct irqaction *action)
 }
 
Quoted 5 lines

kernel/irq/manage.c irq_forced_thread_fn(struct irq_desc *desc, struct irqaction *action) · line 789

Quoted 3 lines
kernel/irq/manage.c +1 -1
 /*
- * Interrupts explicitely requested as threaded interupts want to be
+ * Interrupts explicitely requested as threaded interrupts want to be

explicitly

I have fixed this one and applied the series.

Signature · 2 lines
Jiri Kosina
SUSE Labs
Applied
#7 lore raw

Re: [PATCH 3/3] timekeeping: Fix some trivial typos in comments

In reply to Xie XiuQi
Quoted 11 lines · Xie XiuQi
---
 kernel/time/timekeeping.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
kernel/time/timekeeping.c +0 -0
index 947ba25..3abf534 100644
@@ -1613,9 +1613,10 @@ void get_xtime_and_monotonic_and_sleep_offset(struct timespec *xtim,
  * ktime_get_update_offsets - hrtimer helper

kernel/time/timekeeping.c void get_xtime_and_monotonic_and_sleep_offset(struct timespec *xtim, · line 1622

Quoted 10 lines
kernel/time/timekeeping.c +2 -1
  * @offs_real:	pointer to storage for monotonic -> realtime offset
  * @offs_boot:	pointer to storage for monotonic -> boottime offset
+ * @offs_tai:	pointer to storage for monotonic -> clock tai offset
  *
  * Returns current monotonic time and updates the offsets
- * Called from hrtimer_interupt() or retrigger_next_event()
+ * Called from hrtimer_interrupt() or retrigger_next_event()
  */
 ktime_t ktime_get_update_offsets(ktime_t *offs_real, ktime_t *offs_boot,
 							ktime_t *offs_tai)

Even though its trivial, next time please add some sort of commit message, even if its redundent to the commit subject.

Queued in my 3.13 branch.

thanks
-john