qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] s390x: Spelling fixes (endianess -> endianness, occured -> occurred)
@ 2012-11-02  7:35 Stefan Weil
  2012-11-18 19:32 ` Stefan Weil
  2012-11-19  8:39 ` [Qemu-devel] [Qemu-trivial] " Stefan Hajnoczi
  0 siblings, 2 replies; 3+ messages in thread
From: Stefan Weil @ 2012-11-02  7:35 UTC (permalink / raw)
  To: qemu-trivial; +Cc: Christian Borntraeger, qemu-devel, Stefan Weil

Replace also "write into" by "write to".

Signed-off-by: Stefan Weil <sw@weilnetz.de>
---

I think "write to" is better, but I am not sure about this,
so please wait until a native speaker has reviewed that patch.

Regards
Stefan Weil

 hw/s390x/sclp.h        |    4 ++--
 hw/s390x/sclpconsole.c |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/hw/s390x/sclp.h b/hw/s390x/sclp.h
index fe89dad..231a38a 100644
--- a/hw/s390x/sclp.h
+++ b/hw/s390x/sclp.h
@@ -51,7 +51,7 @@
 
 /*
  * Normally packed structures are not the right thing to do, since all code
- * must take care of endianess. We cant use ldl_phys and friends for two
+ * must take care of endianness. We cannot use ldl_phys and friends for two
  * reasons, though:
  * - some of the embedded structures below the SCCB can appear multiple times
  *   at different locations, so there is no fixed offset
@@ -60,7 +60,7 @@
  *   alter the structure while we parse it. We cannot use ldl_p and friends
  *   either without doing pointer arithmetics
  * So we have to double check that all users of sclp data structures use the
- * right endianess wrappers.
+ * right endianness wrappers.
  */
 typedef struct SCCBHeader {
     uint16_t length;
diff --git a/hw/s390x/sclpconsole.c b/hw/s390x/sclpconsole.c
index 0ec5623..fece878 100644
--- a/hw/s390x/sclpconsole.c
+++ b/hw/s390x/sclpconsole.c
@@ -179,8 +179,8 @@ static int read_event_data(SCLPEvent *event, EventBufferHeader *evt_buf_hdr,
 }
 
 /* triggered by SCLP's write_event_data
- *  - write console data into character layer
- *  returns < 0 if an error occured
+ *  - write console data to character layer
+ *  returns < 0 if an error occurred
  */
 static ssize_t write_console_data(SCLPEvent *event, const uint8_t *buf,
                                   size_t len)
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PATCH] s390x: Spelling fixes (endianess -> endianness, occured -> occurred)
  2012-11-02  7:35 [Qemu-devel] [PATCH] s390x: Spelling fixes (endianess -> endianness, occured -> occurred) Stefan Weil
@ 2012-11-18 19:32 ` Stefan Weil
  2012-11-19  8:39 ` [Qemu-devel] [Qemu-trivial] " Stefan Hajnoczi
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Weil @ 2012-11-18 19:32 UTC (permalink / raw)
  To: qemu-trivial; +Cc: Christian Borntraeger, qemu-devel

Am 02.11.2012 08:35, schrieb Stefan Weil:
> Replace also "write into" by "write to".
>
> Signed-off-by: Stefan Weil<sw@weilnetz.de>
> ---
>
> I think "write to" is better, but I am not sure about this,
> so please wait until a native speaker has reviewed that patch.
>
> Regards
> Stefan Weil
>
>   hw/s390x/sclp.h        |    4 ++--
>   hw/s390x/sclpconsole.c |    4 ++--
>   2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/hw/s390x/sclp.h b/hw/s390x/sclp.h
> index fe89dad..231a38a 100644
> --- a/hw/s390x/sclp.h
> +++ b/hw/s390x/sclp.h
> @@ -51,7 +51,7 @@
>
>   /*
>    * Normally packed structures are not the right thing to do, since all code
> - * must take care of endianess. We cant use ldl_phys and friends for two
> + * must take care of endianness. We cannot use ldl_phys and friends for two
>    * reasons, though:
>    * - some of the embedded structures below the SCCB can appear multiple times
>    *   at different locations, so there is no fixed offset
> @@ -60,7 +60,7 @@
>    *   alter the structure while we parse it. We cannot use ldl_p and friends
>    *   either without doing pointer arithmetics
>    * So we have to double check that all users of sclp data structures use the
> - * right endianess wrappers.
> + * right endianness wrappers.
>    */
>   typedef struct SCCBHeader {
>       uint16_t length;
> diff --git a/hw/s390x/sclpconsole.c b/hw/s390x/sclpconsole.c
> index 0ec5623..fece878 100644
> --- a/hw/s390x/sclpconsole.c
> +++ b/hw/s390x/sclpconsole.c
> @@ -179,8 +179,8 @@ static int read_event_data(SCLPEvent *event, EventBufferHeader *evt_buf_hdr,
>   }
>
>   /* triggered by SCLP's write_event_data
> - *  - write console data into character layer
> - *  returns<  0 if an error occured
> + *  - write console data to character layer
> + *  returns<  0 if an error occurred
>    */
>   static ssize_t write_console_data(SCLPEvent *event, const uint8_t *buf,
>                                     size_t len)
>    

ping?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [Qemu-trivial] [PATCH] s390x: Spelling fixes (endianess -> endianness, occured -> occurred)
  2012-11-02  7:35 [Qemu-devel] [PATCH] s390x: Spelling fixes (endianess -> endianness, occured -> occurred) Stefan Weil
  2012-11-18 19:32 ` Stefan Weil
@ 2012-11-19  8:39 ` Stefan Hajnoczi
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Hajnoczi @ 2012-11-19  8:39 UTC (permalink / raw)
  To: Stefan Weil; +Cc: qemu-trivial, Christian Borntraeger, qemu-devel

On Fri, Nov 02, 2012 at 08:35:54AM +0100, Stefan Weil wrote:
> Replace also "write into" by "write to".
> 
> Signed-off-by: Stefan Weil <sw@weilnetz.de>
> ---
> 
> I think "write to" is better, but I am not sure about this,
> so please wait until a native speaker has reviewed that patch.

"write to" is better.

Applied to the trivial patches tree.  There is a pending pull request -
this patch will be in the next pull request.

Stefan

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-11-19  8:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-02  7:35 [Qemu-devel] [PATCH] s390x: Spelling fixes (endianess -> endianness, occured -> occurred) Stefan Weil
2012-11-18 19:32 ` Stefan Weil
2012-11-19  8:39 ` [Qemu-devel] [Qemu-trivial] " Stefan Hajnoczi

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).