Re: [PATCHv2] gpio: msc313: remove kcalloc

From: Linus Walleij

Date: Fri Mar 20 2026 - 09:40:13 EST


On Fri, Mar 20, 2026 at 2:53 AM Rosen Penev <rosenp@xxxxxxxxx> wrote:

> Use a flexible array member to combine kzalloc and kcalloc.
>
> Add an extra counting member to support __counted_by.
>
> Signed-off-by: Rosen Penev <rosenp@xxxxxxxxx>

Reviewed-by: Linus Walleij <linusw@xxxxxxxxxx>

Yours,
Linus Walleij