diff options
-rwxr-xr-x | scripts/checkpatch.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 1ec68083a929..c40ba40cef43 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
@@ -3621,7 +3621,7 @@ sub process { | |||
3621 | # if should not continue a brace | 3621 | # if should not continue a brace |
3622 | if ($line =~ /}\s*if\b/) { | 3622 | if ($line =~ /}\s*if\b/) { |
3623 | ERROR("TRAILING_STATEMENTS", | 3623 | ERROR("TRAILING_STATEMENTS", |
3624 | "trailing statements should be on next line\n" . | 3624 | "trailing statements should be on next line (or did you mean 'else if'?)\n" . |
3625 | $herecurr); | 3625 | $herecurr); |
3626 | } | 3626 | } |
3627 | # case and default should not have general statements after them | 3627 | # case and default should not have general statements after them |