Skip to content

Commit 146af22

Browse files
mark-yw.chenholtmann
authored andcommitted
Bluetooth: btusb: Fix fall-through warnings
Fix fall-through warnings: drivers/bluetooth/btusb.c: In function ‘btusb_recv_acl_mtk’: drivers/bluetooth/btusb.c:4033:3: warning: this statement may fall through [-Wimplicit-fallthrough=] 4033 | usb_disable_autosuspend(data->udev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/bluetooth/btusb.c:4034:2: note: here 4034 | case 0x05ff: /* Firmware debug logging 1 */ | ^~~~ Signed-off-by: mark-yw.chen <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
1 parent 1804fdf commit 146af22

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/bluetooth/btusb.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3008,6 +3008,7 @@ static int btusb_recv_acl_mtk(struct hci_dev *hdev, struct sk_buff *skb)
30083008
* suspend and thus disable auto-suspend.
30093009
*/
30103010
usb_disable_autosuspend(data->udev);
3011+
fallthrough;
30113012
case 0x05ff: /* Firmware debug logging 1 */
30123013
case 0x05fe: /* Firmware debug logging 2 */
30133014
return hci_recv_diag(hdev, skb);

0 commit comments

Comments
 (0)