Bluetooth: hci_qca: Fix build error
Subsystems (2)
Luiz Augusto von Dentz
maintainerPATCH 1/1 Bluetooth: hci_qca: Fix build error
From: Luiz Augusto von Dentz <[email protected]>
This fixes the following build error introduced by a887c8dede8e ("Bluetooth: hci_qca: schedule a devm action for disabling the clock"):
drivers/bluetooth/hci_qca.c: In function ‘qca_serdev_remove’:drivers/bluetooth/hci_qca.c:2501:2: error: label at end of compound statement
2501 | default:
| ^~~~~~~--- drivers/bluetooth/hci_qca.c | 1 - 1 file changed, 1 deletion(-)
drivers/bluetooth/hci_qca.c +0 -1
@@ -2498,7 +2498,6 @@ static void qca_serdev_remove(struct serdev_device *serdev)if (power->vregs_on)qca_power_shutdown (&qcadev->serdev_hu);break ; -default : }hci_uart_unregister_device (&qcadev->serdev_hu);
Signature · 1 line
2.45.2
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=870300
---Test result---
Test Summary:
CheckPatch PASS 0.67 seconds GitLint PASS 0.34 seconds SubjectPrefix PASS 0.13 seconds BuildKernel PASS 36.71 seconds CheckAllWarning WARNING 32.19 seconds CheckSparse WARNING 37.65 seconds CheckSmatch WARNING 101.79 seconds BuildKernel32 PASS 28.62 seconds TestRunnerSetup PASS 526.18 seconds TestRunner_l2cap-tester PASS 21.98 seconds TestRunner_iso-tester PASS 36.66 seconds TestRunner_bnep-tester PASS 4.79 seconds TestRunner_mgmt-tester PASS 112.12 seconds TestRunner_rfcomm-tester PASS 7.43 seconds TestRunner_sco-tester PASS 14.95 seconds TestRunner_ioctl-tester PASS 7.85 seconds TestRunner_mesh-tester PASS 5.92 seconds TestRunner_smp-tester PASS 6.87 seconds TestRunner_userchan-tester PASS 5.02 seconds IncrementalBuild PASS 27.85 seconds
Details
##############################
Test: CheckAllWarning - WARNING
Desc: Run linux kernel with all warning enabled
Output:drivers/bluetooth/hci_qca.c: In function ‘qca_serdev_remove’:drivers/bluetooth/hci_qca.c:2490:2: warning: enumeration value ‘QCA_INVALID’ not handled in switch [-Wswitch] 2490 | switch (qcadev->btsoc_type) { | ^~~~~~drivers/bluetooth/hci_qca.c:2490:2: warning: enumeration value ‘QCA_AR3002’ not handled in switch [-Wswitch]drivers/bluetooth/hci_qca.c:2490:2: warning: enumeration value ‘QCA_ROME’ not handled in switch [-Wswitch]drivers/bluetooth/hci_qca.c:2490:2: warning: enumeration value ‘QCA_QCA2066’ not handled in switch [-Wswitch]drivers/bluetooth/hci_qca.c:2490:2: warning: enumeration value ‘QCA_QCA6390’ not handled in switch [-Wswitch]
##############################
Test: CheckSparse - WARNING
Desc: Run sparse tool with linux kernel
Output:drivers/bluetooth/hci_qca.c: In function ‘qca_serdev_remove’:drivers/bluetooth/hci_qca.c:2490:2: warning: enumeration value ‘QCA_INVALID’ not handled in switch [-Wswitch]drivers/bluetooth/hci_qca.c:2490:2: warning: enumeration value ‘QCA_AR3002’ not handled in switch [-Wswitch]drivers/bluetooth/hci_qca.c:2490:2: warning: enumeration value ‘QCA_ROME’ not handled in switch [-Wswitch]drivers/bluetooth/hci_qca.c:2490:2: warning: enumeration value ‘QCA_QCA2066’ not handled in switch [-Wswitch]drivers/bluetooth/hci_qca.c:2490:2: warning: enumeration value ‘QCA_QCA6390’ not handled in switch [-Wswitch]
##############################
Test: CheckSmatch - WARNING
Desc: Run smatch tool with source
Output:drivers/bluetooth/hci_qca.c: In function ‘qca_serdev_remove’:drivers/bluetooth/hci_qca.c:2490:2: warning: enumeration value ‘QCA_INVALID’ not handled in switch [-Wswitch]drivers/bluetooth/hci_qca.c:2490:2: warning: enumeration value ‘QCA_AR3002’ not handled in switch [-Wswitch]drivers/bluetooth/hci_qca.c:2490:2: warning: enumeration value ‘QCA_ROME’ not handled in switch [-Wswitch]drivers/bluetooth/hci_qca.c:2490:2: warning: enumeration value ‘QCA_QCA2066’ not handled in switch [-Wswitch]drivers/bluetooth/hci_qca.c:2490:2: warning: enumeration value ‘QCA_QCA6390’ not handled in switch [-Wswitch]
---
Regards,
Linux Bluetooth