summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGeorgy Borodin <bor1-go@yandex-team.ru>2023-12-11 01:44:42 +0100
committerDamjan Marion <dmarion@0xa5.net>2024-01-19 12:48:02 +0000
commitc03593e81d924e65de0f28ae69b452ddd2052757 (patch)
tree379fbf2c1d86da9ff7d7382a963592b797e9b770 /src
parent8263888f463b566e77e8243763e05c35d20bb4d7 (diff)
vppinfra: fix bracket balance
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>
Diffstat (limited to 'src')
-rw-r--r--src/vppinfra/pool.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vppinfra/pool.h b/src/vppinfra/pool.h
index 1a414aef65f..07c9269c6d8 100644
--- a/src/vppinfra/pool.h
+++ b/src/vppinfra/pool.h
@@ -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