> -----Original Message----- > From: linux-spdx-owner@xxxxxxxxxxxxxxx <linux-spdx-owner@xxxxxxxxxxxxxxx> > On Behalf Of Thomas Gleixner > Sent: Thursday, 30 May, 2019 01:57 > To: linux-spdx@xxxxxxxxxxxxxxx > Subject: [Batch 13 patch 05/48] treewide: Replace GPLv2 > boilerplate/reference with SPDX - rule 305 > > From: Thomas Gleixner tglx@xxxxxxxxxxxxx > > Based on 1 normalized pattern(s): > > licensed under the gplv2 > > extracted by the scancode license scanner the SPDX license identifier > > GPL-2.0-only > > has been chosen to replace the boilerplate/reference in 6 file(s). > > Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx> > > --- > https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch13&id=690d17cb67dd > --- > arch/mips/power/cpu.c | 3 +-- > arch/mips/power/hibernate_asm.S | 3 +-- > include/linux/uio_driver.h | 3 +-- > tools/perf/util/intlist.c | 3 +-- > tools/perf/util/rblist.c | 3 +-- > tools/perf/util/strlist.c | 3 +-- > 6 files changed, 6 insertions(+), 12 deletions(-) While 5 of the files have the exact string "Licensed under the GPLv2", the file include/linux/uio_driver.h actually says "Licensed under the GPLv2 only." It's perfectly OK in this case, but does this mean that string match also matches substrings, and this pattern would also match "Licensed under the GPLv2 or later" ? Reviewed-by: Alexios Zavras <alexios.zavras@xxxxxxxxx> Intel Deutschland GmbH Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany Tel: +49 89 99 8853-0, www.intel.de Managing Directors: Christin Eisenschmid, Gary Kershaw Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich Commercial Register: Amtsgericht Muenchen HRB 186928