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

Ben Pfaff blp at ovn.org
Wed May 31 15:55:40 UTC 2017


On Tue, May 30, 2017 at 04:24:55PM -0400, Aaron Conole wrote:
> 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.

Yes, mistakes tend to creep in--perhaps this will help.

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

Thanks!  I applied this to master.


More information about the dev mailing list