diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 9cdd147c1335c9b54c4a79ffe22194b0bc9bcac3..b20ca55cddd3aaa07488323e66161403a2f55423 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -2522,8 +2522,8 @@ sub process { # check for whitespace before a non-naked semicolon if ($line =~ /^\+.*\S\s+;/) { - CHK("SPACING", - "space prohibited before semicolon\n" . $herecurr); + WARN("SPACING", + "space prohibited before semicolon\n" . $herecurr); } # Check operator spacing.