Bluetooth: hci_ll: Fix compilation issue
PATCH 1/1 Bluetooth: hci_ll: Fix compilation issue
hci_ll.c: In function ‘ll_setup’:
hci_ll.c:656:68: error: ‘struct hci_dev’ has no member
named ‘quirks’ set_bit(HCI_QUIRK_INVALID_BDADDR, &hu->hdev->quirks);
--- drivers/bluetooth/hci_ll.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/bluetooth/hci_ll.c +2 -2
@@ -649,11 +649,11 @@ static int ll_setup(struct hci_uart *hu)/* This means that there was an error getting the BD address * during probe, so mark the device as having a bad address. */ -set_bit (HCI_QUIRK_INVALID_BDADDR , &hu->hdev->quirks); +hci_set_quirk (hu->hdev,HCI_QUIRK_INVALID_BDADDR ); }else if (bacmp (&lldev->bdaddr,BDADDR_ANY )) { err =ll_set_bdaddr (hu->hdev, &lldev->bdaddr);if (err) -set_bit (HCI_QUIRK_INVALID_BDADDR , &hu->hdev->quirks); +hci_set_quirk (hu->hdev,HCI_QUIRK_INVALID_BDADDR ); }/* Operational speed if any */
Signature · 1 line
2.43.0
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=982292
---Test result---
Test Summary:
CheckPatch PENDING 0.35 seconds GitLint PENDING 0.24 seconds SubjectPrefix PASS 0.08 seconds BuildKernel PASS 24.55 seconds CheckAllWarning PASS 26.92 seconds CheckSparse PASS 30.52 seconds BuildKernel32 PASS 24.55 seconds TestRunnerSetup PASS 468.24 seconds TestRunner_l2cap-tester PASS 25.06 seconds TestRunner_iso-tester PASS 38.01 seconds TestRunner_bnep-tester PASS 5.95 seconds TestRunner_mgmt-tester FAIL 135.29 seconds TestRunner_rfcomm-tester PASS 9.32 seconds TestRunner_sco-tester PASS 14.64 seconds TestRunner_ioctl-tester PASS 9.91 seconds TestRunner_mesh-tester FAIL 11.41 seconds TestRunner_smp-tester PASS 8.45 seconds TestRunner_userchan-tester PASS 6.14 seconds IncrementalBuild PENDING 0.88 seconds
Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script Output:
##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:
##############################
Test: TestRunner_mgmt-tester - FAIL
Desc: Run mgmt-tester with test-runner Output:
Total: 490, Passed: 485 (99.0%), Failed: 1, Not Run: 4
Failed Test Cases
LL Privacy - Set Flags 1 (Add to RL) Failed 0.168 seconds
##############################
Test: TestRunner_mesh-tester - FAIL
Desc: Run mesh-tester with test-runner Output:
Total: 10, Passed: 8 (80.0%), Failed: 2, Not Run: 0
Failed Test Cases
Mesh - Send cancel - 1 Timed out 2.233 seconds Mesh - Send cancel - 2 Timed out 2.005 seconds
##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series Output:
---
Regards,
Linux Bluetooth
Quoted 32 lines · Kiran K
hci_ll.c: In function ‘ll_setup’:
hci_ll.c:656:68: error: ‘struct hci_dev’ has no membernamed ‘quirks’ set_bit(HCI_QUIRK_INVALID_BDADDR, &hu->hdev->quirks);Fixes be736f5f89d5 ("Bluetooth: hci_dev: replace 'quirks' integer by 'quirk_flags' bitmap")Signed-off-by Kiran K <[email protected]>--- drivers/bluetooth/hci_ll.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/bluetooth/hci_ll.c +2
-2@@ -649,11 +649,11 @@ static int ll_setup(struct hci_uart *hu)/* This means that there was an error getting the BD address * during probe, so mark the device as having a bad address. */ -set_bit (HCI_QUIRK_INVALID_BDADDR , &hu->hdev->quirks); +hci_set_quirk (hu->hdev,HCI_QUIRK_INVALID_BDADDR ); }else if (bacmp (&lldev->bdaddr,BDADDR_ANY )) { err =ll_set_bdaddr (hu->hdev, &lldev->bdaddr);if (err) -set_bit (HCI_QUIRK_INVALID_BDADDR , &hu->hdev->quirks); +hci_set_quirk (hu->hdev,HCI_QUIRK_INVALID_BDADDR ); }/* Operational speed if any */ Signature · 1 line
2.43.0
Ivan Pravdin
Luiz Augusto von Dentz
maintainerHi Kiran, Ivan,
Quoted 9 lines · Ivan Pravdin
Quoted 7 lines · Kiran K
hci_ll.c: In function ‘ll_setup’:
hci_ll.c:656:68: error: ‘struct hci_dev’ has no membernamed ‘quirks’ set_bit(HCI_QUIRK_INVALID_BDADDR, &hu->hdev->quirks);Fixes be736f5f89d5 ("Bluetooth: hci_dev: replace 'quirks' integer by 'quirk_flags' bitmap")Signed-off-by Kiran K <[email protected]>
I went ahead and amend the original change adding your signed-off and tested-by.
Quoted 30 lines
Quoted 23 lines
--- drivers/bluetooth/hci_ll.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/bluetooth/hci_ll.c +2
-3@@ -649,11 +649,11 @@ static int ll_setup(struct hci_uart *hu)/* This means that there was an error getting the BD address * during probe, so mark the device as having a bad address. */ -set_bit (HCI_QUIRK_INVALID_BDADDR , &hu->hdev->quirks); +hci_set_quirk (hu->hdev,HCI_QUIRK_INVALID_BDADDR ); }else if (bacmp (&lldev->bdaddr,BDADDR_ANY )) { err =ll_set_bdaddr (hu->hdev, &lldev->bdaddr);if (err) -set_bit (HCI_QUIRK_INVALID_BDADDR , &hu->hdev->quirks); +hci_set_quirk (hu->hdev,HCI_QUIRK_INVALID_BDADDR ); }/* Operational speed if any */ --Quoted 2 lines
2.43.0
Tested-by Ivan Pravdin <[email protected]>Ivan Pravdin
Signature · 1 line
Luiz Augusto von Dentz