diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 5d23f7c22de..46443262101 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -4599,10 +4599,10 @@ sub process { } if ($dstat =~ /;/) { - ERROR("MULTISTATEMENT_MACRO_USE_DO_WHILE", + WARN("MULTISTATEMENT_MACRO_USE_DO_WHILE", "Macros with multiple statements should be enclosed in a do - while loop\n" . "$herectx"); } else { - ERROR("COMPLEX_MACRO", + WARN("COMPLEX_MACRO", "Macros with complex values should be enclosed in parentheses\n" . "$herectx"); } }