diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-10-13 00:24:02 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2017-10-14 09:25:51 +0200 |
commit | fac72b243cc789bb209e6eca824919b42d98cfe2 (patch) | |
tree | 0217c1a2cf4143d571667da656f4ad85eb351055 /drivers/bluetooth/bcm203x.c | |
parent | Revert "Bluetooth: btusb: Add workaround for Broadcom devices without product... (diff) | |
download | linux-fac72b243cc789bb209e6eca824919b42d98cfe2.tar.xz linux-fac72b243cc789bb209e6eca824919b42d98cfe2.zip |
Bluetooth: mark expected switch fall-throughs
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
In this particular case, notice that I replaced the
"deliberate fall-through..." comment with a "fall through"
comment, which is what GCC is expecting to find.
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/bcm203x.c')
-rw-r--r-- | drivers/bluetooth/bcm203x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bluetooth/bcm203x.c b/drivers/bluetooth/bcm203x.c index 5ce6d4176dc3..8e9547f195ef 100644 --- a/drivers/bluetooth/bcm203x.c +++ b/drivers/bluetooth/bcm203x.c @@ -121,7 +121,7 @@ static void bcm203x_complete(struct urb *urb) } data->state = BCM203X_LOAD_FIRMWARE; - + /* fall through */ case BCM203X_LOAD_FIRMWARE: if (data->fw_sent == data->fw_size) { usb_fill_int_urb(urb, udev, usb_rcvintpipe(udev, BCM203X_IN_EP), |