Re: [PATCH] clk: clk-max77686: kzalloc + kcalloc to kzalloc

From: Stephen Boyd

Date: Tue Apr 28 2026 - 23:47:35 EST


Quoting Rosen Penev (2026-03-25 22:28:47)
> Simplify allocation by using a flexible array member to combine
> allocations. Use struct_size to calculate size properly.
>
> Use __counted_by to get extra runtime analysis. Assign counting variable
> right after allocation as required by __counted_by.
>
> Signed-off-by: Rosen Penev <rosenp@xxxxxxxxx>
> ---

Applied to clk-next