From e63c283c4e6a71df358bd12e4ba2fe49c1619d82 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Wed, 13 Feb 2019 00:13:44 +0100 Subject: src: Fix for implicit-fallthrough warnings Mark fall through cases as such. Note that correctness of those fall throughs have not been verified. Signed-off-by: Phil Sutter Signed-off-by: Pablo Neira Ayuso --- include/jhash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/jhash.h') diff --git a/include/jhash.h b/include/jhash.h index d164e38..9793452 100644 --- a/include/jhash.h +++ b/include/jhash.h @@ -106,7 +106,7 @@ static inline u32 jhash2(const u32 *k, u32 length, u32 initval) c += length * 4; switch (len) { - case 2 : b += k[1]; + case 2 : b += k[1]; /* fall through */ case 1 : a += k[0]; }; -- cgit v1.2.3