diff mbox series

[BlueZ,v2,15/17] unit: Add SPDX License Identifier

Message ID 20200913033341.4639-16-tedd.an@linux.intel.com (mailing list archive)
State Accepted
Delegated to: Luiz Von Dentz
Headers show
Series None | expand

Commit Message

Tedd Ho-Jeong An Sept. 13, 2020, 3:33 a.m. UTC
From: Tedd Ho-Jeong An <tedd.an@intel.com>

This patch adds SPDX License Identifier.

-------------------------------------
       License            COUNT
-------------------------------------
 GPL-2.0-or-later     :     25
 LGPL-2.1-or-later    :      1
 GPL-2.0-only         :      2
 BSD-2-Clause         :      1

License: GPL-2.0-or-later
   unit/test-hog.c
   unit/test-eir.c
   unit/test-gobex-header.c
   unit/test-crc.c
   unit/test-avrcp.c
   unit/test-ringbuf.c
   unit/test-gobex-apparam.c
   unit/test-gobex.c
   unit/test-hfp.c
   unit/test-textfile.c
   unit/test-avdtp.c
   unit/test-sdp.c
   unit/test-gatt.c
   unit/test-avctp.c
   unit/test-gattrib.c
   unit/test-queue.c
   unit/test-gobex-packet.c
   unit/test-uuid.c
   unit/test-crypto.c
   unit/test-uhid.c
   unit/test-gdbus-client.c
   unit/test-midi.c
   unit/test-lib.c
   unit/test-mgmt.c
   unit/test-gobex-transfer.c

License: LGPL-2.1-or-later
   unit/test-mesh-crypto.c

License: GPL-2.0-only
   unit/util.h
   unit/util.c

License: BSD-2-Clause
   unit/test-ecc.c
---
 unit/test-avctp.c          | 1 +
 unit/test-avdtp.c          | 1 +
 unit/test-avrcp.c          | 1 +
 unit/test-crc.c            | 1 +
 unit/test-crypto.c         | 1 +
 unit/test-ecc.c            | 1 +
 unit/test-eir.c            | 1 +
 unit/test-gatt.c           | 1 +
 unit/test-gattrib.c        | 1 +
 unit/test-gdbus-client.c   | 1 +
 unit/test-gobex-apparam.c  | 1 +
 unit/test-gobex-header.c   | 1 +
 unit/test-gobex-packet.c   | 1 +
 unit/test-gobex-transfer.c | 1 +
 unit/test-gobex.c          | 1 +
 unit/test-hfp.c            | 1 +
 unit/test-hog.c            | 1 +
 unit/test-lib.c            | 1 +
 unit/test-mesh-crypto.c    | 1 +
 unit/test-mgmt.c           | 1 +
 unit/test-midi.c           | 1 +
 unit/test-queue.c          | 1 +
 unit/test-ringbuf.c        | 1 +
 unit/test-sdp.c            | 1 +
 unit/test-textfile.c       | 1 +
 unit/test-uhid.c           | 1 +
 unit/test-uuid.c           | 1 +
 unit/util.c                | 1 +
 unit/util.h                | 1 +
 29 files changed, 29 insertions(+)
diff mbox series

Patch

