Commit dca5d14a authored by Thomas Chen's avatar Thomas Chen Committed by Greg Kroah-Hartman

[PATCH] USB: fix io_edgeport driver alignment issues.

parent ab2fc239
......@@ -17,7 +17,7 @@
unsigned short Addr;
unsigned short Len;
unsigned char Data[0];
};
} __attribute__ ((packed));
struct edge_firmware_version_info {
unsigned char MajorVersion;
......
......@@ -17,7 +17,7 @@
unsigned short Addr;
unsigned short Len;
unsigned char Data[0];
};
} __attribute__ ((packed));
struct edge_firmware_version_info {
unsigned char MajorVersion;
......
......@@ -17,7 +17,7 @@
unsigned short Addr;
unsigned short Len;
unsigned char Data[0];
};
} __attribute ((packed));
struct edge_firmware_version_info {
unsigned char MajorVersion;
......
......@@ -17,7 +17,7 @@
unsigned short Addr;
unsigned short Len;
unsigned char Data[0];
};
} __attribute__ ((packed));
struct edge_firmware_version_info {
unsigned char MajorVersion;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment