s390x: Spelling fixes (endianess -> endianness, occured -> occurred)
PATCH 1/1 s390x: Spelling fixes (endianess -> endianness, occured -> occurred)
Replace also "write into" by "write to".
---
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(-)
hw/s390x/sclp.h +2 -2
@@ -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;
hw/s390x/sclpconsole.c +2 -2
@@ -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)
Signature · 1 line
1.7.10.4
Am 02.11.2012 08:35, schrieb Stefan Weil:
Quoted 43 lines
Replace also "write into" by "write to".
Signed-off-by Stefan Weil<[email protected]>---
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 Weilhw/s390x/sclp.h | 4 ++-- hw/s390x/sclpconsole.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)hw/s390x/sclp.h +2
-2@@ -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;hw/s390x/sclpconsole.c +0
-0
hw/s390x/sclpconsole.c static int read_event_data(SCLPEvent *event, EventBufferHeader *evt_buf_hdr, · line 186
Quoted 10 lines
hw/s390x/sclpconsole.c +2
-2@@ -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?
Stefan Hajnoczi
AppliedQuoted 7 lines · Stefan Weil
Replace also "write into" by "write to".
Signed-off-by Stefan Weil <[email protected]>---
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