From: bluez.test.bot@gmail.com
To: linux-bluetooth@vger.kernel.org, luiz.dentz@gmail.com
Subject: RE: Bluetooth: hci_core: Fix missing instances using HCI_MAX_AD_LENGTH
Date: Fri, 18 Aug 2023 14:53:56 -0700 (PDT) [thread overview]
Message-ID: <64dfe874.0c0a0220.d97ca.4e12@mx.google.com> (raw)
In-Reply-To: <20230818212211.3207580-1-luiz.dentz@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 20008 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=777545
---Test result---
Test Summary:
CheckPatch PASS 1.18 seconds
GitLint PASS 0.34 seconds
SubjectPrefix PASS 0.12 seconds
BuildKernel FAIL 31.44 seconds
CheckAllWarning FAIL 34.12 seconds
CheckSparse FAIL 38.40 seconds
CheckSmatch FAIL 98.00 seconds
BuildKernel32 FAIL 30.00 seconds
TestRunnerSetup FAIL 476.39 seconds
TestRunner_l2cap-tester FAIL 0.16 seconds
TestRunner_iso-tester FAIL 0.16 seconds
TestRunner_bnep-tester FAIL 0.16 seconds
TestRunner_mgmt-tester FAIL 0.16 seconds
TestRunner_rfcomm-tester FAIL 0.16 seconds
TestRunner_sco-tester FAIL 0.16 seconds
TestRunner_ioctl-tester FAIL 0.16 seconds
TestRunner_mesh-tester FAIL 0.16 seconds
TestRunner_smp-tester FAIL 0.16 seconds
TestRunner_userchan-tester FAIL 0.16 seconds
IncrementalBuild FAIL 29.66 seconds
Details
##############################
Test: BuildKernel - FAIL
Desc: Build Kernel for Bluetooth
Output:
In file included from net/bluetooth/eir.c:9:
net/bluetooth/eir.c: In function ‘eir_append_local_name’:
net/bluetooth/eir.c:36:19: error: ‘dev’ undeclared (first use in this function); did you mean ‘hdev’?
36 | if ((max_adv_len(dev) - ad_len) < HCI_MAX_SHORT_NAME_LENGTH + 3)
| ^~~
./include/net/bluetooth/hci_core.h:1850:33: note: in definition of macro ‘ext_adv_capable’
1850 | #define ext_adv_capable(dev) (((dev)->le_features[1] & HCI_LE_EXT_ADV))
| ^~~
net/bluetooth/eir.c:36:7: note: in expansion of macro ‘max_adv_len’
36 | if ((max_adv_len(dev) - ad_len) < HCI_MAX_SHORT_NAME_LENGTH + 3)
| ^~~~~~~~~~~
net/bluetooth/eir.c:36:19: note: each undeclared identifier is reported only once for each function it appears in
36 | if ((max_adv_len(dev) - ad_len) < HCI_MAX_SHORT_NAME_LENGTH + 3)
| ^~~
./include/net/bluetooth/hci_core.h:1850:33: note: in definition of macro ‘ext_adv_capable’
1850 | #define ext_adv_capable(dev) (((dev)->le_features[1] & HCI_LE_EXT_ADV))
| ^~~
net/bluetooth/eir.c:36:7: note: in expansion of macro ‘max_adv_len’
36 | if ((max_adv_len(dev) - ad_len) < HCI_MAX_SHORT_NAME_LENGTH + 3)
| ^~~~~~~~~~~
make[4]: *** [scripts/Makefile.build:243: net/bluetooth/eir.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [scripts/Makefile.build:480: net/bluetooth] Error 2
make[2]: *** [scripts/Makefile.build:480: net] Error 2
make[1]: *** [/github/workspace/src/src/Makefile:2032: .] Error 2
make: *** [Makefile:234: __sub-make] Error 2
##############################
Test: CheckAllWarning - FAIL
Desc: Run linux kernel with all warning enabled
Output:
In file included from net/bluetooth/eir.c:9:
net/bluetooth/eir.c: In function ‘eir_append_local_name’:
net/bluetooth/eir.c:36:19: error: ‘dev’ undeclared (first use in this function); did you mean ‘hdev’?
36 | if ((max_adv_len(dev) - ad_len) < HCI_MAX_SHORT_NAME_LENGTH + 3)
| ^~~
./include/net/bluetooth/hci_core.h:1850:33: note: in definition of macro ‘ext_adv_capable’
1850 | #define ext_adv_capable(dev) (((dev)->le_features[1] & HCI_LE_EXT_ADV))
| ^~~
net/bluetooth/eir.c:36:7: note: in expansion of macro ‘max_adv_len’
36 | if ((max_adv_len(dev) - ad_len) < HCI_MAX_SHORT_NAME_LENGTH + 3)
| ^~~~~~~~~~~
net/bluetooth/eir.c:36:19: note: each undeclared identifier is reported only once for each function it appears in
36 | if ((max_adv_len(dev) - ad_len) < HCI_MAX_SHORT_NAME_LENGTH + 3)
| ^~~
./include/net/bluetooth/hci_core.h:1850:33: note: in definition of macro ‘ext_adv_capable’
1850 | #define ext_adv_capable(dev) (((dev)->le_features[1] & HCI_LE_EXT_ADV))
| ^~~
net/bluetooth/eir.c:36:7: note: in expansion of macro ‘max_adv_len’
36 | if ((max_adv_len(dev) - ad_len) < HCI_MAX_SHORT_NAME_LENGTH + 3)
| ^~~~~~~~~~~
make[4]: *** [scripts/Makefile.build:243: net/bluetooth/eir.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [scripts/Makefile.build:480: net/bluetooth] Error 2
make[2]: *** [scripts/Makefile.build:480: net] Error 2
make[1]: *** [/github/workspace/src/src/Makefile:2032: .] 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:2658:47: warning: array of flexible structures
./include/net/bluetooth/hci.h:2744:43: warning: array of flexible structures
drivers/bluetooth/btmtksdio.c:557:63: warning: Using plain integer as NULL pointer
drivers/bluetooth/btmtksdio.c:579:55: warning: Using plain integer as NULL pointer
drivers/bluetooth/btmtksdio.c:611:63: warning: Using plain integer as NULL pointer
drivers/bluetooth/btmtksdio.c:624:63: warning: Using plain integer as NULL pointer
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]
net/bluetooth/hci_codec.c: note: in included file:
./include/net/bluetooth/hci_core.h:150:35: warning: array of flexible structures
In file included from net/bluetooth/eir.c:9:
net/bluetooth/eir.c: In function ‘eir_append_local_name’:
net/bluetooth/eir.c:36:19: error: ‘dev’ undeclared (first use in this function); did you mean ‘hdev’?
36 | if ((max_adv_len(dev) - ad_len) < HCI_MAX_SHORT_NAME_LENGTH + 3)
| ^~~
./include/net/bluetooth/hci_core.h:1850:33: note: in definition of macro ‘ext_adv_capable’
1850 | #define ext_adv_capable(dev) (((dev)->le_features[1] & HCI_LE_EXT_ADV))
| ^~~
net/bluetooth/eir.c:36:7: note: in expansion of macro ‘max_adv_len’
36 | if ((max_adv_len(dev) - ad_len) < HCI_MAX_SHORT_NAME_LENGTH + 3)
| ^~~~~~~~~~~
net/bluetooth/eir.c:36:19: note: each undeclared identifier is reported only once for each function it appears in
36 | if ((max_adv_len(dev) - ad_len) < HCI_MAX_SHORT_NAME_LENGTH + 3)
| ^~~
./include/net/bluetooth/hci_core.h:1850:33: note: in definition of macro ‘ext_adv_capable’
1850 | #define ext_adv_capable(dev) (((dev)->le_features[1] & HCI_LE_EXT_ADV))
| ^~~
net/bluetooth/eir.c:36:7: note: in expansion of macro ‘max_adv_len’
36 | if ((max_adv_len(dev) - ad_len) < HCI_MAX_SHORT_NAME_LENGTH + 3)
| ^~~~~~~~~~~
make[4]: *** [scripts/Makefile.build:243: net/bluetooth/eir.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [scripts/Makefile.build:480: net/bluetooth] Error 2
make[2]: *** [scripts/Makefile.build:480: net] Error 2
make[1]: *** [/github/workspace/src/src/Makefile:2032: .] Error 2
make: *** [Makefile:234: __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:2658:47: warning: array of flexible structures
./include/net/bluetooth/hci.h:2744: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
In file included from net/bluetooth/eir.c:9:
net/bluetooth/eir.c: In function ‘eir_append_local_name’:
net/bluetooth/eir.c:36:19: error: ‘dev’ undeclared (first use in this function); did you mean ‘hdev’?
36 | if ((max_adv_len(dev) - ad_len) < HCI_MAX_SHORT_NAME_LENGTH + 3)
| ^~~
./include/net/bluetooth/hci_core.h:1850:33: note: in definition of macro ‘ext_adv_capable’
1850 | #define ext_adv_capable(dev) (((dev)->le_features[1] & HCI_LE_EXT_ADV))
| ^~~
net/bluetooth/eir.c:36:7: note: in expansion of macro ‘max_adv_len’
36 | if ((max_adv_len(dev) - ad_len) < HCI_MAX_SHORT_NAME_LENGTH + 3)
| ^~~~~~~~~~~
net/bluetooth/eir.c:36:19: note: each undeclared identifier is reported only once for each function it appears in
36 | if ((max_adv_len(dev) - ad_len) < HCI_MAX_SHORT_NAME_LENGTH + 3)
| ^~~
./include/net/bluetooth/hci_core.h:1850:33: note: in definition of macro ‘ext_adv_capable’
1850 | #define ext_adv_capable(dev) (((dev)->le_features[1] & HCI_LE_EXT_ADV))
| ^~~
net/bluetooth/eir.c:36:7: note: in expansion of macro ‘max_adv_len’
36 | if ((max_adv_len(dev) - ad_len) < HCI_MAX_SHORT_NAME_LENGTH + 3)
| ^~~~~~~~~~~
make[4]: *** [scripts/Makefile.build:243: net/bluetooth/eir.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [scripts/Makefile.build:480: net/bluetooth] Error 2
make[2]: *** [scripts/Makefile.build:480: net] Error 2
make[1]: *** [/github/workspace/src/src/Makefile:2032: .] Error 2
make: *** [Makefile:234: __sub-make] Error 2
##############################
Test: BuildKernel32 - FAIL
Desc: Build 32bit Kernel for Bluetooth
Output:
In file included from net/bluetooth/eir.c:9:
net/bluetooth/eir.c: In function ‘eir_append_local_name’:
net/bluetooth/eir.c:36:19: error: ‘dev’ undeclared (first use in this function); did you mean ‘hdev’?
36 | if ((max_adv_len(dev) - ad_len) < HCI_MAX_SHORT_NAME_LENGTH + 3)
| ^~~
./include/net/bluetooth/hci_core.h:1850:33: note: in definition of macro ‘ext_adv_capable’
1850 | #define ext_adv_capable(dev) (((dev)->le_features[1] & HCI_LE_EXT_ADV))
| ^~~
net/bluetooth/eir.c:36:7: note: in expansion of macro ‘max_adv_len’
36 | if ((max_adv_len(dev) - ad_len) < HCI_MAX_SHORT_NAME_LENGTH + 3)
| ^~~~~~~~~~~
net/bluetooth/eir.c:36:19: note: each undeclared identifier is reported only once for each function it appears in
36 | if ((max_adv_len(dev) - ad_len) < HCI_MAX_SHORT_NAME_LENGTH + 3)
| ^~~
./include/net/bluetooth/hci_core.h:1850:33: note: in definition of macro ‘ext_adv_capable’
1850 | #define ext_adv_capable(dev) (((dev)->le_features[1] & HCI_LE_EXT_ADV))
| ^~~
net/bluetooth/eir.c:36:7: note: in expansion of macro ‘max_adv_len’
36 | if ((max_adv_len(dev) - ad_len) < HCI_MAX_SHORT_NAME_LENGTH + 3)
| ^~~~~~~~~~~
make[4]: *** [scripts/Makefile.build:243: net/bluetooth/eir.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [scripts/Makefile.build:480: net/bluetooth] Error 2
make[2]: *** [scripts/Makefile.build:480: net] Error 2
make[1]: *** [/github/workspace/src/src/Makefile:2032: .] Error 2
make: *** [Makefile:234: __sub-make] Error 2
##############################
Test: TestRunnerSetup - FAIL
Desc: Setup kernel and bluez for test-runner
Output:
Kernel:
In file included from net/bluetooth/eir.c:9:
net/bluetooth/eir.c: In function ‘eir_append_local_name’:
net/bluetooth/eir.c:36:19: error: ‘dev’ undeclared (first use in this function); did you mean ‘hdev’?
36 | if ((max_adv_len(dev) - ad_len) < HCI_MAX_SHORT_NAME_LENGTH + 3)
| ^~~
./include/net/bluetooth/hci_core.h:1850:33: note: in definition of macro ‘ext_adv_capable’
1850 | #define ext_adv_capable(dev) (((dev)->le_features[1] & HCI_LE_EXT_ADV))
| ^~~
net/bluetooth/eir.c:36:7: note: in expansion of macro ‘max_adv_len’
36 | if ((max_adv_len(dev) - ad_len) < HCI_MAX_SHORT_NAME_LENGTH + 3)
| ^~~~~~~~~~~
net/bluetooth/eir.c:36:19: note: each undeclared identifier is reported only once for each function it appears in
36 | if ((max_adv_len(dev) - ad_len) < HCI_MAX_SHORT_NAME_LENGTH + 3)
| ^~~
./include/net/bluetooth/hci_core.h:1850:33: note: in definition of macro ‘ext_adv_capable’
1850 | #define ext_adv_capable(dev) (((dev)->le_features[1] & HCI_LE_EXT_ADV))
| ^~~
net/bluetooth/eir.c:36:7: note: in expansion of macro ‘max_adv_len’
36 | if ((max_adv_len(dev) - ad_len) < HCI_MAX_SHORT_NAME_LENGTH + 3)
| ^~~~~~~~~~~
make[4]: *** [scripts/Makefile.build:243: net/bluetooth/eir.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [scripts/Makefile.build:480: net/bluetooth] Error 2
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [scripts/Makefile.build:480: net] Error 2
make[1]: *** [/github/workspace/src/src/Makefile:2032: .] Error 2
make: *** [Makefile:234: __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:
Bluetooth: hci_core: Fix missing instances using HCI_MAX_AD_LENGTH
In file included from net/bluetooth/eir.c:9:
net/bluetooth/eir.c: In function ‘eir_append_local_name’:
net/bluetooth/eir.c:36:19: error: ‘dev’ undeclared (first use in this function); did you mean ‘hdev’?
36 | if ((max_adv_len(dev) - ad_len) < HCI_MAX_SHORT_NAME_LENGTH + 3)
| ^~~
./include/net/bluetooth/hci_core.h:1850:33: note: in definition of macro ‘ext_adv_capable’
1850 | #define ext_adv_capable(dev) (((dev)->le_features[1] & HCI_LE_EXT_ADV))
| ^~~
net/bluetooth/eir.c:36:7: note: in expansion of macro ‘max_adv_len’
36 | if ((max_adv_len(dev) - ad_len) < HCI_MAX_SHORT_NAME_LENGTH + 3)
| ^~~~~~~~~~~
net/bluetooth/eir.c:36:19: note: each undeclared identifier is reported only once for each function it appears in
36 | if ((max_adv_len(dev) - ad_len) < HCI_MAX_SHORT_NAME_LENGTH + 3)
| ^~~
./include/net/bluetooth/hci_core.h:1850:33: note: in definition of macro ‘ext_adv_capable’
1850 | #define ext_adv_capable(dev) (((dev)->le_features[1] & HCI_LE_EXT_ADV))
| ^~~
net/bluetooth/eir.c:36:7: note: in expansion of macro ‘max_adv_len’
36 | if ((max_adv_len(dev) - ad_len) < HCI_MAX_SHORT_NAME_LENGTH + 3)
| ^~~~~~~~~~~
make[4]: *** [scripts/Makefile.build:243: net/bluetooth/eir.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [scripts/Makefile.build:480: net/bluetooth] Error 2
make[2]: *** [scripts/Makefile.build:480: net] Error 2
make[1]: *** [/github/workspace/src/src/Makefile:2032: .] Error 2
make: *** [Makefile:234: __sub-make] Error 2
---
Regards,
Linux Bluetooth
next prev parent reply other threads:[~2023-08-18 21:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-18 21:22 [PATCH] Bluetooth: hci_core: Fix missing instances using HCI_MAX_AD_LENGTH Luiz Augusto von Dentz
2023-08-18 21:53 ` bluez.test.bot [this message]
2023-08-21 13:03 ` kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=64dfe874.0c0a0220.d97ca.4e12@mx.google.com \
--to=bluez.test.bot@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=luiz.dentz@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.