RE: Bluetooth: btusb: Fix MT7925 fail to send download patch command

bluez.test.bot
2023-12-28T09:56:33Z

[-- Attachment #1: Type: text/plain, Size: 8094 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=813170

---Test result---

Test Summary:
CheckPatch PASS 0.61 seconds
GitLint PASS 0.53 seconds
SubjectPrefix PASS 0.07 seconds
BuildKernel FAIL 24.72 seconds
CheckAllWarning FAIL 26.84 seconds
CheckSparse FAIL 30.92 seconds
CheckSmatch FAIL 83.69 seconds
BuildKernel32 FAIL 23.69 seconds
TestRunnerSetup PASS 439.55 seconds
TestRunner_l2cap-tester PASS 23.22 seconds
TestRunner_iso-tester PASS 47.44 seconds
TestRunner_bnep-tester PASS 7.11 seconds
TestRunner_mgmt-tester PASS 167.68 seconds
TestRunner_rfcomm-tester PASS 10.85 seconds
TestRunner_sco-tester PASS 14.35 seconds
TestRunner_ioctl-tester PASS 12.03 seconds
TestRunner_mesh-tester PASS 10.80 seconds
TestRunner_smp-tester PASS 9.79 seconds
TestRunner_userchan-tester PASS 8.68 seconds
IncrementalBuild FAIL 23.17 seconds

Details
##############################
Test: BuildKernel - FAIL
Desc: Build Kernel for Bluetooth
Output:

drivers/bluetooth/btusb.c: In function ‘btusb_mtk_setup’:
drivers/bluetooth/btusb.c:3124:49: error: ‘val’ undeclared (first use in this function)
3124 | btusb_mtk_uhw_reg_read(data, MT7925_SLPPROT, &val);
| ^~~
drivers/bluetooth/btusb.c:3124:49: note: each undeclared identifier is reported only once for each function it appears in
make[4]: *** [scripts/Makefile.build:243: drivers/bluetooth/btusb.o] Error 1
make[3]: *** [scripts/Makefile.build:480: drivers/bluetooth] Error 2
make[2]: *** [scripts/Makefile.build:480: drivers] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [/github/workspace/src/src/Makefile:1911: .] Error 2
make: *** [Makefile:234: __sub-make] Error 2
##############################
Test: CheckAllWarning - FAIL
Desc: Run linux kernel with all warning enabled
Output:

drivers/bluetooth/btusb.c: In function ‘btusb_mtk_setup’:
drivers/bluetooth/btusb.c:3124:49: error: ‘val’ undeclared (first use in this function)
3124 | btusb_mtk_uhw_reg_read(data, MT7925_SLPPROT, &val);
| ^~~
drivers/bluetooth/btusb.c:3124:49: note: each undeclared identifier is reported only once for each function it appears in
make[4]: *** [scripts/Makefile.build:243: drivers/bluetooth/btusb.o] Error 1
make[3]: *** [scripts/Makefile.build:480: drivers/bluetooth] Error 2
make[2]: *** [scripts/Makefile.build:480: drivers] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [/github/workspace/src/src/Makefile:1911: .] Error 2
make: *** [Makefile:234: __sub-make] Error 2
##############################
Test: CheckSparse - FAIL
Desc: Run sparse tool with linux kernel
Output:

net/bluetooth/af_bluetooth.c:223:25: warning: context imbalance in 'bt_accept_enqueue' - different lock contexts for basic block
drivers/bluetooth/hci_ag6xx.c:257:24: warning: restricted __le32 degrades to integer
drivers/bluetooth/hci_mrvl.c:170:23: warning: restricted __le16 degrades to integer
drivers/bluetooth/hci_mrvl.c:203:23: warning: restricted __le16 degrades to integer
net/bluetooth/hci_event.c: note: in included file (through include/net/bluetooth/hci_core.h):
./include/net/bluetooth/hci.h:2671:47: warning: array of flexible structures
./include/net/bluetooth/hci.h:2757:43: warning: array of flexible structures
drivers/bluetooth/btusb.c: In function ‘btusb_mtk_setup’:
drivers/bluetooth/btusb.c:3124:49: error: ‘val’ undeclared (first use in this function)
3124 | btusb_mtk_uhw_reg_read(data, MT7925_SLPPROT, &val);
| ^~~
drivers/bluetooth/btusb.c:3124:49: note: each undeclared identifier is reported only once for each function it appears in
make[4]: *** [scripts/Makefile.build:243: drivers/bluetooth/btusb.o] Error 1
make[3]: *** [scripts/Makefile.build:480: drivers/bluetooth] Error 2
make[2]: *** [scripts/Makefile.build:480: drivers] Error 2
make[2]: *** Waiting for unfinished jobs....
net/bluetooth/hci_codec.c: note: in included file:
./include/net/bluetooth/hci_core.h:150:35: warning: array of flexible structures
net/bluetooth/sco.c: note: in included file:
./include/net/bluetooth/hci_core.h:150:35: warning: array of flexible structures
make[1]: *** [/github/workspace/src/src/Makefile:1911: .] Error 2
make: *** [Makefile:234: __sub-make] Error 2
##############################
Test: CheckSmatch - FAIL
Desc: Run smatch tool with source
Output:

drivers/bluetooth/btusb.c: In function ‘btusb_mtk_setup’:
drivers/bluetooth/btusb.c:3124:49: error: ‘val’ undeclared (first use in this function)
3124 | btusb_mtk_uhw_reg_read(data, MT7925_SLPPROT, &val);
| ^~~
drivers/bluetooth/btusb.c:3124:49: note: each undeclared identifier is reported only once for each function it appears in
make[4]: *** [scripts/Makefile.build:243: drivers/bluetooth/btusb.o] Error 1
make[3]: *** [scripts/Makefile.build:480: drivers/bluetooth] Error 2
make[2]: *** [scripts/Makefile.build:480: drivers] Error 2
make[2]: *** Waiting for unfinished jobs....
net/bluetooth/hci_event.c: note: in included file (through include/net/bluetooth/hci_core.h):
./include/net/bluetooth/hci.h:2671:47: warning: array of flexible structures
./include/net/bluetooth/hci.h:2757:43: warning: array of flexible structures
net/bluetooth/hci_codec.c: note: in included file:
./include/net/bluetooth/hci_core.h:150:35: warning: array of flexible structures
net/bluetooth/sco.c: note: in included file:
./include/net/bluetooth/hci_core.h:150:35: warning: array of flexible structures
make[1]: *** [/github/workspace/src/src/Makefile:1911: .] Error 2
make: *** [Makefile:234: __sub-make] Error 2
##############################
Test: BuildKernel32 - FAIL
Desc: Build 32bit Kernel for Bluetooth
Output:

drivers/bluetooth/btusb.c: In function ‘btusb_mtk_setup’:
drivers/bluetooth/btusb.c:3124:49: error: ‘val’ undeclared (first use in this function)
3124 | btusb_mtk_uhw_reg_read(data, MT7925_SLPPROT, &val);
| ^~~
drivers/bluetooth/btusb.c:3124:49: note: each undeclared identifier is reported only once for each function it appears in
make[4]: *** [scripts/Makefile.build:243: drivers/bluetooth/btusb.o] Error 1
make[3]: *** [scripts/Makefile.build:480: drivers/bluetooth] Error 2
make[2]: *** [scripts/Makefile.build:480: drivers] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [/github/workspace/src/src/Makefile:1911: .] Error 2
make: *** [Makefile:234: __sub-make] Error 2
##############################
Test: IncrementalBuild - FAIL
Desc: Incremental build with the patches in the series
Output:
Bluetooth: btusb: Fix MT7925 fail to send download patch command

drivers/bluetooth/btusb.c: In function ‘btusb_mtk_setup’:
drivers/bluetooth/btusb.c:3124:49: error: ‘val’ undeclared (first use in this function)
3124 | btusb_mtk_uhw_reg_read(data, MT7925_SLPPROT, &val);
| ^~~
drivers/bluetooth/btusb.c:3124:49: note: each undeclared identifier is reported only once for each function it appears in
make[4]: *** [scripts/Makefile.build:243: drivers/bluetooth/btusb.o] Error 1
make[3]: *** [scripts/Makefile.build:480: drivers/bluetooth] Error 2
make[2]: *** [scripts/Makefile.build:480: drivers] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [/github/workspace/src/src/Makefile:1911: .] Error 2
make: *** [Makefile:234: __sub-make] Error 2

---
Regards,
Linux Bluetooth