On Mon, Mar 30, 2026 at 11:44 PM Rosen Penev <[email protected]> wrote:
>
> Simplifies allocations by using a flexible array member in this struct.
>
> Remove hsu_dma_alloc_desc(). It now offers no readability advantages in
> this single usage.
>
> Add __counted_by to get extra runtime analysis. Assign counting variable
> after allocation as required by __counted_by.
>
> Apply the exact same treatment to struct hsu_dma and devm_kzalloc().
>
> Signed-off-by: Rosen Penev <[email protected]>
> ---
>  v3: update description.
>  v2: address review comments.

Wait a bit, I still get it unclear. Let's continue the discussion in v2.

-- 
With Best Regards,
Andy Shevchenko

Reply via email to