[PATCH v8 3/4] gpio: rpmsg: add generic rpmsg GPIO driver
Andrew Lunn
andrew at lunn.ch
Fri Feb 20 08:19:23 PST 2026
> Example: 32‑bit ARM vs 64‑bit ARM (AArch32 vs AArch64)
> Consider this message header:
> struct msg_hdr {
> u8 id;
> u32 size;
> u8 flags;
> };
That is just a bad design. The point of not allowing __packed is that
it forces you to design your structures correctly. Maybe AI has no
idea of taste, but Maintainer do and would not allow a u32 to be
unaligned like this.
Andrew
More information about the linux-arm-kernel
mailing list