diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index dfd9b310a1cc39f238ec84cac442b1507d2729d6..19abef2b4dd522a0cfa0f199a37078e055391fc1 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -2944,6 +2944,7 @@ sub process { if ($rpt_cleaners) { print "NOTE: whitespace errors detected, you may wish to use scripts/cleanpatch or\n"; print " scripts/cleanfile\n\n"; + $rpt_cleaners = 0; } }