From: <aur...@au...> - 2005-04-28 14:20:11
|
Hi, The structures used for USB descriptors in usb.h.in are defined without the packed attribute. This causes a problem as the data comes from USB devices and thus the structures should be the same. Note that the problem only appears on arm, as the memory structure is the same with or without this attribute on other platforms (I have tested i386, ppc, mips, mipsel, m68k, ia64, sparc, hppa, alpha and amd64). Please find attached a patch to fix the problem. Note that as it breaks the ABI on arm, the soname should be increased. Bye, Aurelien -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian GNU/Linux developer | Electrical Engineer `. `' au...@de... | aur...@au... `- people.debian.org/~aurel32 | www.aurel32.net |