]> git.baikalelectronics.ru Git - kernel.git/commit
jhash: fix -Wimplicit-fallthrough warnings
authorJakub Kicinski <jakub.kicinski@netronome.com>
Sat, 15 Jul 2017 06:03:49 +0000 (23:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Jul 2017 16:22:34 +0000 (09:22 -0700)
commitec44a27f9f0edb2f807c9a0ca3ba4f86852a16c6
tree0d4a504b092eb36d80ecf3ff535123e7dcd00d08
parent6ea80f5ac29a194801607b2a219b66a9cfd1d540
jhash: fix -Wimplicit-fallthrough warnings

GCC 7 added a new -Wimplicit-fallthrough warning.  It's only enabled
with W=1, but since linux/jhash.h is included in over hundred places
(including other global headers) it seems worthwhile fixing this
warning.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/jhash.h