* [PATCH v1] Bluetooth: Remove 3 repeated macro definitions
@ 2024-01-09 13:08 Zijun Hu
2024-01-09 14:02 ` [v1] " bluez.test.bot
2024-04-22 14:51 ` [PATCH v1 RESEND] " Zijun Hu
0 siblings, 2 replies; 4+ messages in thread
From: Zijun Hu @ 2024-01-09 13:08 UTC (permalink / raw)
To: luiz.dentz, marcel, johan.hedberg; +Cc: linux-bluetooth, quic_zijuhu
Macros HCI_REQ_DONE, HCI_REQ_PEND and HCI_REQ_CANCELED are repeatedly
defined twice with hci_request.h, so remove a copy of definition.
Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com>
---
net/bluetooth/hci_request.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/net/bluetooth/hci_request.h b/net/bluetooth/hci_request.h
index 0be75cf0efed..c91f2838f542 100644
--- a/net/bluetooth/hci_request.h
+++ b/net/bluetooth/hci_request.h
@@ -29,10 +29,6 @@
#define hci_req_sync_lock(hdev) mutex_lock(&hdev->req_lock)
#define hci_req_sync_unlock(hdev) mutex_unlock(&hdev->req_lock)
-#define HCI_REQ_DONE 0
-#define HCI_REQ_PEND 1
-#define HCI_REQ_CANCELED 2
-
struct hci_request {
struct hci_dev *hdev;
struct sk_buff_head cmd_q;
--
2.7.4
^ permalink raw reply related [flat|nested] 4+ messages in thread* RE: [v1] Bluetooth: Remove 3 repeated macro definitions
2024-01-09 13:08 [PATCH v1] Bluetooth: Remove 3 repeated macro definitions Zijun Hu
@ 2024-01-09 14:02 ` bluez.test.bot
2024-04-22 14:51 ` [PATCH v1 RESEND] " Zijun Hu
1 sibling, 0 replies; 4+ messages in thread
From: bluez.test.bot @ 2024-01-09 14:02 UTC (permalink / raw)
To: linux-bluetooth, quic_zijuhu
[-- Attachment #1: Type: text/plain, Size: 1422 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=815398
---Test result---
Test Summary:
CheckPatch PASS 0.61 seconds
GitLint PASS 0.32 seconds
SubjectPrefix PASS 0.13 seconds
BuildKernel PASS 27.51 seconds
CheckAllWarning PASS 30.20 seconds
CheckSparse PASS 35.92 seconds
CheckSmatch PASS 98.60 seconds
BuildKernel32 PASS 26.85 seconds
TestRunnerSetup PASS 432.81 seconds
TestRunner_l2cap-tester PASS 22.86 seconds
TestRunner_iso-tester PASS 49.00 seconds
TestRunner_bnep-tester PASS 6.83 seconds
TestRunner_mgmt-tester PASS 161.93 seconds
TestRunner_rfcomm-tester PASS 10.84 seconds
TestRunner_sco-tester PASS 14.50 seconds
TestRunner_ioctl-tester PASS 11.95 seconds
TestRunner_mesh-tester PASS 8.67 seconds
TestRunner_smp-tester PASS 9.78 seconds
TestRunner_userchan-tester PASS 7.20 seconds
IncrementalBuild PASS 26.02 seconds
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v1 RESEND] Bluetooth: Remove 3 repeated macro definitions
2024-01-09 13:08 [PATCH v1] Bluetooth: Remove 3 repeated macro definitions Zijun Hu
2024-01-09 14:02 ` [v1] " bluez.test.bot
@ 2024-04-22 14:51 ` Zijun Hu
2024-04-22 15:33 ` [v1,RESEND] " bluez.test.bot
1 sibling, 1 reply; 4+ messages in thread
From: Zijun Hu @ 2024-04-22 14:51 UTC (permalink / raw)
To: luiz.dentz, luiz.von.dentz, marcel; +Cc: quic_zijuhu, linux-bluetooth
Macros HCI_REQ_DONE, HCI_REQ_PEND and HCI_REQ_CANCELED are repeatedly
defined twice with hci_request.h, so remove a copy of definition.
Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com>
---
net/bluetooth/hci_request.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/net/bluetooth/hci_request.h b/net/bluetooth/hci_request.h
index 0be75cf0efed..c91f2838f542 100644
--- a/net/bluetooth/hci_request.h
+++ b/net/bluetooth/hci_request.h
@@ -24,20 +24,16 @@
#define HCI_REQ_DONE 0
#define HCI_REQ_PEND 1
#define HCI_REQ_CANCELED 2
#define hci_req_sync_lock(hdev) mutex_lock(&hdev->req_lock)
#define hci_req_sync_unlock(hdev) mutex_unlock(&hdev->req_lock)
-#define HCI_REQ_DONE 0
-#define HCI_REQ_PEND 1
-#define HCI_REQ_CANCELED 2
-
struct hci_request {
struct hci_dev *hdev;
struct sk_buff_head cmd_q;
/* If something goes wrong when building the HCI request, the error
* value is stored in this field.
*/
int err;
--
2.7.4
^ permalink raw reply related [flat|nested] 4+ messages in thread* RE: [v1,RESEND] Bluetooth: Remove 3 repeated macro definitions
2024-04-22 14:51 ` [PATCH v1 RESEND] " Zijun Hu
@ 2024-04-22 15:33 ` bluez.test.bot
0 siblings, 0 replies; 4+ messages in thread
From: bluez.test.bot @ 2024-04-22 15:33 UTC (permalink / raw)
To: linux-bluetooth, quic_zijuhu
[-- Attachment #1: Type: text/plain, Size: 2481 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=846708
---Test result---
Test Summary:
CheckPatch PASS 0.62 seconds
GitLint PASS 0.30 seconds
SubjectPrefix PASS 0.12 seconds
BuildKernel PASS 30.73 seconds
CheckAllWarning PASS 32.96 seconds
CheckSparse PASS 38.75 seconds
CheckSmatch FAIL 36.48 seconds
BuildKernel32 PASS 29.29 seconds
TestRunnerSetup PASS 529.07 seconds
TestRunner_l2cap-tester PASS 18.29 seconds
TestRunner_iso-tester PASS 31.04 seconds
TestRunner_bnep-tester PASS 4.69 seconds
TestRunner_mgmt-tester PASS 108.50 seconds
TestRunner_rfcomm-tester PASS 7.23 seconds
TestRunner_sco-tester PASS 14.93 seconds
TestRunner_ioctl-tester PASS 7.63 seconds
TestRunner_mesh-tester PASS 5.76 seconds
TestRunner_smp-tester PASS 6.75 seconds
TestRunner_userchan-tester PASS 4.87 seconds
IncrementalBuild PASS 28.11 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
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-04-22 15:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-09 13:08 [PATCH v1] Bluetooth: Remove 3 repeated macro definitions Zijun Hu
2024-01-09 14:02 ` [v1] " bluez.test.bot
2024-04-22 14:51 ` [PATCH v1 RESEND] " Zijun Hu
2024-04-22 15:33 ` [v1,RESEND] " bluez.test.bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox