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:
687823f
)
vppinfra: missing static_always_inline in crc32c.h
92/38692/2
author
Damjan Marion
<damarion@cisco.com>
Mon, 17 Apr 2023 14:09:04 +0000
(14:09 +0000)
committer
Neale Ranns
<neale@graphiant.com>
Tue, 18 Apr 2023 02:35:26 +0000
(
02:35
+0000)
Change-Id: Ie7ee71af7dbbc23de3f413423070ea87fb36ed8c
Type: fix
Signed-off-by: Damjan Marion <damarion@cisco.com>
src/vppinfra/crc32.h
patch
|
blob
|
history
diff --git
a/src/vppinfra/crc32.h
b/src/vppinfra/crc32.h
index
3a46a74
..
5c5e548
100644
(file)
--- a/
src/vppinfra/crc32.h
+++ b/
src/vppinfra/crc32.h
@@
-100,7
+100,7
@@
clib_crc32c (u8 *s, int len)
}
#else
-u32
+
static_always_inline
u32
_clib_crc32c (u32 crc, const u8 *p, uword len)
{
static const u32 clib_crc32c_table[256] = {
@@
-164,7
+164,7
@@
_clib_crc32c (u32 crc, const u8 *p, uword len)
return crc;
}
-u32
+
static_always_inline
u32
clib_crc32c (const u8 *p, uword len)
{
return _clib_crc32c (0, p, len);