Re: [Qemu-devel] [PATCH] typofixes - v4 - https://github.com/vlajos/misspell_fixer

2015-09-11 Thread Michael Tokarev
09.09.2015 00:45, Veres Lajos wrote:
> Signed-off-by: Veres Lajos 

Applied to -trivial, thanks!

/mjt



[Qemu-devel] [PATCH] typofixes - v4 - https://github.com/vlajos/misspell_fixer

2015-09-08 Thread Veres Lajos
Signed-off-by: Veres Lajos 
---
 disas/i386.c|2 +-
 disas/s390.c|4 ++--
 docs/specs/ppc-spapr-hcalls.txt |4 ++--
 docs/writing-qmp-commands.txt   |2 +-
 hw/audio/fmopl.c|2 +-
 hw/core/qdev.c  |2 +-
 hw/cris/axis_dev88.c|2 +-
 hw/display/qxl-render.c |2 +-
 hw/dma/xilinx_axidma.c  |2 +-
 hw/input/stellaris_input.c  |2 +-
 hw/intc/xics.c  |2 +-
 hw/net/fsl_etsec/etsec.c|2 +-
 hw/sd/pl181.c   |2 +-
 hw/vfio/pci.c   |2 +-
 hw/xen/xen-host-pci-device.c|2 +-
 include/block/scsi.h|2 +-
 include/exec/memory.h   |2 +-
 libcacard/card_7816t.h  |2 +-
 libdecnumber/decContext.c   |2 +-
 libdecnumber/decNumber.c|8 
 linux-user/syscall.c|1 -
 linux-user/syscall_defs.h   |4 ++--
 qga/commands-posix.c|2 +-
 target-alpha/mem_helper.c   |2 +-
 target-arm/cpu.h|4 ++--
 target-cris/cpu.h   |2 +-
 target-cris/translate.c |6 +++---
 target-mips/helper.c|2 +-
 target-s390x/kvm.c  |4 ++--
 target-sh4/helper.c |6 +++---
 tcg/ia64/tcg-target.c   |2 +-
 tcg/tcg.c   |4 ++--
 tests/image-fuzzer/runner.py|2 +-
 tests/qemu-iotests/041  |2 +-
 util/qemu-thread-posix.c|2 +-
 35 files changed, 47 insertions(+), 48 deletions(-)

diff --git a/disas/i386.c b/disas/i386.c
index 00ceca9..c63d4a0 100644
--- a/disas/i386.c
+++ b/disas/i386.c
@@ -357,7 +357,7 @@ fetch_data(struct disassemble_info *info, bfd_byte *addr)
 #define Rd { OP_R, d_mode }
 #define Rm { OP_R, m_mode }
 #define Ib { OP_I, b_mode }
-#define sIb { OP_sI, b_mode }  /* sign extened byte */
+#define sIb { OP_sI, b_mode }  /* sign extended byte */
 #define Iv { OP_I, v_mode }
 #define Iq { OP_I, q_mode }
 #define Iv64 { OP_I64, v_mode }
diff --git a/disas/s390.c b/disas/s390.c
index 974460c..c29bc4e 100644
--- a/disas/s390.c
+++ b/disas/s390.c
@@ -613,7 +613,7 @@ static const struct s390_operand s390_operands[] =
   names of the instruction format that you can find in the principals
   of operation.
2) the last part of the definition (y in INSTR_x_y) gives you an idea
-  which operands the binary represenation of the instruction has.
+  which operands the binary representation of the instruction has.
   The meanings of the letters in y are:
   a - access register
   c - control register
@@ -627,7 +627,7 @@ static const struct s390_operand s390_operands[] =
   m - mode field, 4 bit
   0 - operand skipped.
   The order of the letters reflects the layout of the format in
-  storage and not the order of the paramaters of the instructions.
+  storage and not the order of the parameters of the instructions.
   The use of the letters is not a 100% match with the PoP but it is
   quite close.

diff --git a/docs/specs/ppc-spapr-hcalls.txt b/docs/specs/ppc-spapr-hcalls.txt
index 667b3fa..5bd8eab 100644
--- a/docs/specs/ppc-spapr-hcalls.txt
+++ b/docs/specs/ppc-spapr-hcalls.txt
@@ -41,8 +41,8 @@ When the guest runs in "real mode" (in powerpc lingua this 
means
 with MMU disabled, ie guest effective == guest physical), it only
 has access to a subset of memory and no IOs.

-PAPR provides a set of hypervisor calls to perform cachable or
-non-cachable accesses to any guest physical addresses that the
+PAPR provides a set of hypervisor calls to perform cacheable or
+non-cacheable accesses to any guest physical addresses that the
 guest can use in order to access IO devices while in real mode.

 This is typically used by the firmware running in the guest.
diff --git a/docs/writing-qmp-commands.txt b/docs/writing-qmp-commands.txt
index ab1fdd3..f7693ca 100644
--- a/docs/writing-qmp-commands.txt
+++ b/docs/writing-qmp-commands.txt
@@ -122,7 +122,7 @@ There are a few things to be noticed:
 Now a little hack is needed. As we're still using the old QMP server we need
 to add the new command to its internal dispatch table. This step won't be
 required in the near future. Open the qmp-commands.hx file and add the
