Message ID | 20240703085242.3218277-1-kiran.k@intel.com (mailing list archive) |
---|---|
State | Accepted |
Commit | e0b0a863028e6529d2c7a726be28ff3741bd6f78 |
Headers | show |
Series | [v1] Bluetooth: btintel: Fail setup on error | expand |
Context | Check | Description |
---|---|---|
tedd_an/pre-ci_am | success | Success |
tedd_an/CheckPatch | success | CheckPatch PASS |
tedd_an/GitLint | success | Gitlint PASS |
tedd_an/SubjectPrefix | success | Gitlint PASS |
tedd_an/BuildKernel | success | BuildKernel PASS |
tedd_an/CheckAllWarning | success | CheckAllWarning PASS |
tedd_an/CheckSparse | success | CheckSparse PASS |
tedd_an/CheckSmatch | success | CheckSparse PASS |
tedd_an/BuildKernel32 | success | BuildKernel32 PASS |
tedd_an/TestRunnerSetup | success | TestRunnerSetup PASS |
tedd_an/TestRunner_l2cap-tester | success | TestRunner PASS |
tedd_an/TestRunner_iso-tester | success | TestRunner PASS |
tedd_an/TestRunner_bnep-tester | success | TestRunner PASS |
tedd_an/TestRunner_mgmt-tester | success | TestRunner PASS |
tedd_an/TestRunner_rfcomm-tester | success | TestRunner PASS |
tedd_an/TestRunner_sco-tester | success | TestRunner PASS |
tedd_an/TestRunner_ioctl-tester | success | TestRunner PASS |
tedd_an/TestRunner_mesh-tester | success | TestRunner PASS |
tedd_an/TestRunner_smp-tester | success | TestRunner PASS |
tedd_an/TestRunner_userchan-tester | success | TestRunner PASS |
tedd_an/IncrementalBuild | success | Incremental Build PASS |
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=867885 ---Test result--- Test Summary: CheckPatch PASS 0.59 seconds GitLint PASS 0.28 seconds SubjectPrefix PASS 0.11 seconds BuildKernel PASS 30.75 seconds CheckAllWarning PASS 33.54 seconds CheckSparse PASS 39.55 seconds CheckSmatch PASS 104.89 seconds BuildKernel32 PASS 29.52 seconds TestRunnerSetup PASS 545.05 seconds TestRunner_l2cap-tester PASS 22.57 seconds TestRunner_iso-tester PASS 39.38 seconds TestRunner_bnep-tester PASS 4.88 seconds TestRunner_mgmt-tester PASS 112.87 seconds TestRunner_rfcomm-tester PASS 7.53 seconds TestRunner_sco-tester PASS 15.32 seconds TestRunner_ioctl-tester PASS 8.20 seconds TestRunner_mesh-tester PASS 6.14 seconds TestRunner_smp-tester PASS 7.55 seconds TestRunner_userchan-tester PASS 5.20 seconds IncrementalBuild PASS 28.99 seconds --- Regards, Linux Bluetooth
Hello: This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>: On Wed, 3 Jul 2024 14:22:42 +0530 you wrote: > Do not attempt to send any hci command to controller if *setup* function > fails. > > Signed-off-by: Kiran K <kiran.k@intel.com> > --- > drivers/bluetooth/btintel.c | 3 +++ > 1 file changed, 3 insertions(+) Here is the summary with links: - [v1] Bluetooth: btintel: Fail setup on error https://git.kernel.org/bluetooth/bluetooth-next/c/e0b0a863028e You are awesome, thank you!
diff --git a/drivers/bluetooth/btintel.c b/drivers/bluetooth/btintel.c index 54bfe2ffe1d2..661699258566 100644 --- a/drivers/bluetooth/btintel.c +++ b/drivers/bluetooth/btintel.c @@ -3082,6 +3082,9 @@ static int btintel_setup_combined(struct hci_dev *hdev) btintel_set_dsm_reset_method(hdev, &ver_tlv); err = btintel_bootloader_setup_tlv(hdev, &ver_tlv); + if (err) + goto exit_error; + btintel_register_devcoredump_support(hdev); btintel_print_fseq_info(hdev); break;
Do not attempt to send any hci command to controller if *setup* function fails. Signed-off-by: Kiran K <kiran.k@intel.com> --- drivers/bluetooth/btintel.c | 3 +++ 1 file changed, 3 insertions(+)