Files
erofs-linux/scripts
Antonio Borneo 5eee4c2b2a checkpatch: use utf-8 match for spell checking
The current code that checks for misspelling verifies, in a more
complex regex, if $rawline matches [^\w]($misspellings)[^\w]

Being $rawline a byte-string, a utf-8 character in $rawline can
match the non-word-char [^\w].
E.g.:
	./scripts/checkpatch.pl --git 81c2f059ab
	WARNING: 'ment' may be misspelled - perhaps 'meant'?
	#36: FILE: MAINTAINERS:14360:
	+M:     Clément Léger <[email protected]>
	            ^^^^

Use a utf-8 version of $rawline for spell checking.

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Antonio Borneo <[email protected]>
Signed-off-by: Clément Le Goffic <[email protected]>
Cc: Andy Whitcroft <[email protected]>
Cc: Dwaipayan Ray <[email protected]>
Cc: Joe Perches <[email protected]>
Cc: Lukas Bulwahn <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
2025-07-09 22:57:53 -07:00
..
2025-06-25 15:55:03 -07:00
2024-10-07 02:12:27 +09:00
2025-06-06 05:40:25 +09:00
…
…
…
…
…
2024-11-28 08:11:56 +09:00
2025-05-11 17:54:10 -07:00
2025-02-12 12:12:28 +01:00
…
…