[PATCHv2] gpio: msc313: remove kcalloc

Linus Walleij linusw at kernel.org
Fri Mar 20 06:39:58 PDT 2026


On Fri, Mar 20, 2026 at 2:53 AM Rosen Penev <rosenp at gmail.com> 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 at gmail.com>

Reviewed-by: Linus Walleij <linusw at kernel.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list