ChangeSet 1.1504.2.44, 2003/12/12 10:31:35-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 Mon Dec 29 14:22:05 2003 +++ b/drivers/usb/serial/io_fw_boot.h Mon Dec 29 14:22:05 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 Mon Dec 29 14:22:05 2003 +++ b/drivers/usb/serial/io_fw_boot2.h Mon Dec 29 14:22:05 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 Mon Dec 29 14:22:05 2003 +++ b/drivers/usb/serial/io_fw_down.h Mon Dec 29 14:22:05 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 Mon Dec 29 14:22:05 2003 +++ b/drivers/usb/serial/io_fw_down2.h Mon Dec 29 14:22:05 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