vppinfra: fix bracket balance 89/40089/3
authorGeorgy Borodin <bor1-go@yandex-team.ru>
Mon, 11 Dec 2023 00:44:42 +0000 (01:44 +0100)
committerDamjan Marion <dmarion@0xa5.net>
Fri, 19 Jan 2024 12:48:02 +0000 (12:48 +0000)
fix bracket balance in pool_put_will_expand

Type: fix
Fixes: 66d4cb5a217d556aa7bd2471f02a39badb6d5cd2
Change-Id: I921366c0898cca39cc728b7c7ef4c4c725c6b87d
Signed-off-by: Georgy Borodin <bor1-go@yandex-team.ru>
src/vppinfra/pool.h

index 1a414ae..07c9269 100644 (file)
@@ -268,7 +268,8 @@ _pool_put_will_expand (void *p, uword index, uword elt_sz)
   return 0;
 }
 
-#define pool_put_will_expand(P, E) _pool_put_will_expand (P, (E) - (P), sizeof ((P)[0])
+#define pool_put_will_expand(P, E)                                            \
+  _pool_put_will_expand (P, (E) - (P), sizeof ((P)[0]))
 
 /** Use free bitmap to query whether given element is free. */
 static_always_inline int