]> 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)
commit13c401f33e19c20431d9888a91d9ea82e5133bd9
tree0d4a504b092eb36d80ecf3ff535123e7dcd00d08
parent533da29b584de5ae0e9dafafbe52809f59cb5300
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