Re: [PATCHv3] EDAC/mc: Use kzalloc_flex()

From: Borislav Petkov

Date: Tue Mar 31 2026 - 13:28:04 EST


On Tue, Mar 31, 2026 at 09:28:47AM -0600, Gustavo A. R. Silva wrote:
> This is misinformation and should be phrased differently[1]
>
> -Gustavo
>
> [1] https://lore.kernel.org/linux-hardening/37378f49-437f-438b-ad6c-d60480feb306@xxxxxxxxxxxxxx/

Yah, I was wondering about that but thought there are some other requirements
I don't know about.

Btw, can you do me a favor pls and summarize your very good blog article:

https://people.kernel.org/gustavoars/how-to-use-the-new-counted_by-attribute-in-c-and-linux

into a text file in Documentation/ so that we have the valid requirements for
using this compiler glue properly, in the kernel?

Thx.

Now lemme zap that line.

--
Regards/Gruss,
Boris.

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