Skip to contentSkip to conversation

staging: Fix tnt4882 license to be SPDX compliant

PATCH In review Prarit Bhargava 2 participants 2 messages Dec 2, 2024 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: Fix tnt4882 license to be SPDX compliant

"GPL-2" is not a valid SPDX license identifier[1]. Update to SPDX compliant string "GPL-2.0-only".

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

---
 drivers/staging/gpib/tnt4882/mite.c | 2 +-
 drivers/staging/gpib/tnt4882/mite.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/staging/gpib/tnt4882/mite.c +1 -1
index 0edf34d243e9..90341f8c394e 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2
+// SPDX-License-Identifier: GPL-2.0-only
 
 /*
  *	Hardware driver for NI Mite PCI interface chip,
drivers/staging/gpib/tnt4882/mite.h +1 -1
index 6454d069b8cc..fb84eaa83de3 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2 */
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 /*
  *   Hardware driver for NI Mite PCI interface chip
Signature · 1 line
2.47.0
#1 lore raw
Quoted 4 lines · Prarit Bhargava

"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