Re: [PATCH] gpio: dwapb: reduce allocation to single kzalloc

From: Bartosz Golaszewski

Date: Mon Mar 23 2026 - 05:58:32 EST



On Thu, 19 Mar 2026 17:53:38 -0700, Rosen Penev wrote:
> Instead of kzalloc + kcalloc, Combine the two using a flexible array
> member.
>
> Allows using __counted_by for extra runtime analysis. Move counting
> variable to right after allocation as required by __counted_by.
>
>
> [...]

Applied, thanks!

[1/1] gpio: dwapb: reduce allocation to single kzalloc
https://git.kernel.org/brgl/c/9a5bf2f53b76b1619c602f9e751fe4c0e64713ca

Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>