2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 06:15:47 +00:00

checkpatch: Reset line counter.

Lines should be counted for each file separately.

Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Aaron Conole <aconole@redhat.com>
This commit is contained in:
Ilya Maximets
2017-10-05 18:32:03 +03:00
committed by Ben Pfaff
parent 172cc6c100
commit f61d40dec9

View File

@@ -64,10 +64,11 @@ def print_warning(message):
def reset_counters(): def reset_counters():
global __errors, __warnings global __errors, __warnings, total_line
__errors = 0 __errors = 0
__warnings = 0 __warnings = 0
total_line = 0
# These are keywords whose names are normally followed by a space and # These are keywords whose names are normally followed by a space and