Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JjKeW-0006Pd-UO for qemu-devel@nongnu.org; Tue, 08 Apr 2008 16:42:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JjKeT-0006L0-KX for qemu-devel@nongnu.org; Tue, 08 Apr 2008 16:42:48 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JjKeT-0006KV-CQ for qemu-devel@nongnu.org; Tue, 08 Apr 2008 16:42:45 -0400 Received: from moutng.kundenserver.de ([212.227.126.183]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JjKeS-0000PA-Jn for qemu-devel@nongnu.org; Tue, 08 Apr 2008 16:42:45 -0400 Received: from localhost ([127.0.0.1] ident=stefan) by flocke.weilnetz.de with esmtp (Exim 4.69) (envelope-from ) id 1JjKeB-0002VM-Ox for qemu-devel@nongnu.org; Tue, 08 Apr 2008 22:42:27 +0200 Message-ID: <47FBD8B2.600@weilnetz.de> Date: Tue, 08 Apr 2008 22:42:26 +0200 From: Stefan Weil MIME-Version: 1.0 Subject: [Qemu-devel][PATCH] Fix spelling bugs and compiler warnings Content-Type: multipart/mixed; boundary="------------070102060503040007010402" Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Developers This is a multi-part message in MIME format. --------------070102060503040007010402 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Hello, this patch fixes two compiler warnings and some spelling bugs in comments. Regards Stefan --------------070102060503040007010402 Content-Type: text/x-diff; name="qemu.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="qemu.diff" 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; --------------070102060503040007010402--