linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Different uhid_event size on different archs.
@ 2024-02-13 17:38 Ajrat Makhmutov
  0 siblings, 0 replies; only message in thread
From: Ajrat Makhmutov @ 2024-02-13 17:38 UTC (permalink / raw)
  To: linux-input

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

Union in struct uhid_event has no __attribute__((__packed__)), so 
alignment from 4372 to 4376 bytes is performed on a 64-bit system. On a 
32-bit system, the size remains 4372. Is this a bug?_
_


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-13 17:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-13 17:38 Different uhid_event size on different archs Ajrat Makhmutov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).