← Prev in month ← Prev in thread
Next in thread → Next in month →

[PATCH 3/3] ccw: feature bit endianness

From
Cornelia Huck <>
Date
2013-12-10T13:04:14+00:00
ID
Thread
[PATCH 3/3] ccw: feature bit endianness
In contrast to the other values transmitted in ccw payload, feature bits
are little endian. Fix it in the structure definition.

Signed-off-by: Cornelia Huck <>
---
 content.tex |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/content.tex b/content.tex
index b1c4ed1..ec51152 100644
--- a/content.tex
+++ b/content.tex
@@ -2060,7 +2060,7 @@ communication block:
 
 \begin{lstlisting}
 	struct virtio_feature_desc {
-		be32 features;
+		le32 features;
 		u8 index;
 	} __attribute__ ((packed));
 \end{lstlisting}
-- 
1.7.9.5
← Prev in month ← Prev in thread
Next in thread → Next in month →