mirror of
https://git.proxmox.com/git/qemu
synced 2025-08-14 08:26:28 +00:00
s390x: Spelling fixes (endianess -> endianness, occured -> occurred)
Replace also "write into" by "write to". Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
parent
a93cf9dfba
commit
8367a14fd3
@ -51,7 +51,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Normally packed structures are not the right thing to do, since all code
|
* 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:
|
* reasons, though:
|
||||||
* - some of the embedded structures below the SCCB can appear multiple times
|
* - some of the embedded structures below the SCCB can appear multiple times
|
||||||
* at different locations, so there is no fixed offset
|
* 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
|
* alter the structure while we parse it. We cannot use ldl_p and friends
|
||||||
* either without doing pointer arithmetics
|
* either without doing pointer arithmetics
|
||||||
* So we have to double check that all users of sclp data structures use the
|
* So we have to double check that all users of sclp data structures use the
|
||||||
* right endianess wrappers.
|
* right endianness wrappers.
|
||||||
*/
|
*/
|
||||||
typedef struct SCCBHeader {
|
typedef struct SCCBHeader {
|
||||||
uint16_t length;
|
uint16_t length;
|
||||||
|
@ -179,8 +179,8 @@ static int read_event_data(SCLPEvent *event, EventBufferHeader *evt_buf_hdr,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* triggered by SCLP's write_event_data
|
/* triggered by SCLP's write_event_data
|
||||||
* - write console data into character layer
|
* - write console data to character layer
|
||||||
* returns < 0 if an error occured
|
* returns < 0 if an error occurred
|
||||||
*/
|
*/
|
||||||
static ssize_t write_console_data(SCLPEvent *event, const uint8_t *buf,
|
static ssize_t write_console_data(SCLPEvent *event, const uint8_t *buf,
|
||||||
size_t len)
|
size_t len)
|
||||||
|
Loading…
Reference in New Issue
Block a user