On 03.06.19 07:44, Thomas Gleixner wrote: > From: Thomas Gleixner tglx@xxxxxxxxxxxxx > > Based on 1 normalized pattern(s): > > for licencing details see kernel base copying > > extracted by the scancode license scanner the SPDX license identifier > > GPL-2.0-only > > has been chosen to replace the boilerplate/reference in 13 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=e8acc08814ff > --- > arch/x86/events/amd/ibs.c | 3 +-- > arch/x86/events/core.c | 3 +-- > arch/x86/events/intel/p4.c | 3 +-- > arch/x86/events/perf_event.h | 3 +-- > arch/x86/kernel/x86_init.c | 3 +-- > arch/x86/lib/usercopy.c | 3 +-- > drivers/input/touchscreen/tps6507x-ts.c | 3 +-- > drivers/mfd/tps6507x.c | 4 +--- > include/linux/input/tps6507x-ts.h | 4 +--- > include/linux/ktime.h | 3 +-- > include/linux/mfd/tps6507x.h | 4 +--- > include/linux/perf_event.h | 3 +-- > lib/debugobjects.c | 3 +-- > 13 files changed, 13 insertions(+), 29 deletions(-) > > --- a/arch/x86/events/amd/ibs.c > +++ b/arch/x86/events/amd/ibs.c > @@ -1,9 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * Performance events - AMD IBS > * > * Copyright (C) 2011 Advanced Micro Devices, Inc., Robert Richter > - * > - * For licencing details see kernel-base/COPYING > */ > > #include <linux/perf_event.h> > --- a/arch/x86/events/core.c > +++ b/arch/x86/events/core.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * Performance events x86 architecture code > * > @@ -8,8 +9,6 @@ > * Copyright (C) 2008-2009 Red Hat, Inc., Peter Zijlstra > * Copyright (C) 2009 Intel Corporation, <markus.t.metzger@xxxxxxxxx> > * Copyright (C) 2009 Google, Inc., Stephane Eranian > - * > - * For licencing details see kernel-base/COPYING > */ > > #include <linux/perf_event.h> > --- a/arch/x86/events/intel/p4.c > +++ b/arch/x86/events/intel/p4.c > @@ -1,10 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * Netburst Performance Events (P4, old Xeon) > * > * Copyright (C) 2010 Parallels, Inc., Cyrill Gorcunov <gorcunov@xxxxxxxxxx> > * Copyright (C) 2010 Intel Corporation, Lin Ming <ming.m.lin@xxxxxxxxx> > - * > - * For licencing details see kernel-base/COPYING > */ > > #include <linux/perf_event.h> > --- a/arch/x86/events/perf_event.h > +++ b/arch/x86/events/perf_event.h > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* > * Performance events x86 architecture header > * > @@ -8,8 +9,6 @@ > * Copyright (C) 2008-2009 Red Hat, Inc., Peter Zijlstra > * Copyright (C) 2009 Intel Corporation, <markus.t.metzger@xxxxxxxxx> > * Copyright (C) 2009 Google, Inc., Stephane Eranian > - * > - * For licencing details see kernel-base/COPYING > */ > > #include <linux/perf_event.h> > --- a/arch/x86/kernel/x86_init.c > +++ b/arch/x86/kernel/x86_init.c > @@ -1,7 +1,6 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * Copyright (C) 2009 Thomas Gleixner <tglx@xxxxxxxxxxxxx> > - * > - * For licencing details see kernel-base/COPYING > */ > #include <linux/init.h> > #include <linux/ioport.h> > --- a/arch/x86/lib/usercopy.c > +++ b/arch/x86/lib/usercopy.c > @@ -1,7 +1,6 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * User address space access functions. > - * > - * For licencing details see kernel-base/COPYING > */ > > #include <linux/uaccess.h> > --- a/drivers/input/touchscreen/tps6507x-ts.c > +++ b/drivers/input/touchscreen/tps6507x-ts.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * Touchscreen driver for the tps6507x chip. > * > @@ -7,8 +8,6 @@ > * > * Using code from tsc2007, MtekVision Co., Ltd. > * > - * For licencing details see kernel-base/COPYING > - * > * TPS65070, TPS65073, TPS650731, and TPS650732 support > * 10 bit touch screen interface. > */ > --- a/drivers/mfd/tps6507x.c > +++ b/drivers/mfd/tps6507x.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * tps6507x.c -- TPS6507x chip family multi-function driver > * > @@ -9,9 +10,6 @@ > * Credits: > * > * Using code from wm831x-*.c, wm8400-core, Wolfson Microelectronics PLC. > - * > - * For licencing details see kernel-base/COPYING > - * > */ > > #include <linux/module.h> > --- a/include/linux/input/tps6507x-ts.h > +++ b/include/linux/input/tps6507x-ts.h > @@ -1,11 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* linux/i2c/tps6507x-ts.h > * > * Functions to access TPS65070 touch screen chip. > * > * Copyright (c) 2009 RidgeRun (todd.fischer@xxxxxxxxxxxx) > - * > - * > - * For licencing details see kernel-base/COPYING > */ > > #ifndef __LINUX_I2C_TPS6507X_TS_H > --- a/include/linux/ktime.h > +++ b/include/linux/ktime.h > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* > * include/linux/ktime.h > * > @@ -15,8 +16,6 @@ > * Roman Zippel provided the ideas and primary code snippets of > * the ktime_t union and further simplifications of the original > * code. > - * > - * For licencing details see kernel-base/COPYING > */ > #ifndef _LINUX_KTIME_H > #define _LINUX_KTIME_H > --- a/include/linux/mfd/tps6507x.h > +++ b/include/linux/mfd/tps6507x.h > @@ -1,11 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* linux/mfd/tps6507x.h > * > * Functions to access TPS65070 power management chip. > * > * Copyright (c) 2009 RidgeRun (todd.fischer@xxxxxxxxxxxx) > - * > - * > - * For licencing details see kernel-base/COPYING > */ > > #ifndef __LINUX_MFD_TPS6507X_H > --- a/include/linux/perf_event.h > +++ b/include/linux/perf_event.h > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* > * Performance events: > * > @@ -8,8 +9,6 @@ > * Data type definitions, declarations, prototypes. > * > * Started by: Thomas Gleixner and Ingo Molnar > - * > - * For licencing details see kernel-base/COPYING > */ > #ifndef _LINUX_PERF_EVENT_H > #define _LINUX_PERF_EVENT_H > --- a/lib/debugobjects.c > +++ b/lib/debugobjects.c > @@ -1,11 +1,10 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * Generic infrastructure for lifetime debugging of objects. > * > * Started by Thomas Gleixner > * > * Copyright (C) 2008, Thomas Gleixner <tglx@xxxxxxxxxxxxx> > - * > - * For licencing details see kernel-base/COPYING > */ > > #define pr_fmt(fmt) "ODEBUG: " fmt > > Reviewed-By: Enrico Weigelt <info@xxxxxxxxx> -- Enrico Weigelt, metux IT consult Free software and Linux embedded engineering info@xxxxxxxxx -- +49-151-27565287