diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-03-31 00:05:06 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2018-04-01 21:43:03 +0300 |
commit | 9ea471320e1302be0fac67c14a7ab7982609fea7 (patch) | |
tree | 5a156eaf23248b357df69f7b2a4f4c105a63c976 /net/bluetooth/rfcomm | |
parent | 96e58d368fa6c9419fa1fd724a50b7ed900a78d2 (diff) | |
download | linux-9ea471320e1302be0fac67c14a7ab7982609fea7.tar.xz |
Bluetooth: Mark expected switch fall-throughs
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/rfcomm')
-rw-r--r-- | net/bluetooth/rfcomm/sock.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bluetooth/rfcomm/sock.c b/net/bluetooth/rfcomm/sock.c index 93a3b219db09..d606e9212291 100644 --- a/net/bluetooth/rfcomm/sock.c +++ b/net/bluetooth/rfcomm/sock.c @@ -221,6 +221,7 @@ static void __rfcomm_sock_close(struct sock *sk) case BT_CONFIG: case BT_CONNECTED: rfcomm_dlc_close(d, 0); + /* fall through */ default: sock_set_flag(sk, SOCK_ZAPPED); |