Message ID | 8f809ae0094c89ed99efb4074472edd119db8ec1.1717540338.git.sean.wang@kernel.org |
---|---|
State | New |
Headers | show |
Series | [1/2] Bluetooth: btusb: mediatek: remove the unnecessary goto tag | expand |
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=858840 ---Test result--- Test Summary: CheckPatch PASS 1.00 seconds GitLint PASS 0.40 seconds SubjectPrefix PASS 0.12 seconds BuildKernel PASS 29.32 seconds CheckAllWarning PASS 32.32 seconds CheckSparse PASS 37.66 seconds CheckSmatch FAIL 35.68 seconds BuildKernel32 PASS 28.33 seconds TestRunnerSetup PASS 516.17 seconds TestRunner_l2cap-tester PASS 18.50 seconds TestRunner_iso-tester FAIL 30.18 seconds TestRunner_bnep-tester PASS 4.73 seconds TestRunner_mgmt-tester PASS 111.34 seconds TestRunner_rfcomm-tester PASS 7.19 seconds TestRunner_sco-tester PASS 16.44 seconds TestRunner_ioctl-tester PASS 7.67 seconds TestRunner_mesh-tester PASS 5.77 seconds TestRunner_smp-tester PASS 6.75 seconds TestRunner_userchan-tester PASS 4.90 seconds IncrementalBuild PASS 32.33 seconds Details ############################## Test: CheckSmatch - FAIL Desc: Run smatch tool with source Output: Segmentation fault (core dumped) make[4]: *** [scripts/Makefile.build:244: net/bluetooth/hci_core.o] Error 139 make[4]: *** Deleting file 'net/bluetooth/hci_core.o' make[3]: *** [scripts/Makefile.build:485: net/bluetooth] Error 2 make[2]: *** [scripts/Makefile.build:485: net] Error 2 make[2]: *** Waiting for unfinished jobs.... Segmentation fault (core dumped) make[4]: *** [scripts/Makefile.build:244: drivers/bluetooth/bcm203x.o] Error 139 make[4]: *** Deleting file 'drivers/bluetooth/bcm203x.o' make[4]: *** Waiting for unfinished jobs.... Segmentation fault (core dumped) make[4]: *** [scripts/Makefile.build:244: drivers/bluetooth/bpa10x.o] Error 139 make[4]: *** Deleting file 'drivers/bluetooth/bpa10x.o' make[3]: *** [scripts/Makefile.build:485: drivers/bluetooth] Error 2 make[2]: *** [scripts/Makefile.build:485: drivers] Error 2 make[1]: *** [/github/workspace/src/src/Makefile:1919: .] Error 2 make: *** [Makefile:240: __sub-make] Error 2 ############################## Test: TestRunner_iso-tester - FAIL Desc: Run iso-tester with test-runner Output: Total: 122, Passed: 117 (95.9%), Failed: 1, Not Run: 4 Failed Test Cases ISO Connect2 Suspend - Success Failed 4.237 seconds --- Regards, Linux Bluetooth
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index 79aefdb3324d..fcdd660add19 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -2953,12 +2953,9 @@ static int btusb_mtk_uhw_reg_write(struct btusb_data *data, u32 reg, u32 val) 0x5E, reg >> 16, reg & 0xffff, buf, 4, USB_CTRL_SET_TIMEOUT); - if (err < 0) { + if (err < 0) bt_dev_err(hdev, "Failed to write uhw reg(%d)", err); - goto err_free_buf; - } -err_free_buf: kfree(buf); return err;