From: Stefan Weil <weil@mail.berlios.de>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Fix two typos
Date: Tue, 26 Jun 2007 22:23:48 +0200 [thread overview]
Message-ID: <468175D4.9000908@mail.berlios.de> (raw)
In-Reply-To: <20070626172533.GD4096@aon.at>
[-- Attachment #1: Type: text/plain, Size: 479 bytes --]
The appended patch fixes recieve -> receive, seperat -> separat and
teh -> the. Maybe this makes addition to CVS HEAD easier...
Stefan
Bernhard Fischer schrieb:
> On Tue, Jun 26, 2007 at 07:19:53PM +0200, Stefan Weil wrote:
>> Hi,
>>
>> here is another patch which changes additionnal -> additional.
>> Please apply this new patch and my last one to CVS HEAD.
>
> A few others, fwiw:
> s/recieve/receive/g
> s/seperat/separat/g
> /[[:space:]]teh[[:space:]]/ the /g
>
> cheers,
[-- Attachment #2: spelling2.patch --]
[-- Type: text/x-diff, Size: 4354 bytes --]
Index: m68k-dis.c
===================================================================
--- m68k-dis.c (Revision 727)
+++ m68k-dis.c (Arbeitskopie)
@@ -560,7 +560,7 @@
};
/* Name of register halves for MAC/EMAC.
- Seperate from reg_names since 'spu', 'fpl' look weird. */
+ Separate from reg_names since 'spu', 'fpl' look weird. */
static char *const reg_half_names[] =
{
"%d0", "%d1", "%d2", "%d3", "%d4", "%d5", "%d6", "%d7",
Index: dis-asm.h
===================================================================
--- dis-asm.h (Revision 727)
+++ dis-asm.h (Arbeitskopie)
@@ -421,7 +421,7 @@
/* Call this macro to initialize only the internal variables for the
disassembler. Architecture dependent things such as byte order, or machine
variant are not touched by this macro. This makes things much easier for
- GDB which must initialize these things seperatly. */
+ GDB which must initialize these things separatly. */
#define INIT_DISASSEMBLE_INFO_NO_ARCH(INFO, STREAM, FPRINTF_FUNC) \
(INFO).fprintf_func = (FPRINTF_FUNC), \
Index: hw/pl181.c
===================================================================
--- hw/pl181.c (Revision 727)
+++ hw/pl181.c (Arbeitskopie)
@@ -160,7 +160,7 @@
s->response[2] = RWORD(8);
s->response[3] = RWORD(12) & ~1;
}
- DPRINTF("Response recieved\n");
+ DPRINTF("Response received\n");
s->status |= PL181_STATUS_CMDRESPEND;
#undef RWORD
} else {
@@ -174,7 +174,7 @@
s->status |= PL181_STATUS_CMDTIMEOUT;
}
-/* Transfer data between teh card and the FIFO. This is complicated by
+/* Transfer data between the card and the FIFO. This is complicated by
the FIFO holding 32-bit words and the card taking data in single byte
chunks. FIFO bytes are transferred in little-endian order. */
Index: hw/i2c.h
===================================================================
--- hw/i2c.h (Revision 727)
+++ hw/i2c.h (Arbeitskopie)
@@ -10,7 +10,7 @@
I2C_START_RECV,
I2C_START_SEND,
I2C_FINISH,
- I2C_NACK /* Masker NACKed a recieve byte. */
+ I2C_NACK /* Masker NACKed a receive byte. */
};
typedef struct i2c_slave i2c_slave;
Index: hw/rtl8139.c
===================================================================
--- hw/rtl8139.c (Revision 727)
+++ hw/rtl8139.c (Arbeitskopie)
@@ -790,7 +790,7 @@
RTL8139State *s = opaque;
int avail;
- /* Recieve (drop) packets if card is disabled. */
+ /* Receive (drop) packets if card is disabled. */
if (!s->clock_enabled)
return 1;
if (!rtl8139_receiver_enabled(s))
Index: hw/pl011.c
===================================================================
--- hw/pl011.c (Revision 727)
+++ hw/pl011.c (Arbeitskopie)
@@ -176,7 +176,7 @@
}
}
-static int pl011_can_recieve(void *opaque)
+static int pl011_can_receive(void *opaque)
{
pl011_state *s = (pl011_state *)opaque;
@@ -186,7 +186,7 @@
return s->read_count < 1;
}
-static void pl011_recieve(void *opaque, const uint8_t *buf, int size)
+static void pl011_receive(void *opaque, const uint8_t *buf, int size)
{
pl011_state *s = (pl011_state *)opaque;
int slot;
@@ -241,7 +241,7 @@
s->cr = 0x300;
s->flags = 0x90;
if (chr){
- qemu_chr_add_handlers(chr, pl011_can_recieve, pl011_recieve,
+ qemu_chr_add_handlers(chr, pl011_can_receive, pl011_receive,
pl011_event, s);
}
/* ??? Save/restore. */
Index: gdbstub.c
===================================================================
--- gdbstub.c (Revision 727)
+++ gdbstub.c (Arbeitskopie)
@@ -1238,12 +1238,12 @@
return 0;
}
#else
-static int gdb_chr_can_recieve(void *opaque)
+static int gdb_chr_can_receive(void *opaque)
{
return 1;
}
-static void gdb_chr_recieve(void *opaque, const uint8_t *buf, int size)
+static void gdb_chr_receive(void *opaque, const uint8_t *buf, int size)
{
GDBState *s = opaque;
int i;
@@ -1294,7 +1294,7 @@
}
s->env = first_cpu; /* XXX: allow to change CPU */
s->chr = chr;
- qemu_chr_add_handlers(chr, gdb_chr_can_recieve, gdb_chr_recieve,
+ qemu_chr_add_handlers(chr, gdb_chr_can_receive, gdb_chr_receive,
gdb_chr_event, s);
qemu_add_vm_stop_handler(gdb_vm_stopped, s);
return 0;
next prev parent reply other threads:[~2007-06-26 20:23 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-22 22:25 [Qemu-devel] [PATCH] Fix two typos Aurelien Jarno
2007-06-23 21:01 ` Stefan Weil
2007-06-26 17:19 ` Stefan Weil
2007-06-26 17:25 ` Bernhard Fischer
2007-06-26 20:23 ` Stefan Weil [this message]
2007-06-26 21:35 ` Jonathan Kalbfeld
2007-06-26 21:42 ` andrzej zaborowski
2007-07-03 19:28 ` Chris Wilson
2007-07-03 19:48 ` Jason Gress
2007-07-03 20:35 ` Stefan Weil
2007-07-02 18:48 ` Stuart Brady
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=468175D4.9000908@mail.berlios.de \
--to=weil@mail.berlios.de \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).