Bluetooth: Mark expected switch fall-throughs
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Wed, 23 Jan 2019 07:20:31 +0000 (01:20 -0600)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 23 Jan 2019 17:27:16 +0000 (18:27 +0100)
commit6317950c1b9c3d2a64ccbdf1ab37650a48cb5009
tree41f543277fa7f7ea3fe5825b675122bc98004b4a
parent7c9cbd0b5e38a1672fcd137894ace3b042dfbf69
Bluetooth: Mark expected switch fall-throughs

In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.

This patch fixes the following warnings:

net/bluetooth/rfcomm/core.c:479:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
net/bluetooth/l2cap_core.c:4223:6: warning: this statement may fall through [-Wimplicit-fallthrough=]

Warning level 3 was used: -Wimplicit-fallthrough=3

This patch is part of the ongoing efforts to enabling
-Wimplicit-fallthrough.

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap_core.c
net/bluetooth/rfcomm/core.c