Skip to contentSkip to conversation

treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_385.RULE

PATCH Superseded Thomas Gleixner 1 participant 1 message Jun 6, 2022

Subsystems (7)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 20/25 treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_385.RULE

Folks!
References: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8

Based on the normalized pattern:

licensed under the gpl v2

extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-only

has been chosen to replace the boilerplate/reference.

---
 arch/sparc/vdso/vdso2c.c                    |    2 +-
 arch/x86/entry/vdso/vdso2c.c                |    2 +-
 scripts/gcc-plugins/latent_entropy_plugin.c |    2 +-
 scripts/gcc-plugins/stackleak_plugin.c      |    2 +-
 scripts/gcc-plugins/structleak_plugin.c     |    2 +-
 tools/power/cpupower/debug/i386/dump_psb.c  |    6 ++----
 6 files changed, 7 insertions(+), 9 deletions(-)
arch/sparc/vdso/vdso2c.c +1 -1
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * vdso2c - A vdso image preparation tool
  * Copyright (c) 2014 Andy Lutomirski and others
- * Licensed under the GPL v2
  *
  * vdso2c requires stripped and unstripped input.  It would be trivial
  * to fully strip the input in here, but, for reasons described below,
arch/x86/entry/vdso/vdso2c.c +1 -1
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * vdso2c - A vdso image preparation tool
  * Copyright (c) 2014 Andy Lutomirski and others
- * Licensed under the GPL v2
  *
  * vdso2c requires stripped and unstripped input.  It would be trivial
  * to fully strip the input in here, but, for reasons described below,
scripts/gcc-plugins/latent_entropy_plugin.c +1 -1
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright 2012-2016 by the PaX Team <[email protected]>
  * Copyright 2016 by Emese Revfy <[email protected]>
- * Licensed under the GPL v2
  *
  * Note: the choice of the license means that the compilation process is
  *       NOT 'eligible' as defined by gcc's library exception to the GPL v3,
scripts/gcc-plugins/stackleak_plugin.c +1 -1
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright 2011-2017 by the PaX Team <[email protected]>
  * Modified by Alexander Popov <[email protected]>
- * Licensed under the GPL v2
  *
  * Note: the choice of the license means that the compilation process is
  * NOT 'eligible' as defined by gcc's library exception to the GPL v3,
scripts/gcc-plugins/structleak_plugin.c +1 -1
@@ -1,6 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright 2013-2017 by PaX Team <[email protected]>
- * Licensed under the GPL v2
  *
  * Note: the choice of the license means that the compilation process is
  *       NOT 'eligible' as defined by gcc's library exception to the GPL v3,
tools/power/cpupower/debug/i386/dump_psb.c +2 -4
@@ -1,7 +1,5 @@
-/*
- * dump_psb. (c) 2004, Dave Jones, Red Hat Inc.
- * Licensed under the GPL v2.
- */
+// SPDX-License-Identifier: GPL-2.0-only
+// dump_psb. (c) 2004, Dave Jones, Red Hat Inc.
 
 #include <fcntl.h>
 #include <stdio.h>