]> git.proxmox.com Git - ovs.git/commit
checkpatch: Also check switch, HMAP_FOR_EACH, etc.
authorBen Pfaff <blp@ovn.org>
Fri, 26 May 2017 18:31:05 +0000 (11:31 -0700)
committerBen Pfaff <blp@ovn.org>
Wed, 31 May 2017 15:55:13 +0000 (08:55 -0700)
commitb537de13ec469db2c273a2df7b37534945cb473c
treec20bfba81eed47fd7274488fcd937b29abd35a7b
parent0a62ae2c62356a1b91b6477b5b28160c3c9e8ade
checkpatch: Also check switch, HMAP_FOR_EACH, etc.

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@ovn.org>
Acked-by: Aaron Conole <aconole@redhat.com>
utilities/checkpatch.py