[ovs-dev] [PATCH] checkpatch: Also check switch, HMAP_FOR_EACH, etc.

Aaron Conole aconole at redhat.com
Tue May 30 20:24:55 UTC 2017


Ben Pfaff <blp at ovn.org> writes:

> The switch statement and our FOR_EACH macro iteration constructs have the
> same rules as if, for, and while.
>
> Signed-off-by: Ben Pfaff <blp at ovn.org>
> ---

At first, I was thinking that the FOR_EACH constructs were treated
separately, but actually it looks like there are just places where the
usage is incorrect.

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


More information about the dev mailing list