git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tools: ffs-aio-example: fix header values endianess
[sfrench/cifs-2.6.git]
/
tools
/
usb
/
ffs-aio-example
/
simple
/
device_app
/
aio_simple.c
diff --git
a/tools/usb/ffs-aio-example/simple/device_app/aio_simple.c
b/tools/usb/ffs-aio-example/simple/device_app/aio_simple.c
index f558664a33176b6b325294636c7c89ee92042f15..28c22cb51249b21b0f5f3adf453e2f840647f810 100644
(file)
--- a/
tools/usb/ffs-aio-example/simple/device_app/aio_simple.c
+++ b/
tools/usb/ffs-aio-example/simple/device_app/aio_simple.c
@@
-35,8
+35,8
@@
static const struct {
.header = {
.magic = htole32(FUNCTIONFS_DESCRIPTORS_MAGIC),
.length = htole32(sizeof(descriptors)),
- .fs_count =
3
,
- .hs_count =
3
,
+ .fs_count =
htole32(3)
,
+ .hs_count =
htole32(3)
,
},
.fs_descs = {
.intf = {