Skip to contentSkip to conversation

lib: Fix headers that are used to interface with kernel syscalls

PATCH In review Luiz Augusto von Dentz 2 participants 2 messages Oct 1, 2025 Bluetooth drivers

lore
Share & tools
lore

Luiz Augusto von Dentz

author maintainer
#0 lore raw

PATCH 1/1 lib: Fix headers that are used to interface with kernel syscalls

From: Luiz Augusto von Dentz <[email protected]>

This fixes the headers that are used to interface with kernel syscalls which seems to be broken for a very long time due bluetooth not having proper uapi in the kernel and libbluetooth not licensing the headers according to the same headers in the kernel.

---
 lib/bluetooth/bluetooth.h | 2 +-
 lib/bluetooth/bnep.h      | 2 +-
 lib/bluetooth/cmtp.h      | 2 +-
 lib/bluetooth/hci.h       | 2 +-
 lib/bluetooth/hidp.h      | 2 +-
 lib/bluetooth/iso.h       | 2 +-
 lib/bluetooth/l2cap.h     | 2 +-
 lib/bluetooth/mgmt.h      | 2 +-
 lib/bluetooth/rfcomm.h    | 2 +-
 lib/bluetooth/sco.h       | 2 +-
 10 files changed, 10 insertions(+), 10 deletions(-)
lib/bluetooth/bluetooth.h +1 -1
index 88a5d8b66134..a16523815442 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
lib/bluetooth/bnep.h +1 -1
index a0d39058c6e4..f8a08b46ec08 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
lib/bluetooth/cmtp.h +1 -1
index 7ba8bfc3bf6f..47ec4119a6f9 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
lib/bluetooth/hci.h +1 -1
index 732477ec4b55..754c32cd8913 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
lib/bluetooth/hidp.h +1 -1
index da42a1b9ecbf..aacd398562c2 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
lib/bluetooth/iso.h +1 -1
index 1e9f79ce5d4c..e0b22eced82d 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
lib/bluetooth/l2cap.h +1 -1
index 62cc04b57ae9..ca6bcaac8805 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
lib/bluetooth/mgmt.h +1 -1
index 2b45010d1b0b..ba539ad0db1d 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
 /*
  *  BlueZ - Bluetooth protocol stack for Linux
  *
lib/bluetooth/rfcomm.h +1 -1
index 0347ddc36770..354263135ea7 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
lib/bluetooth/sco.h +1 -1
index 307d81f813ff..c27f7530bd4c 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
Signature · 1 line
2.51.0
#1 lore raw

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=1007812

---Test result---

Test Summary:

CheckPatch                    PENDING   0.36 seconds
GitLint                       PENDING   0.35 seconds
BuildEll                      PASS      20.49 seconds
BluezMake                     PASS      2874.26 seconds
MakeCheck                     PASS      20.44 seconds
MakeDistcheck                 PASS      191.88 seconds
CheckValgrind                 PASS      243.10 seconds
CheckSmatch                   PASS      318.49 seconds
bluezmakeextell               PASS      134.05 seconds
IncrementalBuild              PENDING   0.33 seconds
ScanBuild                     PASS      954.14 seconds

Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script
Output:

##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:

##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series Output:

---
Regards,
Linux Bluetooth