diff --git a/unit/test-avctp.c b/unit/test-avctp.c
index c92618bab..ca69d454e 100644
--- a/unit/test-avctp.c
+++ b/unit/test-avctp.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-avdtp.c b/unit/test-avdtp.c
index 13c03d037..8081b3e66 100644
--- a/unit/test-avdtp.c
+++ b/unit/test-avdtp.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-avrcp.c b/unit/test-avrcp.c
index adf25f002..e7470ba19 100644
--- a/unit/test-avrcp.c
+++ b/unit/test-avrcp.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-crc.c b/unit/test-crc.c
index 791fa5137..04097eb83 100644
--- a/unit/test-crc.c
+++ b/unit/test-crc.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-crypto.c b/unit/test-crypto.c
index 46c7c0e5c..173885019 100644
--- a/unit/test-crypto.c
+++ b/unit/test-crypto.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-ecc.c b/unit/test-ecc.c
index d9136814d..e87bebf52 100644
--- a/unit/test-ecc.c
+++ b/unit/test-ecc.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: BSD-2-Clause
 /*
  * Copyright (c) 2013, Kenneth MacKay
  * All rights reserved.
diff --git a/unit/test-eir.c b/unit/test-eir.c
index 421d0db13..f6da5e6d3 100644
--- a/unit/test-eir.c
+++ b/unit/test-eir.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-gatt.c b/unit/test-gatt.c
index 0b77df51c..735c47da0 100644
--- a/unit/test-gatt.c
+++ b/unit/test-gatt.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-gattrib.c b/unit/test-gattrib.c
index 416e59635..39ac3da8c 100644
--- a/unit/test-gattrib.c
+++ b/unit/test-gattrib.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-gdbus-client.c b/unit/test-gdbus-client.c
index ccf706713..7f1d9a32b 100644
--- a/unit/test-gdbus-client.c
+++ b/unit/test-gdbus-client.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-gobex-apparam.c b/unit/test-gobex-apparam.c
index 59393c681..2e85b1d2b 100644
--- a/unit/test-gobex-apparam.c
+++ b/unit/test-gobex-apparam.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX library with GLib integration
diff --git a/unit/test-gobex-header.c b/unit/test-gobex-header.c
index 3450f8123..f50c10f9c 100644
--- a/unit/test-gobex-header.c
+++ b/unit/test-gobex-header.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX library with GLib integration
diff --git a/unit/test-gobex-packet.c b/unit/test-gobex-packet.c
index d382ee5b3..1c7cb993b 100644
--- a/unit/test-gobex-packet.c
+++ b/unit/test-gobex-packet.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX library with GLib integration
diff --git a/unit/test-gobex-transfer.c b/unit/test-gobex-transfer.c
index 3f8905c0b..61bfddef8 100644
--- a/unit/test-gobex-transfer.c
+++ b/unit/test-gobex-transfer.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX library with GLib integration
diff --git a/unit/test-gobex.c b/unit/test-gobex.c
index 1afb7ceff..022579005 100644
--- a/unit/test-gobex.c
+++ b/unit/test-gobex.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  OBEX library with GLib integration
diff --git a/unit/test-hfp.c b/unit/test-hfp.c
index 890eee659..f625537e8 100644
--- a/unit/test-hfp.c
+++ b/unit/test-hfp.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-hog.c b/unit/test-hog.c
index e257fbd88..66025334d 100644
--- a/unit/test-hog.c
+++ b/unit/test-hog.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-lib.c b/unit/test-lib.c
index 1dd5d92cf..9c4ee64c1 100644
--- a/unit/test-lib.c
+++ b/unit/test-lib.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-mesh-crypto.c b/unit/test-mesh-crypto.c
index ed37ae1a7..e65b4ee5f 100644
--- a/unit/test-mesh-crypto.c
+++ b/unit/test-mesh-crypto.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-mgmt.c b/unit/test-mgmt.c
index c67678b9a..b20bd1918 100644
--- a/unit/test-mgmt.c
+++ b/unit/test-mgmt.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-midi.c b/unit/test-midi.c
index 593bc5a5c..66c096b46 100644
--- a/unit/test-midi.c
+++ b/unit/test-midi.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-queue.c b/unit/test-queue.c
index d912a6416..c502e68da 100644
--- a/unit/test-queue.c
+++ b/unit/test-queue.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-ringbuf.c b/unit/test-ringbuf.c
index ef3bf0a50..f3ba2673e 100644
--- a/unit/test-ringbuf.c
+++ b/unit/test-ringbuf.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-sdp.c b/unit/test-sdp.c
index 03501d021..3c40b411a 100644
--- a/unit/test-sdp.c
+++ b/unit/test-sdp.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-textfile.c b/unit/test-textfile.c
index 4b43898d6..d939443f9 100644
--- a/unit/test-textfile.c
+++ b/unit/test-textfile.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-uhid.c b/unit/test-uhid.c
index 320cd54d4..42c39a770 100644
--- a/unit/test-uhid.c
+++ b/unit/test-uhid.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/test-uuid.c b/unit/test-uuid.c
index 7c6789e39..e0753b816 100644
--- a/unit/test-uuid.c
+++ b/unit/test-uuid.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/unit/util.c b/unit/util.c
index c8054d2e4..31dec37df 100644
--- a/unit/util.c
+++ b/unit/util.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *
  *  OBEX library with GLib integration
diff --git a/unit/util.h b/unit/util.h
index b13fd2f16..01a482985 100644
--- a/unit/util.h
+++ b/unit/util.h
@@ -1,3 +1,4 @@ 
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *
  *  OBEX library with GLib integration