summaryrefslogtreecommitdiff
path: root/utilities
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2017-06-01 07:36:24 -0700
committerBen Pfaff <blp@ovn.org>2017-06-01 15:28:52 -0700
commitfedf8301957df0087a1bba963454486c665e28ec (patch)
tree14f8c33e872dfef9261cfc377bedff2a3b64836d /utilities
parent67ac844b55d4c5f6bbfa01773c82b3d6d8b62131 (diff)
downloadopenvswitch-fedf8301957df0087a1bba963454486c665e28ec.tar.gz
checkpatch: Also exempt Makefile.am from leading whitespace checks.
Signed-off-by: Ben Pfaff <blp@ovn.org> Reviewed-by: Greg Rose <gvrose8192@gmail.com>
Diffstat (limited to 'utilities')
-rwxr-xr-xutilities/checkpatch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utilities/checkpatch.py b/utilities/checkpatch.py
index 27e105513..5ca4b9e2f 100755
--- a/utilities/checkpatch.py
+++ b/utilities/checkpatch.py
@@ -200,7 +200,7 @@ checks = [
'check': lambda x: line_length_check(x),
'print': lambda: print_warning("Line length is >79-characters long")},
- {'regex': '$(?<!\.mk)',
+ {'regex': '$(?<!\.mk|\.am)',
'match_name': None,
'check': lambda x: not leading_whitespace_is_spaces(x),
'print': lambda: print_warning("Line has non-spaces leading whitespace")},