All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel][PATCH] Fix spelling bugs and compiler warnings
@ 2008-04-08 20:42 Stefan Weil
  0 siblings, 0 replies; only message in thread
From: Stefan Weil @ 2008-04-08 20:42 UTC (permalink / raw)
  To: QEMU Developers

[-- Attachment #1: Type: text/plain, Size: 100 bytes --]

Hello,

this patch fixes two compiler warnings and some spelling bugs in comments.

Regards
Stefan


[-- Attachment #2: qemu.diff --]
[-- Type: text/x-diff, Size: 3113 bytes --]

Index: cpu-exec.c
===================================================================
--- cpu-exec.c	(Revision 4183)
+++ cpu-exec.c	(Arbeitskopie)
@@ -882,6 +882,8 @@
        do it (XXX: use sigsetjmp) */
     sigprocmask(SIG_SETMASK, old_set, NULL);
     cpu_loop_exit();
+    /* never comes here */
+    return 1;
 }
 #elif defined(TARGET_SPARC)
 static inline int handle_cpu_signal(unsigned long pc, unsigned long address,
@@ -918,6 +920,8 @@
        do it (XXX: use sigsetjmp) */
     sigprocmask(SIG_SETMASK, old_set, NULL);
     cpu_loop_exit();
+    /* never comes here */
+    return 1;
 }
 #elif defined (TARGET_PPC)
 static inline int handle_cpu_signal(unsigned long pc, unsigned long address,
Index: hw/e1000_hw.h
===================================================================
--- hw/e1000_hw.h	(Revision 4183)
+++ hw/e1000_hw.h	(Arbeitskopie)
@@ -734,7 +734,7 @@
     uint16_t special;
 };
 
-/* Receive Decriptor bit definitions */
+/* Receive Descriptor bit definitions */
 #define E1000_RXD_STAT_DD       0x01    /* Descriptor Done */
 #define E1000_RXD_STAT_EOP      0x02    /* End of Packet */
 #define E1000_RXD_STAT_IXSM     0x04    /* Ignore checksum */
Index: hw/stellaris.c
===================================================================
--- hw/stellaris.c	(Revision 4183)
+++ hw/stellaris.c	(Arbeitskopie)
@@ -1,5 +1,5 @@
 /*
- * Luminary Micro Stellaris preipherals
+ * Luminary Micro Stellaris peripherals
  *
  * Copyright (c) 2006 CodeSourcery.
  * Written by Paul Brook
Index: target-arm/neon_helper.c
===================================================================
--- target-arm/neon_helper.c	(Revision 4183)
+++ target-arm/neon_helper.c	(Arbeitskopie)
@@ -726,7 +726,7 @@
 NEON_VOP(mul_u16, neon_u16, 2)
 #undef NEON_FN
 
-/* Polynomial multiplication is like integer multiplcation except the
+/* Polynomial multiplication is like integer multiplication except the
    partial products are XORed, not added.  */
 uint32_t HELPER(neon_mul_p8)(uint32_t op1, uint32_t op2)
 {
Index: target-arm/helper.c
===================================================================
--- target-arm/helper.c	(Revision 4183)
+++ target-arm/helper.c	(Arbeitskopie)
@@ -1908,7 +1908,7 @@
 
 /* Signed saturating arithmetic.  */
 
-/* Perform 16-bit signed satruating addition.  */
+/* Perform 16-bit signed saturating addition.  */
 static inline uint16_t add16_sat(uint16_t a, uint16_t b)
 {
     uint16_t res;
@@ -1923,7 +1923,7 @@
     return res;
 }
 
-/* Perform 8-bit signed satruating addition.  */
+/* Perform 8-bit signed saturating addition.  */
 static inline uint8_t add8_sat(uint8_t a, uint8_t b)
 {
     uint8_t res;
@@ -1938,7 +1938,7 @@
     return res;
 }
 
-/* Perform 16-bit signed satruating subtraction.  */
+/* Perform 16-bit signed saturating subtraction.  */
 static inline uint16_t sub16_sat(uint16_t a, uint16_t b)
 {
     uint16_t res;
@@ -1953,7 +1953,7 @@
     return res;
 }
 
-/* Perform 8-bit signed satruating subtraction.  */
+/* Perform 8-bit signed saturating subtraction.  */
 static inline uint8_t sub8_sat(uint8_t a, uint8_t b)
 {
     uint8_t res;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-04-08 20:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-08 20:42 [Qemu-devel][PATCH] Fix spelling bugs and compiler warnings Stefan Weil

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.