On 03.06.19 07:45, Thomas Gleixner wrote: > From: Thomas Gleixner tglx@xxxxxxxxxxxxx > > Based on 1 normalized pattern(s): > > gnu gpl v2 > > extracted by the scancode license scanner the SPDX license identifier > > GPL-2.0-only > > has been chosen to replace the boilerplate/reference in 5 file(s). > > Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx> > > --- > https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=ddd236877a92 > --- > drivers/macintosh/windfarm_max6690_sensor.c | 3 +-- > drivers/macintosh/windfarm_pm112.c | 3 +-- > drivers/macintosh/windfarm_pm72.c | 3 +-- > drivers/macintosh/windfarm_rm31.c | 3 +-- > tools/pcmcia/crc32hash.c | 1 + > 5 files changed, 5 insertions(+), 8 deletions(-) > > --- a/drivers/macintosh/windfarm_max6690_sensor.c > +++ b/drivers/macintosh/windfarm_max6690_sensor.c > @@ -1,9 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * Windfarm PowerMac thermal control. MAX6690 sensor. > * > * Copyright (C) 2005 Paul Mackerras, IBM Corp. <paulus@xxxxxxxxx> > - * > - * Use and redistribute under the terms of the GNU GPL v2. > */ > #include <linux/types.h> > #include <linux/errno.h> > --- a/drivers/macintosh/windfarm_pm112.c > +++ b/drivers/macintosh/windfarm_pm112.c > @@ -1,11 +1,10 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * Windfarm PowerMac thermal control. > * Control loops for machines with SMU and PPC970MP processors. > * > * Copyright (C) 2005 Paul Mackerras, IBM Corp. <paulus@xxxxxxxxx> > * Copyright (C) 2006 Benjamin Herrenschmidt, IBM Corp. > - * > - * Use and redistribute under the terms of the GNU GPL v2. > */ > #include <linux/types.h> > #include <linux/errno.h> > --- a/drivers/macintosh/windfarm_pm72.c > +++ b/drivers/macintosh/windfarm_pm72.c > @@ -1,10 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * Windfarm PowerMac thermal control. > * Control loops for PowerMac7,2 and 7,3 > * > * Copyright (C) 2012 Benjamin Herrenschmidt, IBM Corp. > - * > - * Use and redistribute under the terms of the GNU GPL v2. > */ > #include <linux/types.h> > #include <linux/errno.h> > --- a/drivers/macintosh/windfarm_rm31.c > +++ b/drivers/macintosh/windfarm_rm31.c > @@ -1,10 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * Windfarm PowerMac thermal control. > * Control loops for RackMack3,1 (Xserve G5) > * > * Copyright (C) 2012 Benjamin Herrenschmidt, IBM Corp. > - * > - * Use and redistribute under the terms of the GNU GPL v2. > */ > #include <linux/types.h> > #include <linux/errno.h> Reviewed-By: Enrico Weigelt <info@xxxxxxxxx> > --- a/tools/pcmcia/crc32hash.c > +++ b/tools/pcmcia/crc32hash.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* crc32hash.c - derived from linux/lib/crc32.c, GNU GPL v2 */ > /* Usage example: > $ ./crc32hash "Dual Speed" > > Where exactly is that deduced from ? Can we really be sure that this is correct ? --mtx -- Enrico Weigelt, metux IT consult Free software and Linux embedded engineering info@xxxxxxxxx -- +49-151-27565287