Thread (69 messages) 69 messages, 8 authors, 2026-02-27

Re: [PATCH v8 3/4] gpio: rpmsg: add generic rpmsg GPIO driver

From: Andrew Lunn <andrew@lunn.ch>
Date: 2026-02-20 16:19:35
Also in: imx, linux-devicetree, linux-doc, linux-gpio, linux-remoteproc, lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help