diff mbox series

[BlueZ,05/17] emulator: Add SPDX License Identifier

Message ID 20200912062357.23926-6-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. 12, 2020, 6:23 a.m. UTC
From: Tedd Ho-Jeong An <tedd.an@intel.com>

This patch adds SPDX License Identifier.

-------------------------------------
       License            COUNT
-------------------------------------
 LGPL-2.1-or-later    :     20
 GPL-2.0-or-later     :      2

License: LGPL-2.1-or-later
   emulator/server.c
   emulator/amp.c
   emulator/hciemu.c
   emulator/vhci.c
   emulator/btdev.c
   emulator/serial.h
   emulator/le.h
   emulator/le.c
   emulator/main.c
   emulator/amp.h
   emulator/hciemu.h
   emulator/bthost.h
   emulator/btdev.h
   emulator/vhci.h
   emulator/serial.c
   emulator/phy.c
   emulator/smp.c
   emulator/phy.h
   emulator/bthost.c
   emulator/server.h

License: GPL-2.0-or-later
   emulator/b1ee.c
   emulator/hfp.c
---
 emulator/amp.c    | 1 +
 emulator/amp.h    | 1 +
 emulator/b1ee.c   | 1 +
 emulator/btdev.c  | 1 +
 emulator/btdev.h  | 1 +
 emulator/bthost.c | 1 +
 emulator/bthost.h | 1 +
 emulator/hciemu.c | 1 +
 emulator/hciemu.h | 1 +
 emulator/hfp.c    | 1 +
 emulator/le.c     | 1 +
 emulator/le.h     | 1 +
 emulator/main.c   | 1 +
 emulator/phy.c    | 1 +
 emulator/phy.h    | 1 +
 emulator/serial.c | 1 +
 emulator/serial.h | 1 +
 emulator/server.c | 1 +
 emulator/server.h | 1 +
 emulator/smp.c    | 1 +
 emulator/vhci.c   | 1 +
 emulator/vhci.h   | 1 +
 22 files changed, 22 insertions(+)

Comments

bluez.test.bot@gmail.com Sept. 12, 2020, 6:51 a.m. UTC | #1
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.
While we are preparing for reviewing the patches, we found the following
issue/warning.

Test Result:
checkpatch Failed

Outputs:
WARNING:SPDX_LICENSE_TAG: Improper SPDX comment style for 'emulator/amp.h', please use '/*' instead
#54: FILE: emulator/amp.h:1:
+// SPDX-License-Identifier: LGPL-2.1-or-later

WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1
#54: FILE: emulator/amp.h:1:
+// SPDX-License-Identifier: LGPL-2.1-or-later

WARNING:SPDX_LICENSE_TAG: Improper SPDX comment style for 'emulator/btdev.h', please use '/*' instead
#81: FILE: emulator/btdev.h:1:
+// SPDX-License-Identifier: LGPL-2.1-or-later

WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1
#81: FILE: emulator/btdev.h:1:
+// SPDX-License-Identifier: LGPL-2.1-or-later

WARNING:SPDX_LICENSE_TAG: Improper SPDX comment style for 'emulator/bthost.h', please use '/*' instead
#99: FILE: emulator/bthost.h:1:
+// SPDX-License-Identifier: LGPL-2.1-or-later

WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1
#99: FILE: emulator/bthost.h:1:
+// SPDX-License-Identifier: LGPL-2.1-or-later

WARNING:SPDX_LICENSE_TAG: Improper SPDX comment style for 'emulator/hciemu.h', please use '/*' instead
#117: FILE: emulator/hciemu.h:1:
+// SPDX-License-Identifier: LGPL-2.1-or-later

WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1
#117: FILE: emulator/hciemu.h:1:
+// SPDX-License-Identifier: LGPL-2.1-or-later

WARNING:SPDX_LICENSE_TAG: Improper SPDX comment style for 'emulator/le.h', please use '/*' instead
#144: FILE: emulator/le.h:1:
+// SPDX-License-Identifier: LGPL-2.1-or-later

WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1
#144: FILE: emulator/le.h:1:
+// SPDX-License-Identifier: LGPL-2.1-or-later

WARNING:SPDX_LICENSE_TAG: Improper SPDX comment style for 'emulator/phy.h', please use '/*' instead
#171: FILE: emulator/phy.h:1:
+// SPDX-License-Identifier: LGPL-2.1-or-later

WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1
#171: FILE: emulator/phy.h:1:
+// SPDX-License-Identifier: LGPL-2.1-or-later

WARNING:SPDX_LICENSE_TAG: Improper SPDX comment style for 'emulator/serial.h', please use '/*' instead
#189: FILE: emulator/serial.h:1:
+// SPDX-License-Identifier: LGPL-2.1-or-later

WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1
#189: FILE: emulator/serial.h:1:
+// SPDX-License-Identifier: LGPL-2.1-or-later

WARNING:SPDX_LICENSE_TAG: Improper SPDX comment style for 'emulator/server.h', please use '/*' instead
#207: FILE: emulator/server.h:1:
+// SPDX-License-Identifier: LGPL-2.1-or-later

WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1
#207: FILE: emulator/server.h:1:
+// SPDX-License-Identifier: LGPL-2.1-or-later

WARNING:SPDX_LICENSE_TAG: Improper SPDX comment style for 'emulator/vhci.h', please use '/*' instead
#234: FILE: emulator/vhci.h:1:
+// SPDX-License-Identifier: LGPL-2.1-or-later

WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1
#234: FILE: emulator/vhci.h:1:
+// SPDX-License-Identifier: LGPL-2.1-or-later

- total: 0 errors, 18 warnings, 88 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

Your patch has style problems, please review.

NOTE: Ignored message types: COMMIT_MESSAGE COMPLEX_MACRO CONST_STRUCT FILE_PATH_CHANGES MISSING_SIGN_OFF PREFER_PACKED SPLIT_STRING SSCANF_TO_KSTRTO

NOTE: If any of the errors are false positives, please report
      them to the maintainer, see CHECKPATCH in MAINTAINERS.



---
Regards,
Linux Bluetooth
diff mbox series

Patch

diff --git a/emulator/amp.c b/emulator/amp.c
index 605c6c825..33e6ff476 100644
--- a/emulator/amp.c
+++ b/emulator/amp.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/emulator/amp.h b/emulator/amp.h
index 189dfb7d4..0c948a38c 100644
--- a/emulator/amp.h
+++ b/emulator/amp.h
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/emulator/b1ee.c b/emulator/b1ee.c
index 377181b01..d84b4587f 100644
--- a/emulator/b1ee.c
+++ b/emulator/b1ee.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/emulator/btdev.c b/emulator/btdev.c
index e9c3811f8..05bf76cb2 100644
--- a/emulator/btdev.c
+++ b/emulator/btdev.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/emulator/btdev.h b/emulator/btdev.h
index a9f71b281..7a6ca9571 100644
--- a/emulator/btdev.h
+++ b/emulator/btdev.h
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/emulator/bthost.c b/emulator/bthost.c
index 71d5f97bb..40a40ea3c 100644
--- a/emulator/bthost.c
+++ b/emulator/bthost.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/emulator/bthost.h b/emulator/bthost.h
index 2b347136f..d190d38bc 100644
--- a/emulator/bthost.h
+++ b/emulator/bthost.h
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/emulator/hciemu.c b/emulator/hciemu.c
index ac861cce2..ef5dc35d5 100644
--- a/emulator/hciemu.c
+++ b/emulator/hciemu.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/emulator/hciemu.h b/emulator/hciemu.h
index 4c8858bb6..5c70aa2fd 100644
--- a/emulator/hciemu.h
+++ b/emulator/hciemu.h
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/emulator/hfp.c b/emulator/hfp.c
index 29ec63e7d..533f6dbb4 100644
--- a/emulator/hfp.c
+++ b/emulator/hfp.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/emulator/le.c b/emulator/le.c
index 1c8ba280b..9980475b3 100644
--- a/emulator/le.c
+++ b/emulator/le.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/emulator/le.h b/emulator/le.h
index 5e832e8e5..7d977292c 100644
--- a/emulator/le.h
+++ b/emulator/le.h
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/emulator/main.c b/emulator/main.c
index 75cb79c7b..9d613f75b 100644
--- a/emulator/main.c
+++ b/emulator/main.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/emulator/phy.c b/emulator/phy.c
index beb8bbbe4..0711495fa 100644
--- a/emulator/phy.c
+++ b/emulator/phy.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/emulator/phy.h b/emulator/phy.h
index d5efa5180..192bb567b 100644
--- a/emulator/phy.h
+++ b/emulator/phy.h
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/emulator/serial.c b/emulator/serial.c
index 1c324d531..9ae73f102 100644
--- a/emulator/serial.c
+++ b/emulator/serial.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/emulator/serial.h b/emulator/serial.h
index 4e5a56f88..75aff38cb 100644
--- a/emulator/serial.h
+++ b/emulator/serial.h
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/emulator/server.c b/emulator/server.c
index c28b15ebf..3fb348ac3 100644
--- a/emulator/server.c
+++ b/emulator/server.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/emulator/server.h b/emulator/server.h
index bf725e788..a169c4c09 100644
--- a/emulator/server.h
+++ b/emulator/server.h
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/emulator/smp.c b/emulator/smp.c
index c30de3666..ae06ae9aa 100644
--- a/emulator/smp.c
+++ b/emulator/smp.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/emulator/vhci.c b/emulator/vhci.c
index f79b34f46..58ae0a5f8 100644
--- a/emulator/vhci.c
+++ b/emulator/vhci.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux
diff --git a/emulator/vhci.h b/emulator/vhci.h
index 1ec7191f8..dcb8860e2 100644
--- a/emulator/vhci.h
+++ b/emulator/vhci.h
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  *
  *  BlueZ - Bluetooth protocol stack for Linux