]> 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)
commit3a9a992840f2269f38e745d81879ede9e45ada5a
tree0d4a504b092eb36d80ecf3ff535123e7dcd00d08
parentdaa0226327025e1ec849f747a9a6cedbf925c51c
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