Hi,

after general heated discussion it seems that this is the
save way to go. Please apply.

        Regards
                Oliver

Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]>

--- linux-2.6.15-vanilla/include/linux/usb_ch9.h        2006-01-03 
04:21:10.000000000 +0100
+++ linux-2.6.15/include/linux/usb_ch9.h        2006-01-06 19:51:24.000000000 
+0100
@@ -359,7 +359,7 @@
        /* bulk endpoints with 8 byte maxpacket */
        __u8  bDebugInEndpoint;
        __u8  bDebugOutEndpoint;
-};
+} __attribute__ ((packed));
 
 /*-------------------------------------------------------------------------*/
 
@@ -388,7 +388,7 @@
 
        __le16 wTotalLength;
        __u8  bNumEncryptionTypes;
-};
+} __attribute__ ((packed));
 
 /*-------------------------------------------------------------------------*/
 
@@ -402,7 +402,7 @@
        __u8  tTKID[3];
        __u8  bReserved;
        __u8  bKeyData[0];
-};
+} __attribute__ ((packed));
 
 /*-------------------------------------------------------------------------*/
 
@@ -418,7 +418,7 @@
 #define        USB_ENC_TYPE_RSA_1              3       /* rsa3072/sha1 auth */
        __u8  bEncryptionValue;         /* use in SET_ENCRYPTION */
        __u8  bAuthKeyIndex;
-};
+} __attribute__ ((packed));
 
 
 /*-------------------------------------------------------------------------*/
@@ -430,7 +430,7 @@
 
        __le16 wTotalLength;
        __u8  bNumDeviceCaps;
-};
+} __attribute__ ((packed));
 
 /*-------------------------------------------------------------------------*/
 
@@ -439,7 +439,7 @@
        __u8  bLength;
        __u8  bDescriptorType;
        __u8  bDevCapabilityType;
-};
+} __attribute__ ((packed));
 
 #define        USB_CAP_TYPE_WIRELESS_USB       1
 
@@ -467,7 +467,7 @@
        __u8  bmFFITXPowerInfo; /* FFI power levels */
        __le16 bmBandGroup;
        __u8  bReserved;
-};
+} __attribute__ ((packed));
 
 /*-------------------------------------------------------------------------*/
 


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to