Re: [PATCH v5 1/5] x86/mce: Add wrapper for struct mce to export vendor specific info

From: Borislav Petkov
Date: Tue Oct 15 2024 - 05:49:27 EST


On Tue, Oct 15, 2024 at 06:53:41AM +0000, Zhuo, Qiuxu wrote:
> The word 'mce' isn't too long. IMHO using 'mce' instead of 'm' as
> a variable name is more meaningful :-).
>
> struct mce mce;

No, this is not better. Because sometimes it is ambiguous whether the struct
"mce" is meant or the variable "mce".

--
Regards/Gruss,
Boris.

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