Re: [PATCH v2 5/6] gpiolib: cdev: don't leak the IRQ name when the chip is removed

From: Adrian Ambrozewicz

Date: Wed Oct 21 2026 - 05:56:20 EST


On Wed, Oct 21, 2026 at 09:50:14AM +0300, Andy Shevchenko wrote:
> But if you move it up, can't you get rid of the 4-byte hole?

No, the hole moves rather than goes: with irq_label above irq, irq ends
at offset 28 and edflags (u64) still starts at 32. irq is the only
4-byte member without a partner (req_seqno/line_seqno and
sw_debounced/level pair up), so the struct is 232 bytes either way, and
288 with CONFIG_HTE.

Adrian