[ovs-git] [openvswitch/ovs] df8c04: checkpatch: Check FOR_EACH loops with numbers.

Ilya Maximets noreply at github.com
Fri Jul 12 16:23:31 UTC 2019

  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: df8c04b1c8cdae03f9a82702a6e350243f48994a
  Author: Ilya Maximets <i.maximets at samsung.com>
  Date:   2019-07-12 (Fri, 12 Jul 2019)

  Changed paths:
    M tests/checkpatch.at
    M utilities/checkpatch.py

  Log Message:
  checkpatch: Check FOR_EACH loops with numbers.

OVS has defines for loops like 'BITMAP_FOR_EACH_1' or
'ULLONG_FOR_EACH_1', but the regexp in checkpatch doesn't match with
numbers and skips these loops while checking.

This patch adds numbers into regexp and adds some FER_EACH loops to
the unit tests.

Signed-off-by: Ilya Maximets <i.maximets at samsung.com>
Acked-by: Ben Pfaff <blp at ovn.org>
Acked-by: Aaron Conole <aconole at redhat.com>

More information about the git mailing list