Re: [PATCH] pinctrl: starfive: jh7110: use struct_size
From: Linus Walleij
Date: Tue Apr 28 2026 - 06:37:42 EST
On Sat, Apr 25, 2026 at 3:40 AM Rosen Penev <rosenp@xxxxxxxxx> wrote:
> Instead of an extra kcalloc, Use a flexible array member to combine
> allocations. Saves a pointer in the struct.
>
> Signed-off-by: Rosen Penev <rosenp@xxxxxxxxx>
Patch applied!
Yours,
Linus Walleij