diff options
Diffstat (limited to 'scripts/checkpatch.pl')
| -rwxr-xr-x | scripts/checkpatch.pl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 3555120a43..43098ca2e6 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -313,10 +313,9 @@ sub main { } # Exit code based on results + # Warnings alone do not cause a non-zero exit if ($g_error_count > 0) { exit(1); - } elsif ($g_warn_count > 0) { - exit(2); } exit(0); } |
