Skip to contentSkip to conversation

cpu.h: fix a typo in comment

PATCH Applied Li Qiang 3 participants 3 messages Sep 5, 2018 – Oct 26, 2018

lore
Share & tools
lore

Li Qiang

author
#0 lore raw

PATCH 1/1 cpu.h: fix a typo in comment

Found by reading the code.

---
 include/qom/cpu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/qom/cpu.h +1 -1
index dc130cd307..5bb94a9f86 100644
@@ -852,7 +852,7 @@ extern CPUInterruptHandler cpu_interrupt_handler;
 /**
  * cpu_interrupt:
  * @cpu: The CPU to set an interrupt on.
- * @mask: The interupts to set.
+ * @mask: The interrupts to set.
  *
  * Invokes the interrupt handler.
  */
Signature · 1 line
2.11.0
#1 lore raw

Could be merged via qemu-trivial (cc'ed).

Quoted 20 lines · Li Qiang

Found by reading the code.

---
 include/qom/cpu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/qom/cpu.h +1 -1
index dc130cd307..5bb94a9f86 100644
@@ -852,7 +852,7 @@ extern CPUInterruptHandler cpu_interrupt_handler;
 /**
  * cpu_interrupt:
  * @cpu: The CPU to set an interrupt on.
- * @mask: The interupts to set.
+ * @mask: The interrupts to set.
  *
  * Invokes the interrupt handler.
  */
#2 lore raw
In reply to Li Qiang
Quoted 13 lines · Li Qiang

Found by reading the code.

---
 include/qom/cpu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/qom/cpu.h +0 -0
index dc130cd307..5bb94a9f86 100644

include/qom/cpu.h extern CPUInterruptHandler cpu_interrupt_handler; · line 858

Quoted 8 lines
include/qom/cpu.h +1 -1
@@ -852,7 +852,7 @@ extern CPUInterruptHandler cpu_interrupt_handler;
 /**
  * cpu_interrupt:
  * @cpu: The CPU to set an interrupt on.
- * @mask: The interupts to set.
+ * @mask: The interrupts to set.
  *
  * Invokes the interrupt handler.
  */

Applied

Thanks,
Laurent