Commit 5646bc71 authored by Joe Perches's avatar Joe Perches Committed by Linus Torvalds
Browse files

checkpatch: warn on space before semicolon

Make space before semicolon a warning instead of a --strict CHK test.
Signed-off-by: default avatarJoe Perches <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 04db4d25
......@@ -2522,8 +2522,8 @@ sub process {
# check for whitespace before a non-naked semicolon
if ($line =~ /^\+.*\S\s+;/) {
"space prohibited before semicolon\n" . $herecurr);
"space prohibited before semicolon\n" . $herecurr);
# Check operator spacing.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment