Skip to content

fix assert for compatible with 32 bit systems

https://github.com/torvalds/linux/blob/1f719a2f3fa67665578c759ac34fd3d3690c1a20/include/uapi/linux/uhid.h#L180

Union u in struct uhid_device should be 4372 bytes, but because of the standard, alignment in arch x86_64 is performed to 4376 bytes (4372/8=546.5 => 4376/8=547). The result is 4380 bytes ( + 4 bytes is variable "type"). But in the i586, alignment does not occur (4372/4=1093)

Merge request reports