diff options
author | cornelia.huck <cornelia.huck@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652> | 2014-01-23 08:48:13 +0000 |
---|---|---|
committer | cornelia.huck <cornelia.huck@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652> | 2014-01-23 08:48:13 +0000 |
commit | 336c83c26bb1ecc2597284d4e82b095364d0f985 (patch) | |
tree | 4efda6dbfdcd04e812c9686d647c14740053bdd9 | |
parent | 0cc124a25289d4701a96a2e8d1b231cf4ff8c1a2 (diff) |
virtio-ccw: fix set_revision payload definition
The members of struct virtio_rev_info are big endian: use be16 types.
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@193 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
-rw-r--r-- | content.tex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/content.tex b/content.tex index 17d1bd7..146a767 100644 --- a/content.tex +++ b/content.tex @@ -1918,9 +1918,9 @@ following communication structure: \begin{lstlisting} struct virtio_rev_info { - __u16 revision; - __u16 length; - __u8 data[]; + be16 revision; + be16 length; + u8 data[]; }; \end{lstlisting} |