diff options
author | sam <sam@FreeBSD.org> | 2008-12-24 06:59:07 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2008-12-24 06:59:07 +0000 |
commit | a2900adc736db7fc5eceb64a1191028e15ac4f16 (patch) | |
tree | 56d1f47f544239b9a58b656ad6f7de4cbac421ef /sys | |
parent | bc73e3c3699aa8edb5614c8213055b475c6b2fb2 (diff) | |
download | FreeBSD-src-a2900adc736db7fc5eceb64a1191028e15ac4f16.zip FreeBSD-src-a2900adc736db7fc5eceb64a1191028e15ac4f16.tar.gz |
must pack structures for architectures like arm
Reviewed by: thompsa
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/usb/umass.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/umass.c b/sys/dev/usb/umass.c index 9ede619..b0b73cc 100644 --- a/sys/dev/usb/umass.c +++ b/sys/dev/usb/umass.c @@ -197,7 +197,7 @@ typedef struct { uByte bCDBLength; # define CBWCDBLENGTH 16 uByte CBWCDB[CBWCDBLENGTH]; -} umass_bbb_cbw_t; +} __packed umass_bbb_cbw_t; #define UMASS_BBB_CBW_SIZE 31 /* Command Status Wrapper */ @@ -212,7 +212,7 @@ typedef struct { # define CSWSTATUS_GOOD 0x0 # define CSWSTATUS_FAILED 0x1 # define CSWSTATUS_PHASE 0x2 -} umass_bbb_csw_t; +} __packed umass_bbb_csw_t; #define UMASS_BBB_CSW_SIZE 13 /* CBI features */ |