2024-03-13 02:00:36

by Youwan Wang

[permalink] [raw]
Subject: [PATCHI] Bluetooth: btusb: Add return error code

Add return error code

Signed-off-by: Youwan Wang <[email protected]>
---
drivers/bluetooth/btusb.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index b8e9de887b5d..ec6bdc9687b1 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -2826,8 +2826,10 @@ static int btusb_mtk_hci_wmt_sync(struct hci_dev *hdev,
goto err_free_wc;
}

- if (data->evt_skb == NULL)
+ if (data->evt_skb == NULL) {
+ err = -ENOBUFS;
goto err_free_wc;
+ }

/* Parse and handle the return WMT event */
wmt_evt = (struct btmtk_hci_wmt_evt *)data->evt_skb->data;
--
2.25.1



2024-03-13 02:40:53

by bluez.test.bot

[permalink] [raw]
Subject: RE: [PATCHI] Bluetooth: btusb: Add return error code

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=834820

---Test result---

Test Summary:
CheckPatch PASS 0.45 seconds
GitLint PASS 0.18 seconds
SubjectPrefix PASS 0.05 seconds
BuildKernel PASS 27.63 seconds
CheckAllWarning PASS 30.16 seconds
CheckSparse PASS 35.78 seconds
CheckSmatch PASS 98.70 seconds
BuildKernel32 PASS 27.09 seconds
TestRunnerSetup PASS 506.60 seconds
TestRunner_l2cap-tester PASS 19.58 seconds
TestRunner_iso-tester FAIL 32.52 seconds
TestRunner_bnep-tester PASS 4.73 seconds
TestRunner_mgmt-tester PASS 110.86 seconds
TestRunner_rfcomm-tester PASS 7.33 seconds
TestRunner_sco-tester PASS 14.91 seconds
TestRunner_ioctl-tester PASS 7.65 seconds
TestRunner_mesh-tester PASS 5.81 seconds
TestRunner_smp-tester PASS 6.77 seconds
TestRunner_userchan-tester PASS 4.92 seconds
IncrementalBuild PASS 25.33 seconds

Details
##############################
Test: TestRunner_iso-tester - FAIL
Desc: Run iso-tester with test-runner
Output:
Total: 117, Passed: 116 (99.1%), Failed: 1, Not Run: 0

Failed Test Cases
ISO Connect Suspend - Success Failed 4.176 seconds


---
Regards,
Linux Bluetooth