ChangeSet 1.1504.2.44, 2003/12/12 10:31:35-08:00, tchen@on-go.com [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;