Re: [PATCH v2 1/2] gendwarfksyms: use preferred form of sizeof for allocation

From: Sami Tolvanen
Date: Tue Jul 01 2025 - 13:19:50 EST


On Tue, Jul 01, 2025 at 04:19:10PM +0100, Giuliano Procida wrote:
> The preferred form is to use the variable being allocated to, rather
> than explicitly supplying a type name which might become stale.
>
> Also do this for memset.
>
> Suggested-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>
> Signed-off-by: Giuliano Procida <gprocida@xxxxxxxxxx>

Reviewed-by: Sami Tolvanen <samitolvanen@xxxxxxxxxx>

Sami