ChangeSet 1.1287, 2003/12/12 10:18:22-08:00, [EMAIL PROTECTED]

[PATCH] USB: fix io_edgeport driver alignment issues.


 drivers/usb/serial/io_fw_boot.h  |    2 +-
 drivers/usb/serial/io_fw_boot2.h |    2 +-
 drivers/usb/serial/io_fw_down.h  |    2 +-
 drivers/usb/serial/io_fw_down2.h |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)


diff -Nru a/drivers/usb/serial/io_fw_boot.h b/drivers/usb/serial/io_fw_boot.h
--- a/drivers/usb/serial/io_fw_boot.h   Fri Dec 12 15:05:54 2003
+++ b/drivers/usb/serial/io_fw_boot.h   Fri Dec 12 15:05:54 2003
@@ -17,7 +17,7 @@
                unsigned short Addr;
                unsigned short Len;
                unsigned char  Data[0];
-       };
+       } __attribute__ ((packed));
 
        struct edge_firmware_version_info {
                unsigned char    MajorVersion;
diff -Nru a/drivers/usb/serial/io_fw_boot2.h b/drivers/usb/serial/io_fw_boot2.h
--- a/drivers/usb/serial/io_fw_boot2.h  Fri Dec 12 15:05:54 2003
+++ b/drivers/usb/serial/io_fw_boot2.h  Fri Dec 12 15:05:54 2003
@@ -17,7 +17,7 @@
                unsigned short Addr;
                unsigned short Len;
                unsigned char  Data[0];
-       };
+       } __attribute__ ((packed));
 
        struct edge_firmware_version_info {
                unsigned char    MajorVersion;
diff -Nru a/drivers/usb/serial/io_fw_down.h b/drivers/usb/serial/io_fw_down.h
--- a/drivers/usb/serial/io_fw_down.h   Fri Dec 12 15:05:54 2003
+++ b/drivers/usb/serial/io_fw_down.h   Fri Dec 12 15:05:54 2003
@@ -17,7 +17,7 @@
                unsigned short  Addr;
                unsigned short  Len;
                unsigned char   Data[0];
-       };
+       } __attribute ((packed));
 
        struct edge_firmware_version_info {
                unsigned char   MajorVersion;
diff -Nru a/drivers/usb/serial/io_fw_down2.h b/drivers/usb/serial/io_fw_down2.h
--- a/drivers/usb/serial/io_fw_down2.h  Fri Dec 12 15:05:54 2003
+++ b/drivers/usb/serial/io_fw_down2.h  Fri Dec 12 15:05:54 2003
@@ -17,7 +17,7 @@
                unsigned short Addr;
                unsigned short Len;
                unsigned char  Data[0];
-       };
+       } __attribute__ ((packed));
 
        struct edge_firmware_version_info {
                unsigned char  MajorVersion;



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&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