Ilya Maximets <[email protected]> writes: > Lines should be counted for each file separately. > > Signed-off-by: Ilya Maximets <[email protected]> > ---
Looks good to me. Thanks, Ilya! Acked-by: Aaron Conole <[email protected]> > Version 2: > * Fixed commit message. > > utilities/checkpatch.py | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/utilities/checkpatch.py b/utilities/checkpatch.py > index 185ddaf..33feb6b 100755 > --- a/utilities/checkpatch.py > +++ b/utilities/checkpatch.py > @@ -64,10 +64,11 @@ def print_warning(message): > > > def reset_counters(): > - global __errors, __warnings > + global __errors, __warnings, total_line > > __errors = 0 > __warnings = 0 > + total_line = 0 > > > # These are keywords whose names are normally followed by a space and _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
