[ovs-dev] [PATCH] checkpatch: Check FOR_EACH loops with numbers.

Aaron Conole aconole at redhat.com
Fri Jul 12 15:21:27 UTC 2019


Ilya Maximets <i.maximets at samsung.com> writes:

> 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 FOR_EACH loops to
> the unit tests.
>
> Signed-off-by: Ilya Maximets <i.maximets at samsung.com>
> ---

Acked-by: Aaron Conole <aconole at redhat.com>


More information about the dev mailing list