Re: [PATCH v3] x86, efi: never relocate kernel below lowest acceptable address

From: Borislav Petkov
Date: Wed Oct 16 2019 - 11:48:55 EST


On Wed, Oct 16, 2019 at 08:23:56AM -0700, Joe Perches wrote:
> ? examples please.

>From this very thread:

\sEfi\s, \sefi\s, \seFI\s etc should be "EFI"

I'm thinking perhaps start conservatively and catch the most often
misspelled ones in commit messages or comments. "CPU", "SMT", "MCE",
"MCA", "PCI" etc come to mind.

> checkpatch has a db for misspellings, I supposed another for
> acronyms could be added,

Doesn't have to be another one - established acronyms are part of the
dictionary too.

> but how would false positives be avoided?

Perhaps delimited with spaces or non-word chars (\W) and when they're
part of a comment or the commit message...

--
Regards/Gruss,
Boris.

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