Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
8263888
)
vppinfra: fix bracket balance
89/40089/3
author
Georgy Borodin
<
[email protected]
>
Mon, 11 Dec 2023 00:44:42 +0000
(
01:44
+0100)
committer
Damjan Marion
<
[email protected]
>
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 <
[email protected]
>
src/vppinfra/pool.h
patch
|
blob
|
history
diff --git
a/src/vppinfra/pool.h
b/src/vppinfra/pool.h
index
1a414ae
..
07c9269
100644
(file)
--- 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