Re: [PATCH 1/3] clk: samsung: use kzalloc_flex

From: Gustavo A. R. Silva

Date: Wed Apr 01 2026 - 23:13:23 EST




On 4/1/26 21:04, Rosen Penev wrote:
Simplify allocation by using kzalloc_flex with a flexible array member
to combine allocations.

Add __counted_by for extra runtime analysis. Move the counting variable

assignment right after allocation as required ny __counted_by.

As commented in another thread, this is not true.

(The same applies to changelog text in patch 3/3)

-Gustavo