batman-adv: Use 'fallthrough' pseudo keyword
authorSven Eckelmann <sven@narfation.org>
Thu, 31 Oct 2019 16:34:37 +0000 (17:34 +0100)
committerSimon Wunderlich <sw@simonwunderlich.de>
Sun, 3 Nov 2019 07:30:58 +0000 (08:30 +0100)
commita7757d318a8afaf3e1f17926ee1857b0d005db70
tree921765a012189b01b5e854999db6220193dd0551
parentbaa1e8a0da768d9b9c34b47f2cc6c6db67a265c4
batman-adv: Use 'fallthrough' pseudo keyword

The usage of the '/* fall through */' comments in switches are no longer
marked as non-deprecated variant of implicit fall throughs for switch
statements. The commit 294f69e662d1 ("compiler_attributes.h: Add
'fallthrough' pseudo keyword for switch/case use") introduced a replacement
keyword which should be used instead.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/multicast.c
net/batman-adv/soft-interface.c