Re: [ovs-dev] [PATCH 09/16] cmap: use multi-variable iterators

2022-02-14 Thread 0-day Robot
Bleep bloop. Greetings Adrian Moreno, I am a robot and I have tried out your patch. Thanks for your contribution. I encountered some error that I wasn't expecting. See the details below. checkpatch: ERROR: Use ovs_assert() in place of assert() #74 FILE: tests/test-cmap.c:77: assert(e ==

[ovs-dev] [PATCH 09/16] cmap: use multi-variable iterators

2022-02-14 Thread Adrian Moreno
Re-write cmap's loops using multi-variable helpers. For iterators based on cmap_cursor, we just need to make sure the NODE variable is not used after the loop, so we set it to NULL. Signed-off-by: Adrian Moreno --- lib/cmap.h| 24 ++-- tests/test-cmap.c | 3 +++ 2