Re: [PATCH -next] x86/events:Use struct_size() helper in kzalloc()

From: Borislav Petkov
Date: Wed May 18 2022 - 12:55:10 EST


On Wed, May 18, 2022 at 11:03:45AM -0500, Gustavo A. R. Silva wrote:
> Naming it flex_struct_size() would be more informative?

Not use it at all if it makes the code less readable.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette