Re: [PATCH v3] Bluetooth: Add SPDX id lines to some source files

Paul Menzel <[email protected]> Fri, 5 Jun 2026 12:21:33 +0200
Newsgroups org.kernel.vger.linux-spdx,org.kernel.vger.linux-bluetooth,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
Dear Tim,


Thank you for your patch.

Am 04.06.26 um 19:06 schrieb Tim Bird:
> Many bluetooth source files are missing SPDX-License-Identifier
> lines. Add appropriate IDs to these files, and remove other
> license lines from the headers.
> 
> Leave the warranty disclaimer in files where the license ID is
> GPL-2.0 but the wording of the disclaimer is slightly different
> from that of the GPL v2 disclaimer.
> 
> It is not different enough to cause licensing conflicts, but is
> kept to honor the original contributors' legal intent.

Could you please add a note, why you use /* */ in header files (suffix 
`.h`) and // in files ending with `.c`?

> Signed-off-by: Tim Bird <[email protected]>
> ---
> V2 -> V3:
>   - move Signed-off-by above changlog
> V1 -> V2:
>   - Leave different warranty disclaimers (which is most them)
>   - Remove files recently removed from drivers/bluetooth from the patch
> ---
>   drivers/bluetooth/btrsi.c         | 12 +-----------
>   include/net/bluetooth/bluetooth.h |  5 +----
>   include/net/bluetooth/hci.h       |  5 +----
>   include/net/bluetooth/hci_core.h  |  5 +----
>   include/net/bluetooth/hci_mon.h   |  5 +----
>   include/net/bluetooth/hci_sock.h  |  5 +----
>   include/net/bluetooth/l2cap.h     |  5 +----
>   include/net/bluetooth/mgmt.h      |  5 +----
>   include/net/bluetooth/rfcomm.h    |  5 +----
>   include/net/bluetooth/sco.h       |  5 +----
>   net/bluetooth/af_bluetooth.c      |  5 +----
>   net/bluetooth/bnep/core.c         |  5 +----
>   net/bluetooth/bnep/netdev.c       |  5 +----
>   net/bluetooth/bnep/sock.c         |  5 +----
>   net/bluetooth/ecdh_helper.c       |  5 +----
>   net/bluetooth/ecdh_helper.h       |  5 +----
>   net/bluetooth/hci_conn.c          |  5 +----
>   net/bluetooth/hci_core.c          |  5 +----
>   net/bluetooth/hci_debugfs.c       |  5 +----
>   net/bluetooth/hci_debugfs.h       |  5 +----
>   net/bluetooth/hci_event.c         |  5 +----
>   net/bluetooth/hci_sock.c          |  5 +----
>   net/bluetooth/hidp/core.c         |  5 +----
>   net/bluetooth/hidp/hidp.h         |  5 +----
>   net/bluetooth/hidp/sock.c         |  5 +----
>   net/bluetooth/l2cap_core.c        |  5 +----
>   net/bluetooth/l2cap_sock.c        |  5 +----
>   net/bluetooth/lib.c               |  5 +----
>   net/bluetooth/mgmt.c              |  5 +----
>   net/bluetooth/mgmt_util.c         |  5 +----
>   net/bluetooth/mgmt_util.h         |  5 +----
>   net/bluetooth/rfcomm/core.c       |  5 +----
>   net/bluetooth/rfcomm/sock.c       |  5 +----
>   net/bluetooth/rfcomm/tty.c        |  5 +----
>   net/bluetooth/sco.c               |  5 +----
>   net/bluetooth/selftest.c          |  5 +----
>   net/bluetooth/selftest.h          |  5 +----
>   net/bluetooth/smp.c               |  5 +----
>   net/bluetooth/smp.h               |  5 +----
>   39 files changed, 39 insertions(+), 163 deletions(-)

[…]


Kind regards,

Paul