-following in the botton:
+following at the bottom:

 {
 .name   = "hello-world",
diff --git a/hw/audio/fmopl.c b/hw/audio/fmopl.c
index adcef2d..81c0c1b 100644
--- a/hw/audio/fmopl.c
+++ b/hw/audio/fmopl.c
@@ -1177,7 +1177,7 @@ void OPLResetChip(FM_OPL *OPL)
OPLWriteReg(OPL,0x03,0); /* Timer2 */
OPLWriteReg(OPL,0x04,0); /* IRQ mask clear */
for(i = 0xff ; i >= 0x20 ; i-- ) OPLWriteReg(OPL,i,0);
-   /* reset OPerator paramater */
+   /* reset operator parameter */
for( c = 0 ; c < OPL->max_ch ; c++ )
{
OPL_CH *CH = >P_CH[c];
diff --git 

Re: [Qemu-devel] [PATCH] typofixes - v4 - https://github.com/vlajos/misspell_fixer

2015-09-08 Thread Peter Maydell
On 8 September 2015 at 22:45, Veres Lajos  wrote:
> Signed-off-by: Veres Lajos 
> ---
>  disas/i386.c|2 +-
>  disas/s390.c|4 ++--
>  docs/specs/ppc-spapr-hcalls.txt |4 ++--
>  docs/writing-qmp-commands.txt   |2 +-
>  hw/audio/fmopl.c|2 +-
>  hw/core/qdev.c  |2 +-
>  hw/cris/axis_dev88.c|2 +-
>  hw/display/qxl-render.c |2 +-
>  hw/dma/xilinx_axidma.c  |2 +-
>  hw/input/stellaris_input.c  |2 +-
>  hw/intc/xics.c  |2 +-
>  hw/net/fsl_etsec/etsec.c|2 +-
>  hw/sd/pl181.c   |2 +-
>  hw/vfio/pci.c   |2 +-
>  hw/xen/xen-host-pci-device.c|2 +-
>  include/block/scsi.h|2 +-
>  include/exec/memory.h   |2 +-
>  libcacard/card_7816t.h  |2 +-
>  libdecnumber/decContext.c   |2 +-
>  libdecnumber/decNumber.c|8 
>  linux-user/syscall.c|1 -
>  linux-user/syscall_defs.h   |4 ++--
>  qga/commands-posix.c|2 +-
>  target-alpha/mem_helper.c   |2 +-
>  target-arm/cpu.h|4 ++--
>  target-cris/cpu.h   |2 +-
>  target-cris/translate.c |6 +++---
>  target-mips/helper.c|2 +-
>  target-s390x/kvm.c  |4 ++--
>  target-sh4/helper.c |6 +++---
>  tcg/ia64/tcg-target.c   |2 +-
>  tcg/tcg.c   |4 ++--
>  tests/image-fuzzer/runner.py|2 +-
>  tests/qemu-iotests/041  |2 +-
>  util/qemu-thread-posix.c|2 +-
>  35 files changed, 47 insertions(+), 48 deletions(-)

Reviewed-by: Peter Maydell 

thanks
-- PMM



Re: [Qemu-devel] [PATCH] typofixes - v4 - https://github.com/vlajos/misspell_fixer

2015-09-08 Thread Stefan Weil
Am 08.09.2015 um 23:48 schrieb Peter Maydell:
> On 8 September 2015 at 22:45, Veres Lajos  wrote:
>> Signed-off-by: Veres Lajos 
>> ---
>>  disas/i386.c|2 +-
>>  disas/s390.c|4 ++--
>>  docs/specs/ppc-spapr-hcalls.txt |4 ++--
>>  docs/writing-qmp-commands.txt   |2 +-
>>  hw/audio/fmopl.c|2 +-
>>  hw/core/qdev.c  |2 +-
>>  hw/cris/axis_dev88.c|2 +-
>>  hw/display/qxl-render.c |2 +-
>>  hw/dma/xilinx_axidma.c  |2 +-
>>  hw/input/stellaris_input.c  |2 +-
>>  hw/intc/xics.c  |2 +-
>>  hw/net/fsl_etsec/etsec.c|2 +-
>>  hw/sd/pl181.c   |2 +-
>>  hw/vfio/pci.c   |2 +-
>>  hw/xen/xen-host-pci-device.c|2 +-
>>  include/block/scsi.h|2 +-
>>  include/exec/memory.h   |2 +-
>>  libcacard/card_7816t.h  |2 +-
>>  libdecnumber/decContext.c   |2 +-
>>  libdecnumber/decNumber.c|8 
>>  linux-user/syscall.c|1 -
>>  linux-user/syscall_defs.h   |4 ++--
>>  qga/commands-posix.c|2 +-
>>  target-alpha/mem_helper.c   |2 +-
>>  target-arm/cpu.h|4 ++--
>>  target-cris/cpu.h   |2 +-
>>  target-cris/translate.c |6 +++---
>>  target-mips/helper.c|2 +-
>>  target-s390x/kvm.c  |4 ++--
>>  target-sh4/helper.c |6 +++---
>>  tcg/ia64/tcg-target.c   |2 +-
>>  tcg/tcg.c   |4 ++--
>>  tests/image-fuzzer/runner.py|2 +-
>>  tests/qemu-iotests/041  |2 +-
>>  util/qemu-thread-posix.c|2 +-
>>  35 files changed, 47 insertions(+), 48 deletions(-)
> Reviewed-by: Peter Maydell 
>
> thanks
> -- PMM
>

The subject of this patch can be fixed when it is applied to trivial.

Regards
Stefan