git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f94c5c9
)
hash: add switch fall-through comments for arm64
author
Jerin Jacob
<jerin.jacob@caviumnetworks.com>
Tue, 9 May 2017 09:45:41 +0000
(15:15 +0530)
committer
Thomas Monjalon
<thomas@monjalon.net>
Wed, 10 May 2017 14:29:26 +0000
(16:29 +0200)
This fixes compiler warnings with GCC 7 for arm64 build.
Fixes:
da8dcc27f644
("hash: use armv8-a CRC32 instructions")
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
lib/librte_hash/rte_crc_arm64.h
patch
|
blob
|
history
diff --git
a/lib/librte_hash/rte_crc_arm64.h
b/lib/librte_hash/rte_crc_arm64.h
index
7dd6334
..
2abe42a
100644
(file)
--- a/
lib/librte_hash/rte_crc_arm64.h
+++ b/
lib/librte_hash/rte_crc_arm64.h
@@
-110,8
+110,10
@@
rte_hash_crc_set_alg(uint8_t alg)
case CRC32_ARM64:
if (!rte_cpu_get_flag_enabled(RTE_CPUFLAG_CRC32))
alg = CRC32_SW;
+ /* fall-through */
case CRC32_SW:
crc32_alg = alg;
+ /* fall-through */
default:
break;
}