[PATCH] staging: Fix tnt4882 license to be SPDX compliant

Prarit Bhargava posted 1 patch 1 year, 2 months ago
drivers/staging/gpib/tnt4882/mite.c | 2 +-
drivers/staging/gpib/tnt4882/mite.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
[PATCH] staging: Fix tnt4882 license to be SPDX compliant
Posted by Prarit Bhargava 1 year, 2 months ago
"GPL-2" is not a valid SPDX license identifier[1].  Update to SPDX
compliant string "GPL-2.0-only".

[1] https://spdx.org/licenses

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Cc: Dave Penkler <dpenkler@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Rohit Chavan <roheetchavan@gmail.com>
Cc: linux-staging@lists.linux.dev
Signed-off-by: Prarit Bhargava <prarit@redhat.com>
---
 drivers/staging/gpib/tnt4882/mite.c | 2 +-
 drivers/staging/gpib/tnt4882/mite.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/gpib/tnt4882/mite.c b/drivers/staging/gpib/tnt4882/mite.c
index 0edf34d243e9..90341f8c394e 100644
--- a/drivers/staging/gpib/tnt4882/mite.c
+++ b/drivers/staging/gpib/tnt4882/mite.c
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2
+// SPDX-License-Identifier: GPL-2.0-only
 
 /*
  *	Hardware driver for NI Mite PCI interface chip,
diff --git a/drivers/staging/gpib/tnt4882/mite.h b/drivers/staging/gpib/tnt4882/mite.h
index 6454d069b8cc..fb84eaa83de3 100644
--- a/drivers/staging/gpib/tnt4882/mite.h
+++ b/drivers/staging/gpib/tnt4882/mite.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2 */
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 /*
  *   Hardware driver for NI Mite PCI interface chip
-- 
2.47.0
Re: [PATCH] staging: Fix tnt4882 license to be SPDX compliant
Posted by Greg Kroah-Hartman 1 year, 2 months ago
On Mon, Dec 02, 2024 at 11:03:57AM -0500, Prarit Bhargava wrote:
> "GPL-2" is not a valid SPDX license identifier[1].  Update to SPDX
> compliant string "GPL-2.0-only".
> 
> [1] https://spdx.org/licenses

It could also be "GPL-2.0" if you want, but sure, this works.  Note, our
list is older than the current spdx list as we are going off of an older
version for now, until all of the kernel is caught up.

thanks,

greg k-h