Reviewed-by: Allison Randal <allison@xxxxxxxxxxx> On 5/20/19 6:08 PM, Thomas Gleixner wrote: > Based on 1 normalized pattern(s): > > this program is free software you can redistribute it and or modify > it under the terms of the gnu general public license as published by > the free software foundation inc 53 temple place ste 330 boston ma > 02111 1307 usa either version 2 of the license or at your option any > later version incorporated herein by reference > > extracted by the scancode license scanner the SPDX license identifier > > GPL-2.0-or-later > > has been chosen to replace the boilerplate/reference in 13 file(s). > > Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx> > Cc: linux-spdx@xxxxxxxxxxxxxxx > > --- > https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=4a859872a681 > --- > arch/x86/boot/vesa.h | 7 +------ > include/linux/raid/pq.h | 7 +------ > lib/raid6/algos.c | 7 +------ > lib/raid6/avx2.c | 8 +------- > lib/raid6/avx512.c | 7 +------ > lib/raid6/mmx.c | 7 +------ > lib/raid6/recov.c | 7 +------ > lib/raid6/sse1.c | 7 +------ > lib/raid6/sse2.c | 7 +------ > lib/raid6/x86.h | 7 +------ > 10 files changed, 10 insertions(+), 61 deletions(-) > > --- a/arch/x86/boot/vesa.h > +++ b/arch/x86/boot/vesa.h > @@ -1,13 +1,8 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* ----------------------------------------------------------------------- * > * > * Copyright 1999-2007 H. Peter Anvin - All Rights Reserved > * > - * This program is free software; you can redistribute it and/or modify > - * it under the terms of the GNU General Public License as published by > - * the Free Software Foundation, Inc., 53 Temple Place Ste 330, > - * Boston MA 02111-1307, USA; either version 2 of the License, or > - * (at your option) any later version; incorporated herein by reference. > - * > * ----------------------------------------------------------------------- */ > > #ifndef BOOT_VESA_H > --- a/include/linux/raid/pq.h > +++ b/include/linux/raid/pq.h > @@ -1,13 +1,8 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* -*- linux-c -*- ------------------------------------------------------- * > * > * Copyright 2003 H. Peter Anvin - All Rights Reserved > * > - * This program is free software; you can redistribute it and/or modify > - * it under the terms of the GNU General Public License as published by > - * the Free Software Foundation, Inc., 53 Temple Place Ste 330, > - * Boston MA 02111-1307, USA; either version 2 of the License, or > - * (at your option) any later version; incorporated herein by reference. > - * > * ----------------------------------------------------------------------- */ > > #ifndef LINUX_RAID_RAID6_H > --- a/lib/raid6/algos.c > +++ b/lib/raid6/algos.c > @@ -1,13 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* -*- linux-c -*- ------------------------------------------------------- * > * > * Copyright 2002 H. Peter Anvin - All Rights Reserved > * > - * This program is free software; you can redistribute it and/or modify > - * it under the terms of the GNU General Public License as published by > - * the Free Software Foundation, Inc., 53 Temple Place Ste 330, > - * Boston MA 02111-1307, USA; either version 2 of the License, or > - * (at your option) any later version; incorporated herein by reference. > - * > * ----------------------------------------------------------------------- */ > > /* > --- a/lib/raid6/avx2.c > +++ b/lib/raid6/avx2.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* -*- linux-c -*- ------------------------------------------------------- * > * > * Copyright (C) 2012 Intel Corporation > @@ -5,13 +6,6 @@ > * > * Based on sse2.c: Copyright 2002 H. Peter Anvin - All Rights Reserved > * > - * > - * This program is free software; you can redistribute it and/or modify > - * it under the terms of the GNU General Public License as published by > - * the Free Software Foundation, Inc., 53 Temple Place Ste 330, > - * Boston MA 02111-1307, USA; either version 2 of the License, or > - * (at your option) any later version; incorporated herein by reference. > - * > * ----------------------------------------------------------------------- */ > > /* > --- a/lib/raid6/avx512.c > +++ b/lib/raid6/avx512.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* -*- linux-c -*- -------------------------------------------------------- > * > * Copyright (C) 2016 Intel Corporation > @@ -8,12 +9,6 @@ > * Based on avx2.c: Copyright 2012 Yuanhan Liu All Rights Reserved > * Based on sse2.c: Copyright 2002 H. Peter Anvin - All Rights Reserved > * > - * This program is free software; you can redistribute it and/or modify > - * it under the terms of the GNU General Public License as published by > - * the Free Software Foundation, Inc., 53 Temple Place Ste 330, > - * Boston MA 02111-1307, USA; either version 2 of the License, or > - * (at your option) any later version; incorporated herein by reference. > - * > * ----------------------------------------------------------------------- > */ > > --- a/lib/raid6/mmx.c > +++ b/lib/raid6/mmx.c > @@ -1,13 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* -*- linux-c -*- ------------------------------------------------------- * > * > * Copyright 2002 H. Peter Anvin - All Rights Reserved > * > - * This program is free software; you can redistribute it and/or modify > - * it under the terms of the GNU General Public License as published by > - * the Free Software Foundation, Inc., 53 Temple Place Ste 330, > - * Boston MA 02111-1307, USA; either version 2 of the License, or > - * (at your option) any later version; incorporated herein by reference. > - * > * ----------------------------------------------------------------------- */ > > /* > --- a/lib/raid6/recov.c > +++ b/lib/raid6/recov.c > @@ -1,13 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* -*- linux-c -*- ------------------------------------------------------- * > * > * Copyright 2002 H. Peter Anvin - All Rights Reserved > * > - * This program is free software; you can redistribute it and/or modify > - * it under the terms of the GNU General Public License as published by > - * the Free Software Foundation, Inc., 53 Temple Place Ste 330, > - * Boston MA 02111-1307, USA; either version 2 of the License, or > - * (at your option) any later version; incorporated herein by reference. > - * > * ----------------------------------------------------------------------- */ > > /* > --- a/lib/raid6/sse1.c > +++ b/lib/raid6/sse1.c > @@ -1,13 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* -*- linux-c -*- ------------------------------------------------------- * > * > * Copyright 2002 H. Peter Anvin - All Rights Reserved > * > - * This program is free software; you can redistribute it and/or modify > - * it under the terms of the GNU General Public License as published by > - * the Free Software Foundation, Inc., 53 Temple Place Ste 330, > - * Boston MA 02111-1307, USA; either version 2 of the License, or > - * (at your option) any later version; incorporated herein by reference. > - * > * ----------------------------------------------------------------------- */ > > /* > --- a/lib/raid6/sse2.c > +++ b/lib/raid6/sse2.c > @@ -1,13 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* -*- linux-c -*- ------------------------------------------------------- * > * > * Copyright 2002 H. Peter Anvin - All Rights Reserved > * > - * This program is free software; you can redistribute it and/or modify > - * it under the terms of the GNU General Public License as published by > - * the Free Software Foundation, Inc., 53 Temple Place Ste 330, > - * Boston MA 02111-1307, USA; either version 2 of the License, or > - * (at your option) any later version; incorporated herein by reference. > - * > * ----------------------------------------------------------------------- */ > > /* > --- a/lib/raid6/x86.h > +++ b/lib/raid6/x86.h > @@ -1,13 +1,8 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* ----------------------------------------------------------------------- * > * > * Copyright 2002-2004 H. Peter Anvin - All Rights Reserved > * > - * This program is free software; you can redistribute it and/or modify > - * it under the terms of the GNU General Public License as published by > - * the Free Software Foundation, Inc., 53 Temple Place Ste 330, > - * Boston MA 02111-1307, USA; either version 2 of the License, or > - * (at your option) any later version; incorporated herein by reference. > - * > * ----------------------------------------------------------------------- */ > > /* > > > >