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=838554 ---Test result--- Test Summary: CheckPatch FAIL 1.08 seconds GitLint FAIL 0.60 seconds SubjectPrefix PASS 0.12 seconds BuildKernel FAIL 22.88 seconds CheckAllWarning FAIL 24.75 seconds CheckSparse FAIL 29.51 seconds CheckSmatch FAIL 72.39 seconds BuildKernel32 FAIL 22.78 seconds TestRunnerSetup FAIL 487.10 seconds TestRunner_l2cap-tester FAIL 0.14 seconds TestRunner_iso-tester FAIL 0.14 seconds TestRunner_bnep-tester FAIL 0.15 seconds TestRunner_mgmt-tester FAIL 0.14 seconds TestRunner_rfcomm-tester FAIL 0.14 seconds TestRunner_sco-tester FAIL 0.15 seconds TestRunner_ioctl-tester FAIL 0.15 seconds TestRunner_mesh-tester FAIL 0.14 seconds TestRunner_smp-tester FAIL 0.14 seconds TestRunner_userchan-tester FAIL 0.42 seconds IncrementalBuild FAIL 20.44 seconds Details ############################## Test: CheckPatch - FAIL Desc: Run checkpatch.pl script Output: [next] Bluetooth: L2CAP: Avoid -Wflex-array-member-not-at-end warnings WARNING: Prefer a maximum 75 chars per line (possible unwrapped commit description?) #69: of structures, that contain flexible structures (`struct l2cap_ecred_conn_req` total: 0 errors, 1 warnings, 0 checks, 150 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. /github/workspace/src/src/13604949.patch has style problems, please review. NOTE: Ignored message types: UNKNOWN_COMMIT_ID NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. ############################## Test: GitLint - FAIL Desc: Run gitlint Output: [next] Bluetooth: L2CAP: Avoid -Wflex-array-member-not-at-end warnings WARNING: I3 - ignore-body-lines: gitlint will be switching from using Python regex 'match' (match beginning) to 'search' (match anywhere) semantics. Please review your ignore-body-lines.regex option accordingly. To remove this warning, set general.regex-style-search=True. More details: https://jorisroovers.github.io/gitlint/configuration/#regex-style-search 38: B3 Line contains hard tab characters (\t): " ... the rest of members" 64: B1 Line exceeds max length (161>80): "net/bluetooth/l2cap_core.c:1260:45: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end]" 65: B1 Line exceeds max length (161>80): "net/bluetooth/l2cap_core.c:3740:45: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end]" 66: B1 Line exceeds max length (161>80): "net/bluetooth/l2cap_core.c:4999:45: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end]" 67: B1 Line exceeds max length (161>80): "net/bluetooth/l2cap_core.c:7116:47: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end]" ############################## Test: BuildKernel - FAIL Desc: Build Kernel for Bluetooth Output: net/bluetooth/l2cap_core.c: In function ‘l2cap_ecred_conn_req’: net/bluetooth/l2cap_core.c:5000:2: error: implicit declaration of function ‘DEFINE_RAW_FLEX’; did you mean ‘DEFINE_FLEX’? [-Werror=implicit-function-declaration] 5000 | DEFINE_RAW_FLEX(struct l2cap_ecred_conn_rsp, pdu, dcid, L2CAP_ECRED_MAX_CID); | ^~~~~~~~~~~~~~~ | DEFINE_FLEX net/bluetooth/l2cap_core.c:5000:18: error: expected expression before ‘struct’ 5000 | DEFINE_RAW_FLEX(struct l2cap_ecred_conn_rsp, pdu, dcid, L2CAP_ECRED_MAX_CID); | ^~~~~~ net/bluetooth/l2cap_core.c:5048:9: error: ‘pdu’ undeclared (first use in this function) 5048 | memset(pdu, 0, sizeof(*pdu)); | ^~~ net/bluetooth/l2cap_core.c:5048:9: note: each undeclared identifier is reported only once for each function it appears in net/bluetooth/l2cap_core.c: In function ‘l2cap_ecred_reconfigure’: net/bluetooth/l2cap_core.c:7114:18: error: expected expression before ‘struct’ 7114 | DEFINE_RAW_FLEX(struct l2cap_ecred_reconf_req, pdu, scid, 1); | ^~~~~~ net/bluetooth/l2cap_core.c:7116:2: error: ‘pdu’ undeclared (first use in this function) 7116 | pdu->mtu = cpu_to_le16(chan->imtu); | ^~~ cc1: some warnings being treated as errors make[4]: *** [scripts/Makefile.build:243: net/bluetooth/l2cap_core.o] Error 1 make[3]: *** [scripts/Makefile.build:481: net/bluetooth] Error 2 make[2]: *** [scripts/Makefile.build:481: net] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/github/workspace/src/src/Makefile:1921: .] Error 2 make: *** [Makefile:240: __sub-make] Error 2 ############################## Test: CheckAllWarning - FAIL Desc: Run linux kernel with all warning enabled Output: net/bluetooth/l2cap_core.c: In function ‘l2cap_ecred_conn_req’: net/bluetooth/l2cap_core.c:5000:2: error: implicit declaration of function ‘DEFINE_RAW_FLEX’; did you mean ‘DEFINE_FLEX’? [-Werror=implicit-function-declaration] 5000 | DEFINE_RAW_FLEX(struct l2cap_ecred_conn_rsp, pdu, dcid, L2CAP_ECRED_MAX_CID); | ^~~~~~~~~~~~~~~ | DEFINE_FLEX net/bluetooth/l2cap_core.c:5000:18: error: expected expression before ‘struct’ 5000 | DEFINE_RAW_FLEX(struct l2cap_ecred_conn_rsp, pdu, dcid, L2CAP_ECRED_MAX_CID); | ^~~~~~ net/bluetooth/l2cap_core.c:5048:9: error: ‘pdu’ undeclared (first use in this function) 5048 | memset(pdu, 0, sizeof(*pdu)); | ^~~ net/bluetooth/l2cap_core.c:5048:9: note: each undeclared identifier is reported only once for each function it appears in net/bluetooth/l2cap_core.c: In function ‘l2cap_ecred_reconfigure’: net/bluetooth/l2cap_core.c:7114:18: error: expected expression before ‘struct’ 7114 | DEFINE_RAW_FLEX(struct l2cap_ecred_reconf_req, pdu, scid, 1); | ^~~~~~ net/bluetooth/l2cap_core.c:7116:2: error: ‘pdu’ undeclared (first use in this function) 7116 | pdu->mtu = cpu_to_le16(chan->imtu); | ^~~ cc1: some warnings being treated as errors make[4]: *** [scripts/Makefile.build:243: net/bluetooth/l2cap_core.o] Error 1 make[3]: *** [scripts/Makefile.build:481: net/bluetooth] Error 2 make[2]: *** [scripts/Makefile.build:481: net] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/github/workspace/src/src/Makefile:1921: .] Error 2 make: *** [Makefile:240: __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:2691:47: warning: array of flexible structures ./include/net/bluetooth/hci.h:2777:43: warning: array of flexible structures net/bluetooth/l2cap_core.c: In function ‘l2cap_ecred_conn_req’: net/bluetooth/l2cap_core.c:5000:2: error: implicit declaration of function ‘DEFINE_RAW_FLEX’; did you mean ‘DEFINE_FLEX’? [-Werror=implicit-function-declaration] 5000 | DEFINE_RAW_FLEX(struct l2cap_ecred_conn_rsp, pdu, dcid, L2CAP_ECRED_MAX_CID); | ^~~~~~~~~~~~~~~ | DEFINE_FLEX net/bluetooth/l2cap_core.c:5000:18: error: expected expression before ‘struct’ 5000 | DEFINE_RAW_FLEX(struct l2cap_ecred_conn_rsp, pdu, dcid, L2CAP_ECRED_MAX_CID); | ^~~~~~ net/bluetooth/l2cap_core.c:5048:9: error: ‘pdu’ undeclared (first use in this function) 5048 | memset(pdu, 0, sizeof(*pdu)); | ^~~ net/bluetooth/l2cap_core.c:5048:9: note: each undeclared identifier is reported only once for each function it appears in net/bluetooth/l2cap_core.c: In function ‘l2cap_ecred_reconfigure’: net/bluetooth/l2cap_core.c:7114:18: error: expected expression before ‘struct’ 7114 | DEFINE_RAW_FLEX(struct l2cap_ecred_reconf_req, pdu, scid, 1); | ^~~~~~ net/bluetooth/l2cap_core.c:7116:2: error: ‘pdu’ undeclared (first use in this function) 7116 | pdu->mtu = cpu_to_le16(chan->imtu); | ^~~ cc1: some warnings being treated as errors make[4]: *** [scripts/Makefile.build:243: net/bluetooth/l2cap_core.o] Error 1 make[3]: *** [scripts/Makefile.build:481: net/bluetooth] Error 2 make[2]: *** [scripts/Makefile.build:481: net] Error 2 make[2]: *** Waiting for unfinished jobs.... drivers/bluetooth/hci_nokia.c:284:23: warning: incorrect type in assignment (different base types) drivers/bluetooth/hci_nokia.c:284:23: expected unsigned short [usertype] baud drivers/bluetooth/hci_nokia.c:284:23: got restricted __le16 [usertype] drivers/bluetooth/hci_nokia.c:287:26: warning: incorrect type in assignment (different base types) drivers/bluetooth/hci_nokia.c:287:26: expected unsigned short [usertype] sys_clk drivers/bluetooth/hci_nokia.c:287:26: got restricted __le16 [usertype] make[1]: *** [/github/workspace/src/src/Makefile:1921: .] Error 2 make: *** [Makefile:240: __sub-make] Error 2 ############################## Test: CheckSmatch - FAIL Desc: Run smatch tool with source Output: net/bluetooth/hci_event.c: note: in included file (through include/net/bluetooth/hci_core.h): ./include/net/bluetooth/hci.h:2691:47: warning: array of flexible structures ./include/net/bluetooth/hci.h:2777:43: warning: array of flexible structures net/bluetooth/l2cap_core.c: In function ‘l2cap_ecred_conn_req’: net/bluetooth/l2cap_core.c:5000:2: error: implicit declaration of function ‘DEFINE_RAW_FLEX’; did you mean ‘DEFINE_FLEX’? [-Werror=implicit-function-declaration] 5000 | DEFINE_RAW_FLEX(struct l2cap_ecred_conn_rsp, pdu, dcid, L2CAP_ECRED_MAX_CID); | ^~~~~~~~~~~~~~~ | DEFINE_FLEX net/bluetooth/l2cap_core.c:5000:18: error: expected expression before ‘struct’ 5000 | DEFINE_RAW_FLEX(struct l2cap_ecred_conn_rsp, pdu, dcid, L2CAP_ECRED_MAX_CID); | ^~~~~~ net/bluetooth/l2cap_core.c:5048:9: error: ‘pdu’ undeclared (first use in this function) 5048 | memset(pdu, 0, sizeof(*pdu)); | ^~~ net/bluetooth/l2cap_core.c:5048:9: note: each undeclared identifier is reported only once for each function it appears in net/bluetooth/l2cap_core.c: In function ‘l2cap_ecred_reconfigure’: net/bluetooth/l2cap_core.c:7114:18: error: expected expression before ‘struct’ 7114 | DEFINE_RAW_FLEX(struct l2cap_ecred_reconf_req, pdu, scid, 1); | ^~~~~~ net/bluetooth/l2cap_core.c:7116:2: error: ‘pdu’ undeclared (first use in this function) 7116 | pdu->mtu = cpu_to_le16(chan->imtu); | ^~~ cc1: some warnings being treated as errors make[4]: *** [scripts/Makefile.build:243: net/bluetooth/l2cap_core.o] Error 1 make[3]: *** [scripts/Makefile.build:481: net/bluetooth] Error 2 make[2]: *** [scripts/Makefile.build:481: net] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/github/workspace/src/src/Makefile:1921: .] Error 2 make: *** [Makefile:240: __sub-make] Error 2 ############################## Test: BuildKernel32 - FAIL Desc: Build 32bit Kernel for Bluetooth Output: net/bluetooth/l2cap_core.c: In function ‘l2cap_ecred_conn_req’: net/bluetooth/l2cap_core.c:5000:2: error: implicit declaration of function ‘DEFINE_RAW_FLEX’; did you mean ‘DEFINE_FLEX’? [-Werror=implicit-function-declaration] 5000 | DEFINE_RAW_FLEX(struct l2cap_ecred_conn_rsp, pdu, dcid, L2CAP_ECRED_MAX_CID); | ^~~~~~~~~~~~~~~ | DEFINE_FLEX net/bluetooth/l2cap_core.c:5000:18: error: expected expression before ‘struct’ 5000 | DEFINE_RAW_FLEX(struct l2cap_ecred_conn_rsp, pdu, dcid, L2CAP_ECRED_MAX_CID); | ^~~~~~ In file included from ./arch/x86/include/asm/string.h:3, from ./arch/x86/include/asm/cpuid.h:9, from ./arch/x86/include/asm/processor.h:19, from ./arch/x86/include/asm/timex.h:5, from ./include/linux/timex.h:67, from ./include/linux/time32.h:13, from ./include/linux/time.h:60, from ./include/linux/stat.h:19, from ./include/linux/module.h:13, from net/bluetooth/l2cap_core.c:31: net/bluetooth/l2cap_core.c:5048:9: error: ‘pdu’ undeclared (first use in this function) 5048 | memset(pdu, 0, sizeof(*pdu)); | ^~~ ./arch/x86/include/asm/string_32.h:195:46: note: in definition of macro ‘memset’ 195 | #define memset(s, c, count) __builtin_memset(s, c, count) | ^ net/bluetooth/l2cap_core.c:5048:9: note: each undeclared identifier is reported only once for each function it appears in 5048 | memset(pdu, 0, sizeof(*pdu)); | ^~~ ./arch/x86/include/asm/string_32.h:195:46: note: in definition of macro ‘memset’ 195 | #define memset(s, c, count) __builtin_memset(s, c, count) | ^ net/bluetooth/l2cap_core.c: In function ‘l2cap_ecred_reconfigure’: net/bluetooth/l2cap_core.c:7114:18: error: expected expression before ‘struct’ 7114 | DEFINE_RAW_FLEX(struct l2cap_ecred_reconf_req, pdu, scid, 1); | ^~~~~~ net/bluetooth/l2cap_core.c:7116:2: error: ‘pdu’ undeclared (first use in this function) 7116 | pdu->mtu = cpu_to_le16(chan->imtu); | ^~~ cc1: some warnings being treated as errors make[4]: *** [scripts/Makefile.build:243: net/bluetooth/l2cap_core.o] Error 1 make[3]: *** [scripts/Makefile.build:481: net/bluetooth] Error 2 make[2]: *** [scripts/Makefile.build:481: net] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/github/workspace/src/src/Makefile:1921: .] Error 2 make: *** [Makefile:240: __sub-make] Error 2 ############################## Test: TestRunnerSetup - FAIL Desc: Setup kernel and bluez for test-runner Output: Kernel: net/bluetooth/l2cap_core.c: In function ‘l2cap_ecred_conn_req’: net/bluetooth/l2cap_core.c:5000:2: error: implicit declaration of function ‘DEFINE_RAW_FLEX’; did you mean ‘DEFINE_FLEX’? [-Werror=implicit-function-declaration] 5000 | DEFINE_RAW_FLEX(struct l2cap_ecred_conn_rsp, pdu, dcid, L2CAP_ECRED_MAX_CID); | ^~~~~~~~~~~~~~~ | DEFINE_FLEX net/bluetooth/l2cap_core.c:5000:18: error: expected expression before ‘struct’ 5000 | DEFINE_RAW_FLEX(struct l2cap_ecred_conn_rsp, pdu, dcid, L2CAP_ECRED_MAX_CID); | ^~~~~~ net/bluetooth/l2cap_core.c:5048:9: error: ‘pdu’ undeclared (first use in this function) 5048 | memset(pdu, 0, sizeof(*pdu)); | ^~~ net/bluetooth/l2cap_core.c:5048:9: note: each undeclared identifier is reported only once for each function it appears in net/bluetooth/l2cap_core.c: In function ‘l2cap_ecred_reconfigure’: net/bluetooth/l2cap_core.c:7114:18: error: expected expression before ‘struct’ 7114 | DEFINE_RAW_FLEX(struct l2cap_ecred_reconf_req, pdu, scid, 1); | ^~~~~~ net/bluetooth/l2cap_core.c:7116:2: error: ‘pdu’ undeclared (first use in this function) 7116 | pdu->mtu = cpu_to_le16(chan->imtu); | ^~~ cc1: some warnings being treated as errors make[4]: *** [scripts/Makefile.build:243: net/bluetooth/l2cap_core.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [scripts/Makefile.build:481: net/bluetooth] Error 2 make[2]: *** [scripts/Makefile.build:481: net] Error 2 make[1]: *** [/github/workspace/src/src/Makefile:1921: .] Error 2 make: *** [Makefile:240: __sub-make] Error 2 ############################## Test: TestRunner_l2cap-tester - FAIL Desc: Run l2cap-tester with test-runner Output: Could not access KVM kernel module: No such file or directory qemu-system-x86_64: failed to initialize KVM: No such file or directory qemu-system-x86_64: Back to tcg accelerator qemu: could not open kernel file '/github/workspace/src/src/arch/x86/boot/bzImage': No such file or directory ############################## Test: TestRunner_iso-tester - FAIL Desc: Run iso-tester with test-runner Output: Could not access KVM kernel module: No such file or directory qemu-system-x86_64: failed to initialize KVM: No such file or directory qemu-system-x86_64: Back to tcg accelerator qemu: could not open kernel file '/github/workspace/src/src/arch/x86/boot/bzImage': No such file or directory ############################## Test: TestRunner_bnep-tester - FAIL Desc: Run bnep-tester with test-runner Output: Could not access KVM kernel module: No such file or directory qemu-system-x86_64: failed to initialize KVM: No such file or directory qemu-system-x86_64: Back to tcg accelerator qemu: could not open kernel file '/github/workspace/src/src/arch/x86/boot/bzImage': No such file or directory ############################## Test: TestRunner_mgmt-tester - FAIL Desc: Run mgmt-tester with test-runner Output: Could not access KVM kernel module: No such file or directory qemu-system-x86_64: failed to initialize KVM: No such file or directory qemu-system-x86_64: Back to tcg accelerator qemu: could not open kernel file '/github/workspace/src/src/arch/x86/boot/bzImage': No such file or directory ############################## Test: TestRunner_rfcomm-tester - FAIL Desc: Run rfcomm-tester with test-runner Output: Could not access KVM kernel module: No such file or directory qemu-system-x86_64: failed to initialize KVM: No such file or directory qemu-system-x86_64: Back to tcg accelerator qemu: could not open kernel file '/github/workspace/src/src/arch/x86/boot/bzImage': No such file or directory ############################## Test: TestRunner_sco-tester - FAIL Desc: Run sco-tester with test-runner Output: Could not access KVM kernel module: No such file or directory qemu-system-x86_64: failed to initialize KVM: No such file or directory qemu-system-x86_64: Back to tcg accelerator qemu: could not open kernel file '/github/workspace/src/src/arch/x86/boot/bzImage': No such file or directory ############################## Test: TestRunner_ioctl-tester - FAIL Desc: Run ioctl-tester with test-runner Output: Could not access KVM kernel module: No such file or directory qemu-system-x86_64: failed to initialize KVM: No such file or directory qemu-system-x86_64: Back to tcg accelerator qemu: could not open kernel file '/github/workspace/src/src/arch/x86/boot/bzImage': No such file or directory ############################## Test: TestRunner_mesh-tester - FAIL Desc: Run mesh-tester with test-runner Output: Could not access KVM kernel module: No such file or directory qemu-system-x86_64: failed to initialize KVM: No such file or directory qemu-system-x86_64: Back to tcg accelerator qemu: could not open kernel file '/github/workspace/src/src/arch/x86/boot/bzImage': No such file or directory ############################## Test: TestRunner_smp-tester - FAIL Desc: Run smp-tester with test-runner Output: Could not access KVM kernel module: No such file or directory qemu-system-x86_64: failed to initialize KVM: No such file or directory qemu-system-x86_64: Back to tcg accelerator qemu: could not open kernel file '/github/workspace/src/src/arch/x86/boot/bzImage': No such file or directory ############################## Test: TestRunner_userchan-tester - FAIL Desc: Run userchan-tester with test-runner Output: Could not access KVM kernel module: No such file or directory qemu-system-x86_64: failed to initialize KVM: No such file or directory qemu-system-x86_64: Back to tcg accelerator qemu: could not open kernel file '/github/workspace/src/src/arch/x86/boot/bzImage': No such file or directory ############################## Test: IncrementalBuild - FAIL Desc: Incremental build with the patches in the series Output: [next] Bluetooth: L2CAP: Avoid -Wflex-array-member-not-at-end warnings net/bluetooth/l2cap_core.c: In function ‘l2cap_ecred_conn_req’: net/bluetooth/l2cap_core.c:5000:2: error: implicit declaration of function ‘DEFINE_RAW_FLEX’; did you mean ‘DEFINE_FLEX’? [-Werror=implicit-function-declaration] 5000 | DEFINE_RAW_FLEX(struct l2cap_ecred_conn_rsp, pdu, dcid, L2CAP_ECRED_MAX_CID); | ^~~~~~~~~~~~~~~ | DEFINE_FLEX net/bluetooth/l2cap_core.c:5000:18: error: expected expression before ‘struct’ 5000 | DEFINE_RAW_FLEX(struct l2cap_ecred_conn_rsp, pdu, dcid, L2CAP_ECRED_MAX_CID); | ^~~~~~ net/bluetooth/l2cap_core.c:5048:9: error: ‘pdu’ undeclared (first use in this function) 5048 | memset(pdu, 0, sizeof(*pdu)); | ^~~ net/bluetooth/l2cap_core.c:5048:9: note: each undeclared identifier is reported only once for each function it appears in net/bluetooth/l2cap_core.c: In function ‘l2cap_ecred_reconfigure’: net/bluetooth/l2cap_core.c:7114:18: error: expected expression before ‘struct’ 7114 | DEFINE_RAW_FLEX(struct l2cap_ecred_reconf_req, pdu, scid, 1); | ^~~~~~ net/bluetooth/l2cap_core.c:7116:2: error: ‘pdu’ undeclared (first use in this function) 7116 | pdu->mtu = cpu_to_le16(chan->imtu); | ^~~ cc1: some warnings being treated as errors make[4]: *** [scripts/Makefile.build:243: net/bluetooth/l2cap_core.o] Error 1 make[3]: *** [scripts/Makefile.build:481: net/bluetooth] Error 2 make[2]: *** [scripts/Makefile.build:481: net] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/github/workspace/src/src/Makefile:1921: .] Error 2 make: *** [Makefile:240: __sub-make] Error 2 --- Regards, Linux Bluetooth