* [PATCH v1] Bluetooth: hci_qca: Fix build error
@ 2024-07-11 2:32 Luiz Augusto von Dentz
2024-07-11 3:00 ` [v1] " bluez.test.bot
0 siblings, 1 reply; 2+ messages in thread
From: Luiz Augusto von Dentz @ 2024-07-11 2:32 UTC (permalink / raw)
To: linux-bluetooth
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
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:
| ^~~~~~~
Fixes: a887c8dede8e ("Bluetooth: hci_qca: schedule a devm action for disabling the clock")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
---
drivers/bluetooth/hci_qca.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c
index 030153d468bf..2664c994734a 100644
--- a/drivers/bluetooth/hci_qca.c
+++ b/drivers/bluetooth/hci_qca.c
@@ -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);
--
2.45.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* RE: [v1] Bluetooth: hci_qca: Fix build error
2024-07-11 2:32 [PATCH v1] Bluetooth: hci_qca: Fix build error Luiz Augusto von Dentz
@ 2024-07-11 3:00 ` bluez.test.bot
0 siblings, 0 replies; 2+ messages in thread
From: bluez.test.bot @ 2024-07-11 3:00 UTC (permalink / raw)
To: linux-bluetooth, luiz.dentz
[-- Attachment #1: Type: text/plain, Size: 3690 bytes --]
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-07-11 3:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-11 2:32 [PATCH v1] Bluetooth: hci_qca: Fix build error Luiz Augusto von Dentz
2024-07-11 3:00 ` [v1] " bluez.test.bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).