Spelling fixes in comments (it's -> its)
PATCH 1/1 Spelling fixes in comments (it's -> its)
* it's -> its (fixed for all files)
* dont -> don't (only fixed in a line which was touched by the previous fix)
--- configure | 2 +- hw/exynos4210_mct.c | 2 +- hw/usb-ccid.c | 2 +- include/qemu/object.h | 4 ++-- kvm-all.c | 2 +- libcacard/vscclient.c | 2 +- linux-user/signal.c | 2 +- qemu-file.h | 2 +- target-mips/op_helper.c | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-)
configure +1 -1
@@ -231,7 +231,7 @@ for opt do done # OS specific # Using uname is really, really broken. Once we have the right set of checks -# we can eliminate it's usage altogether +# we can eliminate its usage altogether. cc="${CC-${cross_prefix}gcc}" ar="${AR-${cross_prefix}ar}"
hw/exynos4210_mct.c +1 -1
@@ -888,7 +888,7 @@ static void exynos4210_ltick_event(void *opaque)static uint64_t time2[2 ] = {0 };#endif -/* Call tick_timer event handler, it will update it's tcntb and icntb */ +/* Call tick_timer event handler, it will update its tcntb and icntb. */ exynos4210_ltick_timer_event (&s->tick_timer);/* get tick_timer cnt */
hw/usb-ccid.c +1 -1
@@ -5,7 +5,7 @@* * Written by Alon Levy, with contributions from Robert Relyea. * -* Based on usb-serial.c, see it's copyright and attributions below. +* Based on usb-serial.c, see its copyright and attributions below. * * This work is licensed under the terms of the GNU GPL, version 2.1 or later. * See the COPYING file in the top-level directory.
include/qemu/object.h +2 -2
@@ -124,7 +124,7 @@ typedef struct InterfaceInfo InterfaceInfo;* * Once all of the parent classes have been initialized, #TypeInfo::class_init * is called to let the class being instantiated provide default initialize for -* it's virtual functions. Here is how the above example might be modified +* its virtual functions. Here is how the above example might be modified * to introduce an overridden virtual function: * * <example>
@@ -527,7 +527,7 @@ Type type_register_static(const TypeInfo *info);* type_register: * @info: The #TypeInfo of the new type * -* Unlike type_register_static(), this call does not require @info or it's +* Unlike type_register_static(), this call does not require @info or its * string members to continue to exist after the call returns. * * Returns: 0 on failure, the new #Type on success.
kvm-all.c +1 -1
@@ -34,7 +34,7 @@#include <sys/eventfd.h> #endif -/* KVM uses PAGE_SIZE in it's definition of COALESCED_MMIO_MAX */ +/* KVM uses PAGE_SIZE in its definition of COALESCED_MMIO_MAX */ #define PAGE_SIZE TARGET_PAGE_SIZE//#define DEBUG_KVM
libcacard/vscclient.c +1 -1
@@ -129,7 +129,7 @@ event_thread(void *arg)vevent_delete (event);continue ; } -/* this reader hasn't been told it's status from qemu yet, wait for +/* this reader hasn't been told its status from qemu yet, wait for * that status */ while (pending_reader !=NULL ) {qemu_cond_wait (&pending_reader_condition, &pending_reader_lock);
linux-user/signal.c +1 -1
@@ -2700,7 +2700,7 @@ get_sigframe(struct target_sigaction *ka, CPUState *regs, size_t frame_size) sp = regs->active_tc.gpr[29 ];/* -* FPU emulator may have it's own trampoline active just +* FPU emulator may have its own trampoline active just * above the user stack, 16-bytes before the next lowest * 16 byte boundary. Try to avoid trashing it. */
qemu-file.h +1 -1
@@ -47,7 +47,7 @@ typedef int (QEMUFileGetBufferFunc)(void *opaque, uint8_t *buf,*/ typedef int (QEMUFileCloseFunc )(void *opaque); -/* Called to determine if the file has exceeded it's bandwidth allocation. The +/* Called to determine if the file has exceeded its bandwidth allocation. The * bandwidth capping is a soft limit, not a hard limit. */ typedef int (QEMUFileRateLimit )(void *opaque);
target-mips/op_helper.c +1 -1
@@ -1930,7 +1930,7 @@ target_ulong helper_evpe(void) do { if (other_cpu != env - /* If the VPE is WFI, dont distrub it's sleep. */ + /* If the VPE is WFI, don't distrub its sleep. */ && !mips_vpe_is_wfi(other_cpu)) { /* Enable the VPE. */ other_cpu->mvp->CP0_MVPControl |= (1 << CP0MVPCo_EVP);
Signature · 1 line
1.7.9
Am 26.02.2012 14:35, schrieb Stefan Weil:
Quoted 4 lines
* it's -> its (fixed for all files)
* dont -> don't (only fixed in a line which was touched by the previous fix)Signed-off-by Stefan Weil <[email protected]>
Except for one omission:
Quoted 17 lines
--- configure | 2 +- hw/exynos4210_mct.c | 2 +- hw/usb-ccid.c | 2 +- include/qemu/object.h | 4 ++-- kvm-all.c | 2 +- libcacard/vscclient.c | 2 +- linux-user/signal.c | 2 +- qemu-file.h | 2 +- target-mips/op_helper.c | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-)target-mips/op_helper.c +0
-0
target-mips/op_helper.c target_ulong helper_evpe(void) · line 1933
Quoted 5 lines
target-mips/op_helper.c +1
-1@@ -1930,7 +1930,7 @@ target_ulong helper_evpe(void) do { if (other_cpu != env - /* If the VPE is WFI, dont distrub it's sleep. */ + /* If the VPE is WFI, don't distrub its sleep. */
While at it, please also fix "disturb". :)
Also I've generally wondered if there is a reason for having two spaces before */? Some do, some don't.
Andreas
Quoted 3 lines
target-mips/op_helper.c +0
-0&& !mips_vpe_is_wfi(other_cpu)) {/* Enable the VPE. */ other_cpu->mvp->CP0_MVPControl |= (1 << CP0MVPCo_EVP);
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
PATCH v2 1/1 Spelling fixes in comments (it's -> its)
* it's -> its (fixed for all files)
* dont -> don't (only fixed in a line which was touched by the previous fix)
* distrub -> disturb (fixed in the same line)
---
This 2nd version of the patch added the fix for 'distrub' as suggested by Andreas Färber.
configure | 2 +- hw/exynos4210_mct.c | 2 +- hw/usb-ccid.c | 2 +- include/qemu/object.h | 4 ++-- kvm-all.c | 2 +- libcacard/vscclient.c | 2 +- linux-user/signal.c | 2 +- qemu-file.h | 2 +- target-mips/op_helper.c | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-)
configure +1 -1
@@ -231,7 +231,7 @@ for opt do done # OS specific # Using uname is really, really broken. Once we have the right set of checks -# we can eliminate it's usage altogether +# we can eliminate its usage altogether. cc="${CC-${cross_prefix}gcc}" ar="${AR-${cross_prefix}ar}"
hw/exynos4210_mct.c +1 -1
@@ -888,7 +888,7 @@ static void exynos4210_ltick_event(void *opaque)static uint64_t time2[2 ] = {0 };#endif -/* Call tick_timer event handler, it will update it's tcntb and icntb */ +/* Call tick_timer event handler, it will update its tcntb and icntb. */ exynos4210_ltick_timer_event (&s->tick_timer);/* get tick_timer cnt */
hw/usb-ccid.c +1 -1
@@ -5,7 +5,7 @@* * Written by Alon Levy, with contributions from Robert Relyea. * -* Based on usb-serial.c, see it's copyright and attributions below. +* Based on usb-serial.c, see its copyright and attributions below. * * This work is licensed under the terms of the GNU GPL, version 2.1 or later. * See the COPYING file in the top-level directory.
include/qemu/object.h +2 -2
@@ -124,7 +124,7 @@ typedef struct InterfaceInfo InterfaceInfo;* * Once all of the parent classes have been initialized, #TypeInfo::class_init * is called to let the class being instantiated provide default initialize for -* it's virtual functions. Here is how the above example might be modified +* its virtual functions. Here is how the above example might be modified * to introduce an overridden virtual function: * * <example>
@@ -527,7 +527,7 @@ Type type_register_static(const TypeInfo *info);* type_register: * @info: The #TypeInfo of the new type * -* Unlike type_register_static(), this call does not require @info or it's +* Unlike type_register_static(), this call does not require @info or its * string members to continue to exist after the call returns. * * Returns: 0 on failure, the new #Type on success.
kvm-all.c +1 -1
@@ -34,7 +34,7 @@#include <sys/eventfd.h> #endif -/* KVM uses PAGE_SIZE in it's definition of COALESCED_MMIO_MAX */ +/* KVM uses PAGE_SIZE in its definition of COALESCED_MMIO_MAX */ #define PAGE_SIZE TARGET_PAGE_SIZE//#define DEBUG_KVM
libcacard/vscclient.c +1 -1
@@ -129,7 +129,7 @@ event_thread(void *arg)vevent_delete (event);continue ; } -/* this reader hasn't been told it's status from qemu yet, wait for +/* this reader hasn't been told its status from qemu yet, wait for * that status */ while (pending_reader !=NULL ) {qemu_cond_wait (&pending_reader_condition, &pending_reader_lock);
linux-user/signal.c +1 -1
@@ -2700,7 +2700,7 @@ get_sigframe(struct target_sigaction *ka, CPUState *regs, size_t frame_size) sp = regs->active_tc.gpr[29 ];/* -* FPU emulator may have it's own trampoline active just +* FPU emulator may have its own trampoline active just * above the user stack, 16-bytes before the next lowest * 16 byte boundary. Try to avoid trashing it. */
qemu-file.h +1 -1
@@ -47,7 +47,7 @@ typedef int (QEMUFileGetBufferFunc)(void *opaque, uint8_t *buf,*/ typedef int (QEMUFileCloseFunc )(void *opaque); -/* Called to determine if the file has exceeded it's bandwidth allocation. The +/* Called to determine if the file has exceeded its bandwidth allocation. The * bandwidth capping is a soft limit, not a hard limit. */ typedef int (QEMUFileRateLimit )(void *opaque);
target-mips/op_helper.c +1 -1
@@ -1930,7 +1930,7 @@ target_ulong helper_evpe(void) do { if (other_cpu != env - /* If the VPE is WFI, dont distrub it's sleep. */ + /* If the VPE is WFI, don't disturb its sleep. */ && !mips_vpe_is_wfi(other_cpu)) { /* Enable the VPE. */ other_cpu->mvp->CP0_MVPControl |= (1 << CP0MVPCo_EVP);
Signature · 1 line
1.7.9
Stefan Hajnoczi
AppliedQuoted 4 lines · Stefan Weil
* it's -> its (fixed for all files)
* dont -> don't (only fixed in a line which was touched by the previous fix)Signed-off-by Stefan Weil <[email protected]>
Quoted 11 lines
--- configure | 2 +- hw/exynos4210_mct.c | 2 +- hw/usb-ccid.c | 2 +- include/qemu/object.h | 4 ++-- kvm-all.c | 2 +- libcacard/vscclient.c | 2 +- linux-user/signal.c | 2 +- qemu-file.h | 2 +- target-mips/op_helper.c | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-)
Thanks, applied to the trivial patches tree:
https://github.com/stefanha/qemu/commits/trivial-patches
Stefan