Linux-SPDX Archive on lore.kernel.org
 help / color / Atom feed
* [patch 00/25] SPDX cleanup: batch 2
@ 2019-05-20 17:07 Thomas Gleixner
  2019-05-20 17:07 ` [patch 01/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 26 Thomas Gleixner
                   ` (24 more replies)
  0 siblings, 25 replies; 85+ messages in thread
From: Thomas Gleixner @ 2019-05-20 17:07 UTC (permalink / raw)
  To: linux-spdx

Folks,

here is another batch for review. Same procedure as with batch 1

Thanks,

	tglx




^ permalink raw reply	[flat|nested] 85+ messages in thread

* [patch 01/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 26
  2019-05-20 17:07 [patch 00/25] SPDX cleanup: batch 2 Thomas Gleixner
@ 2019-05-20 17:07 ` Thomas Gleixner
  2019-05-20 21:57   ` Allison Randal
  2019-05-20 23:46   ` Kate Stewart
  2019-05-20 17:07 ` [patch 02/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 27 Thomas Gleixner
                   ` (23 subsequent siblings)
  24 siblings, 2 replies; 85+ messages in thread
From: Thomas Gleixner @ 2019-05-20 17:07 UTC (permalink / raw)
  To: linux-spdx

Based on 1 normalized pattern(s):

  gnupg 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 either version 2 of the license or at
  your option any later version gnupg is distributed in the hope that
  it will be useful but without any warranty without even the implied
  warranty of merchantability or fitness for a particular purpose see
  the gnu general public license for more details you should have
  received a copy of the gnu general public license along with this
  program if not write to the free software foundation inc 59 temple
  place suite 330 boston ma 02111 1307 usa note this code is heavily
  based on the gnu mp library actually it s the same code with only
  minor changes in the way the data is stored this is to support the
  abstraction of an optional secure memory allocation which may be
  used to avoid revealing of sensitive data due to paging etc the gnu
  mp library itself is published under the lgpl however i decided to
  publish this code under the plain gpl

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

has been chosen to replace the boilerplate/reference in 14 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-spdx@vger.kernel.org

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=f3e4b7c812d3
---
 include/linux/mpi.h           |   15 +--------------
 lib/mpi/generic_mpih-add1.c   |   15 +--------------
 lib/mpi/generic_mpih-lshift.c |   15 +--------------
 lib/mpi/generic_mpih-mul1.c   |   15 +--------------
 lib/mpi/generic_mpih-mul2.c   |   15 +--------------
 lib/mpi/generic_mpih-mul3.c   |   15 +--------------
 lib/mpi/generic_mpih-rshift.c |   15 +--------------
 lib/mpi/generic_mpih-sub1.c   |   15 +--------------
 lib/mpi/mpi-inline.h          |   15 +--------------
 lib/mpi/mpi-internal.h        |   15 +--------------
 lib/mpi/mpi-pow.c             |   15 +--------------
 lib/mpi/mpih-cmp.c            |   15 +--------------
 lib/mpi/mpih-div.c            |   15 +--------------
 lib/mpi/mpih-mul.c            |   15 +--------------
 14 files changed, 14 insertions(+), 196 deletions(-)

--- a/include/linux/mpi.h
+++ b/include/linux/mpi.h
@@ -1,23 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* mpi.h  -  Multi Precision Integers
  *	Copyright (C) 1994, 1996, 1998, 1999,
  *                    2000, 2001 Free Software Foundation, Inc.
  *
  * This file is part of GNUPG.
  *
- * GNUPG 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * GNUPG is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
- *
  * Note: This code is heavily based on the GNU MP Library.
  *	 Actually it's the same code with only minor changes in the
  *	 way the data is stored; this is to support the abstraction
--- a/lib/mpi/generic_mpih-add1.c
+++ b/lib/mpi/generic_mpih-add1.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* mpihelp-add_1.c  -  MPI helper functions
  * Copyright (C) 1994, 1996, 1997, 1998,
  *               2000 Free Software Foundation, Inc.
  *
  * This file is part of GnuPG.
  *
- * GnuPG 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * GnuPG is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
- *
  * Note: This code is heavily based on the GNU MP Library.
  *	 Actually it's the same code with only minor changes in the
  *	 way the data is stored; this is to support the abstraction
--- a/lib/mpi/generic_mpih-lshift.c
+++ b/lib/mpi/generic_mpih-lshift.c
@@ -1,22 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* mpihelp-lshift.c  -	MPI helper functions
  * Copyright (C) 1994, 1996, 1998, 2001 Free Software Foundation, Inc.
  *
  * This file is part of GnuPG.
  *
- * GnuPG 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * GnuPG is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
- *
  * Note: This code is heavily based on the GNU MP Library.
  *	 Actually it's the same code with only minor changes in the
  *	 way the data is stored; this is to support the abstraction
--- a/lib/mpi/generic_mpih-mul1.c
+++ b/lib/mpi/generic_mpih-mul1.c
@@ -1,22 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* mpihelp-mul_1.c  -  MPI helper functions
  * Copyright (C) 1994, 1996, 1997, 1998, 2001 Free Software Foundation, Inc.
  *
  * This file is part of GnuPG.
  *
- * GnuPG 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * GnuPG is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
- *
  * Note: This code is heavily based on the GNU MP Library.
  *	 Actually it's the same code with only minor changes in the
  *	 way the data is stored; this is to support the abstraction
--- a/lib/mpi/generic_mpih-mul2.c
+++ b/lib/mpi/generic_mpih-mul2.c
@@ -1,22 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* mpihelp-mul_2.c  -  MPI helper functions
  * Copyright (C) 1994, 1996, 1997, 1998, 2001 Free Software Foundation, Inc.
  *
  * This file is part of GnuPG.
  *
- * GnuPG 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * GnuPG is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
- *
  * Note: This code is heavily based on the GNU MP Library.
  *	 Actually it's the same code with only minor changes in the
  *	 way the data is stored; this is to support the abstraction
--- a/lib/mpi/generic_mpih-mul3.c
+++ b/lib/mpi/generic_mpih-mul3.c
@@ -1,22 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* mpihelp-mul_3.c  -  MPI helper functions
  * Copyright (C) 1994, 1996, 1997, 1998, 2001 Free Software Foundation, Inc.
  *
  * This file is part of GnuPG.
  *
- * GnuPG 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * GnuPG is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
- *
  * Note: This code is heavily based on the GNU MP Library.
  *	 Actually it's the same code with only minor changes in the
  *	 way the data is stored; this is to support the abstraction
--- a/lib/mpi/generic_mpih-rshift.c
+++ b/lib/mpi/generic_mpih-rshift.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* mpih-rshift.c  -  MPI helper functions
  * Copyright (C) 1994, 1996, 1998, 1999,
  *               2000, 2001 Free Software Foundation, Inc.
  *
  * This file is part of GNUPG
  *
- * GNUPG 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * GNUPG is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
- *
  * Note: This code is heavily based on the GNU MP Library.
  *	 Actually it's the same code with only minor changes in the
  *	 way the data is stored; this is to support the abstraction
--- a/lib/mpi/generic_mpih-sub1.c
+++ b/lib/mpi/generic_mpih-sub1.c
@@ -1,22 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* mpihelp-add_2.c  -  MPI helper functions
  * Copyright (C) 1994, 1996, 1997, 1998, 2001 Free Software Foundation, Inc.
  *
  * This file is part of GnuPG.
  *
- * GnuPG 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * GnuPG is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
- *
  * Note: This code is heavily based on the GNU MP Library.
  *	 Actually it's the same code with only minor changes in the
  *	 way the data is stored; this is to support the abstraction
--- a/lib/mpi/mpi-inline.h
+++ b/lib/mpi/mpi-inline.h
@@ -1,22 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* mpi-inline.h  -  Internal to the Multi Precision Integers
  *	Copyright (C) 1994, 1996, 1998, 1999 Free Software Foundation, Inc.
  *
  * This file is part of GnuPG.
  *
- * GnuPG 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * GnuPG is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
- *
  * Note: This code is heavily based on the GNU MP Library.
  *	 Actually it's the same code with only minor changes in the
  *	 way the data is stored; this is to support the abstraction
--- a/lib/mpi/mpi-internal.h
+++ b/lib/mpi/mpi-internal.h
@@ -1,23 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* mpi-internal.h  -  Internal to the Multi Precision Integers
  *	Copyright (C) 1994, 1996 Free Software Foundation, Inc.
  *	Copyright (C) 1998, 2000 Free Software Foundation, Inc.
  *
  * This file is part of GnuPG.
  *
- * GnuPG 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * GnuPG is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
- *
  * Note: This code is heavily based on the GNU MP Library.
  *	 Actually it's the same code with only minor changes in the
  *	 way the data is stored; this is to support the abstraction
--- a/lib/mpi/mpi-pow.c
+++ b/lib/mpi/mpi-pow.c
@@ -1,22 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* mpi-pow.c  -  MPI functions
  *	Copyright (C) 1994, 1996, 1998, 2000 Free Software Foundation, Inc.
  *
  * This file is part of GnuPG.
  *
- * GnuPG 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * GnuPG is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
- *
  * Note: This code is heavily based on the GNU MP Library.
  *	 Actually it's the same code with only minor changes in the
  *	 way the data is stored; this is to support the abstraction
--- a/lib/mpi/mpih-cmp.c
+++ b/lib/mpi/mpih-cmp.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* mpihelp-sub.c  -  MPI helper functions
  *	Copyright (C) 1994, 1996 Free Software Foundation, Inc.
  *	Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
  *
  * This file is part of GnuPG.
  *
- * GnuPG 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * GnuPG is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
- *
  * Note: This code is heavily based on the GNU MP Library.
  *	 Actually it's the same code with only minor changes in the
  *	 way the data is stored; this is to support the abstraction
--- a/lib/mpi/mpih-div.c
+++ b/lib/mpi/mpih-div.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* mpihelp-div.c  -  MPI helper functions
  *	Copyright (C) 1994, 1996 Free Software Foundation, Inc.
  *	Copyright (C) 1998, 1999 Free Software Foundation, Inc.
  *
  * This file is part of GnuPG.
  *
- * GnuPG 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * GnuPG is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
- *
  * Note: This code is heavily based on the GNU MP Library.
  *	 Actually it's the same code with only minor changes in the
  *	 way the data is stored; this is to support the abstraction
--- a/lib/mpi/mpih-mul.c
+++ b/lib/mpi/mpih-mul.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* mpihelp-mul.c  -  MPI helper functions
  * Copyright (C) 1994, 1996, 1998, 1999,
  *               2000 Free Software Foundation, Inc.
  *
  * This file is part of GnuPG.
  *
- * GnuPG 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * GnuPG is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
- *
  * Note: This code is heavily based on the GNU MP Library.
  *	 Actually it's the same code with only minor changes in the
  *	 way the data is stored; this is to support the abstraction





^ permalink raw reply	[flat|nested] 85+ messages in thread

* [patch 02/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 27
  2019-05-20 17:07 [patch 00/25] SPDX cleanup: batch 2 Thomas Gleixner
  2019-05-20 17:07 ` [patch 01/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 26 Thomas Gleixner
@ 2019-05-20 17:07 ` Thomas Gleixner
  2019-05-20 21:58   ` Allison Randal
  2019-05-20 23:47   ` Kate Stewart
  2019-05-20 17:07 ` [patch 03/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 28 Thomas Gleixner
                   ` (22 subsequent siblings)
  24 siblings, 2 replies; 85+ messages in thread
From: Thomas Gleixner @ 2019-05-20 17:07 UTC (permalink / raw)
  To: linux-spdx

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 either version 2 of the named license
  or any later version this program is distributed in the hope that it
  will be useful but without any warranty without even the implied
  warranty of merchantability or fitness for a particular purpose see
  the gnu general public license for more details you should have
  received a copy of the gnu general public license along with this
  program if not write to the free software foundation inc 59 temple
  place suite 330 boston ma 02111 1307 usa

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

has been chosen to replace the boilerplate/reference in 7 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-spdx@vger.kernel.org

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=5a6f88a6c50b
---
 drivers/video/fbdev/sis/initextlfb.c |   15 +--------------
 drivers/video/fbdev/sis/sis.h        |   15 +--------------
 drivers/video/fbdev/sis/sis_accel.c  |   15 +--------------
 drivers/video/fbdev/sis/sis_accel.h  |   15 +--------------
 drivers/video/fbdev/sis/sis_main.c   |   16 +---------------
 drivers/video/fbdev/sis/sis_main.h   |   15 +--------------
 include/video/sisfb.h                |   15 +--------------
 7 files changed, 7 insertions(+), 99 deletions(-)

--- a/drivers/video/fbdev/sis/initextlfb.c
+++ b/drivers/video/fbdev/sis/initextlfb.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * SiS 300/540/630[S]/730[S]
  * SiS 315[E|PRO]/550/[M]65x/[M]66x[F|M|G]X/[M]74x[GX]/330/[M]76x[GX]
@@ -8,20 +9,6 @@
  *
  * Copyright (C) 2001-2005 Thomas Winischhofer, Vienna, Austria.
  *
- * 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; either version 2 of the named License,
- * or any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
- *
  * Author:	Thomas Winischhofer <thomas@winischhofer.net>
  */
 
--- a/drivers/video/fbdev/sis/sis.h
+++ b/drivers/video/fbdev/sis/sis.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * SiS 300/540/630[S]/730[S],
  * SiS 315[E|PRO]/550/[M]65x/[M]661[F|M]X/740/[M]741[GX]/330/[M]76x[GX],
@@ -5,20 +6,6 @@
  * frame buffer driver for Linux kernels >=2.4.14 and >=2.6.3
  *
  * Copyright (C) 2001-2005 Thomas Winischhofer, Vienna, Austria.
- *
- * 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; either version 2 of the named License,
- * or any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
  */
 
 #ifndef _SIS_H_
--- a/drivers/video/fbdev/sis/sis_accel.c
+++ b/drivers/video/fbdev/sis/sis_accel.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * SiS 300/540/630[S]/730[S],
  * SiS 315[E|PRO]/550/[M]650/651/[M]661[F|M]X/740/[M]741[GX]/330/[M]760[GX],
@@ -6,20 +7,6 @@
  *
  * 2D acceleration part
  *
- * 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; either version 2 of the named License,
- * or any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
- *
  * Based on the XFree86/X.org driver which is
  *     Copyright (C) 2001-2005 by Thomas Winischhofer, Vienna, Austria
  *
--- a/drivers/video/fbdev/sis/sis_accel.h
+++ b/drivers/video/fbdev/sis/sis_accel.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * SiS 300/540/630[S]/730[S],
  * SiS 315[E|PRO]/550/[M]650/651/[M]661[F|M]X/740/[M]741[GX]/330/[M]760[GX],
@@ -6,20 +7,6 @@
  *
  * 2D acceleration part
  *
- * 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; either version 2 of the named License,
- * or any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
- *
  * Based on the X driver's sis300_accel.h which is
  *     Copyright (C) 2001-2004 by Thomas Winischhofer, Vienna, Austria
  * and sis310_accel.h which is
--- a/drivers/video/fbdev/sis/sis_main.c
+++ b/drivers/video/fbdev/sis/sis_main.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * SiS 300/540/630[S]/730[S],
  * SiS 315[E|PRO]/550/[M]65x/[M]66x[F|M|G]X/[M]74x[GX]/330/[M]76x[GX],
@@ -6,20 +7,6 @@
  *
  * Copyright (C) 2001-2005 Thomas Winischhofer, Vienna, Austria.
  *
- * 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; either version 2 of the named License,
- * or any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
- *
  * Author:	Thomas Winischhofer <thomas@winischhofer.net>
  *
  * Author of (practically wiped) code base:
@@ -30,7 +17,6 @@
  *
  * Originally based on the VBE 2.0 compliant graphic boards framebuffer driver,
  * which is (c) 1998 Gerd Knorr <kraxel@goldbach.in-berlin.de>
- *
  */
 
 #include <linux/module.h>
--- a/drivers/video/fbdev/sis/sis_main.h
+++ b/drivers/video/fbdev/sis/sis_main.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * SiS 300/305/540/630(S)/730(S),
  * SiS 315[E|PRO]/550/[M]65x/[M]66x[F|M|G]X/[M]74x[GX]/330/[M]76x[GX],
@@ -5,20 +6,6 @@
  * frame buffer driver for Linux kernels >=2.4.14 and >=2.6.3
  *
  * Copyright (C) 2001-2005 Thomas Winischhofer, Vienna, Austria.
- *
- * 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; either version 2 of the named License,
- * or any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
  */
 
 #ifndef _SISFB_MAIN
--- a/include/video/sisfb.h
+++ b/include/video/sisfb.h
@@ -1,21 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * sisfb.h - definitions for the SiS framebuffer driver
  *
  * Copyright (C) 2001-2005 by Thomas Winischhofer, Vienna, Austria.
- *
- * 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; either version 2 of the named License,
- * or any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
  */
 #ifndef _LINUX_SISFB_H_
 #define _LINUX_SISFB_H_





^ permalink raw reply	[flat|nested] 85+ messages in thread

* [patch 03/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 28
  2019-05-20 17:07 [patch 00/25] SPDX cleanup: batch 2 Thomas Gleixner
  2019-05-20 17:07 ` [patch 01/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 26 Thomas Gleixner
  2019-05-20 17:07 ` [patch 02/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 27 Thomas Gleixner
@ 2019-05-20 17:07 ` Thomas Gleixner
  2019-05-20 21:59   ` Allison Randal
  2019-05-20 23:48   ` Kate Stewart
  2019-05-20 17:07 ` [patch 04/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 29 Thomas Gleixner
                   ` (21 subsequent siblings)
  24 siblings, 2 replies; 85+ messages in thread
From: Thomas Gleixner @ 2019-05-20 17:07 UTC (permalink / raw)
  To: linux-spdx

Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the term of the gnu general public license as published by
  the free software foundation either version 2 of the license or at
  your option any later version this program is distributed in the
  hope that it will be useful but without any warranty without even
  the implied warranty of merchantability or fitness for a particular
  purpose see the gnu general public license for more details you
  should have received a copy of the gnu general public license along
  with this program if not write to the free software foundation inc
  59 temple place suite 330 boston ma 02111 1307 usa

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

has been chosen to replace the boilerplate/reference in 1 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-spdx@vger.kernel.org

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=4bc45d08a045
---
 drivers/input/touchscreen/s3c2410_ts.c |   15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)

--- a/drivers/input/touchscreen/s3c2410_ts.c
+++ b/drivers/input/touchscreen/s3c2410_ts.c
@@ -1,20 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Samsung S3C24XX touchscreen driver
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the term of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
  * Copyright 2004 Arnaud Patard <arnaud.patard@rtp-net.org>
  * Copyright 2008 Ben Dooks <ben-linux@fluff.org>
  * Copyright 2009 Simtec Electronics <linux@simtec.co.uk>





^ permalink raw reply	[flat|nested] 85+ messages in thread

* [patch 04/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 29
  2019-05-20 17:07 [patch 00/25] SPDX cleanup: batch 2 Thomas Gleixner
                   ` (2 preceding siblings ...)
  2019-05-20 17:07 ` [patch 03/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 28 Thomas Gleixner
@ 2019-05-20 17:07 ` Thomas Gleixner
  2019-05-20 22:05   ` Allison Randal
  2019-05-20 23:49   ` Kate Stewart
  2019-05-20 17:07 ` [patch 05/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 30 Thomas Gleixner
                   ` (20 subsequent siblings)
  24 siblings, 2 replies; 85+ messages in thread
From: Thomas Gleixner @ 2019-05-20 17:07 UTC (permalink / raw)
  To: linux-spdx

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 either version 2 of the license or at
  your option any later version this program is distributed in the
  hope that it will be useful but without any warranty without even
  the implied warranty of merchantability or fitness for a particular
  purpose see the gnu general public license for more details you
  should have received a copy of the gnu general public license along
  with this program see the file copying if not write to the free
  software foundation inc 59 temple place suite 330 boston ma 02111
  1307 usa

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

has been chosen to replace the boilerplate/reference in 5 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-spdx@vger.kernel.org

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=0a851c6f11d4
---
 sound/pci/lx6464es/lx6464es.c |   18 +-----------------
 sound/pci/lx6464es/lx6464es.h |   18 +-----------------
 sound/pci/lx6464es/lx_core.c  |   17 +----------------
 sound/pci/lx6464es/lx_core.h  |   17 +----------------
 sound/pci/lx6464es/lx_defs.h  |   17 +----------------
 5 files changed, 5 insertions(+), 82 deletions(-)

--- a/sound/pci/lx6464es/lx6464es.c
+++ b/sound/pci/lx6464es/lx6464es.c
@@ -1,25 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* -*- linux-c -*- *
  *
  * ALSA driver for the digigram lx6464es interface
  *
  * Copyright (c) 2008, 2009 Tim Blechmann <tim@klingt.org>
- *
- *
- * 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; see the file COPYING.  If not, write to
- * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
- *
  */
 
 #include <linux/module.h>
--- a/sound/pci/lx6464es/lx6464es.h
+++ b/sound/pci/lx6464es/lx6464es.h
@@ -1,25 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* -*- linux-c -*- *
  *
  * ALSA driver for the digigram lx6464es interface
  *
  * Copyright (c) 2009 Tim Blechmann <tim@klingt.org>
- *
- *
- * 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; see the file COPYING.  If not, write to
- * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
- *
  */
 
 #ifndef LX6464ES_H
--- a/sound/pci/lx6464es/lx_core.c
+++ b/sound/pci/lx6464es/lx_core.c
@@ -1,25 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* -*- linux-c -*- *
  *
  * ALSA driver for the digigram lx6464es interface
  * low-level interface
  *
  * Copyright (c) 2009 Tim Blechmann <tim@klingt.org>
- *
- * 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; see the file COPYING.  If not, write to
- * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
- *
  */
 
 /* #define RMH_DEBUG 1 */
--- a/sound/pci/lx6464es/lx_core.h
+++ b/sound/pci/lx6464es/lx_core.h
@@ -1,25 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* -*- linux-c -*- *
  *
  * ALSA driver for the digigram lx6464es interface
  * low-level interface
  *
  * Copyright (c) 2009 Tim Blechmann <tim@klingt.org>
- *
- * 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; see the file COPYING.  If not, write to
- * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
- *
  */
 
 #ifndef LX_CORE_H
--- a/sound/pci/lx6464es/lx_defs.h
+++ b/sound/pci/lx6464es/lx_defs.h
@@ -1,25 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* -*- linux-c -*- *
  *
  * ALSA driver for the digigram lx6464es interface
  * adapted upstream headers
  *
  * Copyright (c) 2009 Tim Blechmann <tim@klingt.org>
- *
- * 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; see the file COPYING.  If not, write to
- * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
- *
  */
 
 #ifndef LX_DEFS_H





^ permalink raw reply	[flat|nested] 85+ messages in thread

* [patch 05/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 30
  2019-05-20 17:07 [patch 00/25] SPDX cleanup: batch 2 Thomas Gleixner
                   ` (3 preceding siblings ...)
  2019-05-20 17:07 ` [patch 04/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 29 Thomas Gleixner
@ 2019-05-20 17:07 ` Thomas Gleixner
  2019-05-20 22:06   ` Allison Randal
  2019-05-20 23:49   ` Kate Stewart
  2019-05-20 17:07 ` [patch 06/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 31 Thomas Gleixner
                   ` (19 subsequent siblings)
  24 siblings, 2 replies; 85+ messages in thread
From: Thomas Gleixner @ 2019-05-20 17:07 UTC (permalink / raw)
  To: linux-spdx

Based on 1 normalized pattern(s):

  this module 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 either version 2 of the license or at
  your option any later version this module is distributed in the hope
  that it will be useful but without any warranty without even the
  implied warranty of merchantability or fitness for a particular
  purpose see the gnu general public license for more details you
  should have received a copy of the gnu general public license along
  with this module if not write to the free software foundation inc 59
  temple place suite 330 boston ma 02111 1307 usa

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

has been chosen to replace the boilerplate/reference in 1 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-spdx@vger.kernel.org

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=853618d88ebd
---
 drivers/block/cryptoloop.c |   14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)

--- a/drivers/block/cryptoloop.c
+++ b/drivers/block/cryptoloop.c
@@ -1,22 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
    Linux loop encryption enabling module
 
    Copyright (C)  2002 Herbert Valerio Riedel <hvr@gnu.org>
    Copyright (C)  2003 Fruhwirth Clemens <clemens@endorphin.org>
 
-   This module 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; either version 2 of the License, or
-   (at your option) any later version.
-
-   This module is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
-
-   You should have received a copy of the GNU General Public License
-   along with this module; if not, write to the Free Software
-   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
 #include <linux/module.h>





^ permalink raw reply	[flat|nested] 85+ messages in thread

* [patch 06/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 31
  2019-05-20 17:07 [patch 00/25] SPDX cleanup: batch 2 Thomas Gleixner
                   ` (4 preceding siblings ...)
  2019-05-20 17:07 ` [patch 05/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 30 Thomas Gleixner
@ 2019-05-20 17:07 ` Thomas Gleixner
  2019-05-20 22:07   ` Allison Randal
  2019-05-20 23:50   ` Kate Stewart
  2019-05-20 17:07 ` [patch 07/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 32 Thomas Gleixner
                   ` (18 subsequent siblings)
  24 siblings, 2 replies; 85+ messages in thread
From: Thomas Gleixner @ 2019-05-20 17:07 UTC (permalink / raw)
  To: linux-spdx

Based on 1 normalized pattern(s):

  this program is free warftware you can redistribute it and or modify
  it under the terms of the gnu general public license as published by
  the free software foundation either version 2 of the license or at
  your option any later version this program is distributed in the
  hope that it will be useful but without any warranty without even
  the implied warranty of merchantability or fitness for a particular
  purpose see the gnu general public license for more details you
  should have received a copy of the gnu general public license along
  with this program if not write to the free software foundation inc
  59 temple place suite 330 boston ma 02111 1307 usa

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

has been chosen to replace the boilerplate/reference in 2 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-spdx@vger.kernel.org

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=7695c45c41ae
---
 drivers/input/joystick/stinger.c |   14 +-------------
 drivers/input/joystick/warrior.c |   14 +-------------
 2 files changed, 2 insertions(+), 26 deletions(-)

--- a/drivers/input/joystick/stinger.c
+++ b/drivers/input/joystick/stinger.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *  Copyright (c) 2000-2001 Vojtech Pavlik
  *  Copyright (c) 2000 Mark Fletcher
@@ -8,19 +9,6 @@
  */
 
 /*
- * This program is free warftware; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  */
 
 #include <linux/kernel.h>
--- a/drivers/input/joystick/warrior.c
+++ b/drivers/input/joystick/warrior.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *  Copyright (c) 1999-2001 Vojtech Pavlik
  */
@@ -7,19 +8,6 @@
  */
 
 /*
- * This program is free warftware; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  */
 
 #include <linux/kernel.h>





^ permalink raw reply	[flat|nested] 85+ messages in thread

* [patch 07/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 32
  2019-05-20 17:07 [patch 00/25] SPDX cleanup: batch 2 Thomas Gleixner
                   ` (5 preceding siblings ...)
  2019-05-20 17:07 ` [patch 06/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 31 Thomas Gleixner
@ 2019-05-20 17:07 ` Thomas Gleixner
  2019-05-20 22:09   ` Allison Randal
  2019-05-20 23:42   ` Kate Stewart
  2019-05-20 17:07 ` [patch 08/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 33 Thomas Gleixner
                   ` (17 subsequent siblings)
  24 siblings, 2 replies; 85+ messages in thread
From: Thomas Gleixner @ 2019-05-20 17:07 UTC (permalink / raw)
  To: linux-spdx

Based on 1 normalized pattern(s):

  this driver 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 either version 2 of the license or at
  your option any later version this driver is distributed in the hope
  that it will be useful but without any warranty without even the
  implied warranty of merchantability or fitness for a particular
  purpose see the gnu general public license for more details you
  should have received a copy of the gnu general public license along
  with this program if not write to the free software foundation inc
  59 temple place suite 330 boston ma 02111 1307 usa

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

has been chosen to replace the boilerplate/reference in 18 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-spdx@vger.kernel.org

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=a8a27be6da30
---
 include/sound/hda_hwdep.h      |   15 +--------------
 sound/pci/bt87x.c              |   16 +---------------
 sound/pci/hda/ca0132_regs.h    |   15 +--------------
 sound/pci/hda/hda_codec.c      |   16 +---------------
 sound/pci/hda/hda_eld.c        |   15 +--------------
 sound/pci/hda/hda_generic.c    |   15 +--------------
 sound/pci/hda/hda_hwdep.c      |   15 +--------------
 sound/pci/hda/hda_proc.c       |   16 +---------------
 sound/pci/hda/patch_analog.c   |   15 +--------------
 sound/pci/hda/patch_ca0110.c   |   15 +--------------
 sound/pci/hda/patch_ca0132.c   |   15 +--------------
 sound/pci/hda/patch_cirrus.c   |   15 +--------------
 sound/pci/hda/patch_cmedia.c   |   16 +---------------
 sound/pci/hda/patch_conexant.c |   15 +--------------
 sound/pci/hda/patch_realtek.c  |   15 +--------------
 sound/pci/hda/patch_si3054.c   |   16 +---------------
 sound/pci/hda/patch_sigmatel.c |   15 +--------------
 sound/pci/hda/patch_via.c      |   15 +--------------
 18 files changed, 18 insertions(+), 257 deletions(-)

--- a/include/sound/hda_hwdep.h
+++ b/include/sound/hda_hwdep.h
@@ -1,21 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * HWDEP Interface for HD-audio codec
  *
  * Copyright (c) 2007 Takashi Iwai <tiwai@suse.de>
- *
- *  This driver 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; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  This driver is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  */
 
 #ifndef __SOUND_HDA_HWDEP_H
--- a/sound/pci/bt87x.c
+++ b/sound/pci/bt87x.c
@@ -1,24 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * bt87x.c - Brooktree Bt878/Bt879 driver for ALSA
  *
  * Copyright (c) Clemens Ladisch <clemens@ladisch.de>
  *
  * based on btaudio.c by Gerd Knorr <kraxel@bytesex.org>
- *
- *
- *  This driver 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; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  This driver is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  */
 
 #include <linux/init.h>
--- a/sound/pci/hda/ca0132_regs.h
+++ b/sound/pci/hda/ca0132_regs.h
@@ -1,22 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * HD audio interface patch for Creative CA0132 chip.
  * CA0132 registers defines.
  *
  * Copyright (c) 2011, Creative Technology Ltd.
- *
- *  This driver 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; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  This driver is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  */
 
 #ifndef __CA0132_REGS_H
--- a/sound/pci/hda/hda_codec.c
+++ b/sound/pci/hda/hda_codec.c
@@ -1,22 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Universal Interface for Intel High Definition Audio Codec
  *
  * Copyright (c) 2004 Takashi Iwai <tiwai@suse.de>
- *
- *
- *  This driver 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; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  This driver is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  */
 
 #include <linux/init.h>
--- a/sound/pci/hda/hda_eld.c
+++ b/sound/pci/hda/hda_eld.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Generic routines and proc interface for ELD(EDID Like Data) information
  *
@@ -6,20 +7,6 @@
  *
  * Authors:
  * 		Wu Fengguang <wfg@linux.intel.com>
- *
- *  This driver 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; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  This driver is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  */
 
 #include <linux/init.h>
--- a/sound/pci/hda/hda_generic.c
+++ b/sound/pci/hda/hda_generic.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Universal Interface for Intel High Definition Audio Codec
  *
  * Generic widget tree parser
  *
  * Copyright (c) 2004 Takashi Iwai <tiwai@suse.de>
- *
- *  This driver 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; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  This driver is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  */
 
 #include <linux/init.h>
--- a/sound/pci/hda/hda_hwdep.c
+++ b/sound/pci/hda/hda_hwdep.c
@@ -1,21 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * HWDEP Interface for HD-audio codec
  *
  * Copyright (c) 2007 Takashi Iwai <tiwai@suse.de>
- *
- *  This driver 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; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  This driver is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  */
 
 #include <linux/init.h>
--- a/sound/pci/hda/hda_proc.c
+++ b/sound/pci/hda/hda_proc.c
@@ -1,24 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Universal Interface for Intel High Definition Audio Codec
  * 
  * Generic proc interface
  *
  * Copyright (c) 2004 Takashi Iwai <tiwai@suse.de>
- *
- *
- *  This driver 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; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  This driver is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  */
 
 #include <linux/init.h>
--- a/sound/pci/hda/patch_analog.c
+++ b/sound/pci/hda/patch_analog.c
@@ -1,22 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * HD audio interface patch for AD1882, AD1884, AD1981HD, AD1983, AD1984,
  *   AD1986A, AD1988
  *
  * Copyright (c) 2005-2007 Takashi Iwai <tiwai@suse.de>
- *
- *  This driver 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; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  This driver is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  */
 
 #include <linux/init.h>
--- a/sound/pci/hda/patch_ca0110.c
+++ b/sound/pci/hda/patch_ca0110.c
@@ -1,21 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * HD audio interface patch for Creative X-Fi CA0110-IBG chip
  *
  * Copyright (c) 2008 Takashi Iwai <tiwai@suse.de>
- *
- *  This driver 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; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  This driver is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  */
 
 #include <linux/init.h>
--- a/sound/pci/hda/patch_ca0132.c
+++ b/sound/pci/hda/patch_ca0132.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * HD audio interface patch for Creative CA0132 chip
  *
@@ -5,20 +6,6 @@
  *
  * Based on patch_ca0110.c
  * Copyright (c) 2008 Takashi Iwai <tiwai@suse.de>
- *
- *  This driver 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; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  This driver is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  */
 
 #include <linux/init.h>
--- a/sound/pci/hda/patch_cirrus.c
+++ b/sound/pci/hda/patch_cirrus.c
@@ -1,21 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * HD audio interface patch for Cirrus Logic CS420x chip
  *
  * Copyright (c) 2009 Takashi Iwai <tiwai@suse.de>
- *
- *  This driver 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; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  This driver is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  */
 
 #include <linux/init.h>
--- a/sound/pci/hda/patch_cmedia.c
+++ b/sound/pci/hda/patch_cmedia.c
@@ -1,24 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Universal Interface for Intel High Definition Audio Codec
  *
  * HD audio interface patch for C-Media CMI9880
  *
  * Copyright (c) 2004 Takashi Iwai <tiwai@suse.de>
- *
- *
- *  This driver 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; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  This driver is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  */
 
 #include <linux/init.h>
--- a/sound/pci/hda/patch_conexant.c
+++ b/sound/pci/hda/patch_conexant.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * HD audio interface patch for Conexant HDA audio codec
  *
  * Copyright (c) 2006 Pototskiy Akex <alex.pototskiy@gmail.com>
  * 		      Takashi Iwai <tiwai@suse.de>
  * 		      Tobin Davis  <tdavis@dsl-only.net>
- *
- *  This driver 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; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  This driver is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  */
 
 #include <linux/init.h>
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Universal Interface for Intel High Definition Audio Codec
  *
@@ -7,20 +8,6 @@
  *                    PeiSen Hou <pshou@realtek.com.tw>
  *                    Takashi Iwai <tiwai@suse.de>
  *                    Jonathan Woithe <jwoithe@just42.net>
- *
- *  This driver 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; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  This driver is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  */
 
 #include <linux/init.h>
--- a/sound/pci/hda/patch_si3054.c
+++ b/sound/pci/hda/patch_si3054.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Universal Interface for Intel High Definition Audio Codec
  *
@@ -5,21 +6,6 @@
  *
  * Copyright (c) 2005 Sasha Khapyorsky <sashak@alsa-project.org>
  *                    Takashi Iwai <tiwai@suse.de>
- *
- *
- *  This driver 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; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  This driver is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  */
 
 #include <linux/init.h>
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Universal Interface for Intel High Definition Audio Codec
  *
@@ -8,20 +9,6 @@
  *
  * Based on patch_cmedia.c and patch_realtek.c
  * Copyright (c) 2004 Takashi Iwai <tiwai@suse.de>
- *
- *  This driver 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; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  This driver is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  */
 
 #include <linux/init.h>
--- a/sound/pci/hda/patch_via.c
+++ b/sound/pci/hda/patch_via.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Universal Interface for Intel High Definition Audio Codec
  *
@@ -5,20 +6,6 @@
  *
  *  (C) 2006-2009 VIA Technology, Inc.
  *  (C) 2006-2008 Takashi Iwai <tiwai@suse.de>
- *
- *  This driver 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; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  This driver is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  */
 
 /* * * * * * * * * * * * * * Release History * * * * * * * * * * * * * * * * */





^ permalink raw reply	[flat|nested] 85+ messages in thread

* [patch 08/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 33
  2019-05-20 17:07 [patch 00/25] SPDX cleanup: batch 2 Thomas Gleixner
                   ` (6 preceding siblings ...)
  2019-05-20 17:07 ` [patch 07/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 32 Thomas Gleixner
@ 2019-05-20 17:07 ` Thomas Gleixner
  2019-05-20 22:10   ` Allison Randal
                     ` (3 more replies)
  2019-05-20 17:07 ` [patch 09/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 34 Thomas Gleixner
                   ` (16 subsequent siblings)
  24 siblings, 4 replies; 85+ messages in thread
From: Thomas Gleixner @ 2019-05-20 17:07 UTC (permalink / raw)
  To: linux-spdx

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 either version 2 of the license or at
  your option any later version this program is distributed in the
  hope that it will be useful but without any warranty without even
  the implied warranty of merchantability or fitness for a particular
  purpose see the gnu general public license for more details you
  should have received a copy of the gnu general public license along
  with this program if not write to the free software foundation inc
  59 temple place suite 330 boston ma 02111 1307 usa the full gnu
  general public license is included in this distribution in the file
  called copying

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

has been chosen to replace the boilerplate/reference in 7 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-spdx@vger.kernel.org

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=413dec71a1fe
---
 arch/powerpc/include/asm/async_tx.h      |   18 +-----------------
 crypto/async_tx/async_pq.c               |   18 +-----------------
 drivers/dca/dca-core.c                   |   18 +-----------------
 drivers/dca/dca-sysfs.c                  |   18 +-----------------
 drivers/net/ethernet/atheros/atlx/atl1.c |   18 +-----------------
 include/linux/dca.h                      |   18 +-----------------
 sound/spi/at73c213.h                     |   19 +------------------
 7 files changed, 7 insertions(+), 120 deletions(-)

--- a/arch/powerpc/include/asm/async_tx.h
+++ b/arch/powerpc/include/asm/async_tx.h
@@ -1,24 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright (C) 2008-2009 DENX Software Engineering.
  *
  * Author: Yuri Tikhonov <yur@emcraft.com>
- *
- * 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; either version 2 of the License, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc., 59
- * Temple Place - Suite 330, Boston, MA  02111-1307, USA.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called COPYING.
  */
 #ifndef _ASM_POWERPC_ASYNC_TX_H_
 #define _ASM_POWERPC_ASYNC_TX_H_
--- a/crypto/async_tx/async_pq.c
+++ b/crypto/async_tx/async_pq.c
@@ -1,23 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright(c) 2007 Yuri Tikhonov <yur@emcraft.com>
  * Copyright(c) 2009 Intel Corporation
- *
- * 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; either version 2 of the License, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc., 59
- * Temple Place - Suite 330, Boston, MA  02111-1307, USA.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called COPYING.
  */
 #include <linux/kernel.h>
 #include <linux/interrupt.h>
--- a/drivers/dca/dca-core.c
+++ b/drivers/dca/dca-core.c
@@ -1,22 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright(c) 2007 - 2009 Intel Corporation. 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; either version 2 of the License, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc., 59
- * Temple Place - Suite 330, Boston, MA  02111-1307, USA.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called COPYING.
  */
 
 /*
--- a/drivers/dca/dca-sysfs.c
+++ b/drivers/dca/dca-sysfs.c
@@ -1,22 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright(c) 2007 - 2009 Intel Corporation. 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; either version 2 of the License, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc., 59
- * Temple Place - Suite 330, Boston, MA  02111-1307, USA.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called COPYING.
  */
 
 #include <linux/kernel.h>
--- a/drivers/net/ethernet/atheros/atlx/atl1.c
+++ b/drivers/net/ethernet/atheros/atlx/atl1.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright(c) 2005 - 2006 Attansic Corporation. All rights reserved.
  * Copyright(c) 2006 - 2007 Chris Snook <csnook@redhat.com>
@@ -6,23 +7,6 @@
  * Derived from Intel e1000 driver
  * Copyright(c) 1999 - 2005 Intel Corporation. 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; either version 2 of the License, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc., 59
- * Temple Place - Suite 330, Boston, MA  02111-1307, USA.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called COPYING.
- *
  * Contact Information:
  * Xiong Huang <xiong.huang@atheros.com>
  * Jie Yang <jie.yang@atheros.com>
--- a/include/linux/dca.h
+++ b/include/linux/dca.h
@@ -1,22 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright(c) 2007 - 2009 Intel Corporation. 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; either version 2 of the License, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc., 59
- * Temple Place - Suite 330, Boston, MA  02111-1307, USA.
- *
- * The full GNU General Public License is included in this distribution in the
- * file called COPYING.
  */
 #ifndef DCA_H
 #define DCA_H
--- a/sound/spi/at73c213.h
+++ b/sound/spi/at73c213.h
@@ -1,25 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Driver for the AT73C213 16-bit stereo DAC on Atmel ATSTK1000
  *
  * Copyright (C) 2006 - 2007 Atmel Corporation
- *
- * 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; either version 2 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- * 02111-1307, USA.
- *
- * The full GNU General Public License is included in this
- * distribution in the file called COPYING.
  */
 
 #ifndef _SND_AT73C213_H





^ permalink raw reply	[flat|nested] 85+ messages in thread

* [patch 09/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 34
  2019-05-20 17:07 [patch 00/25] SPDX cleanup: batch 2 Thomas Gleixner
                   ` (7 preceding siblings ...)
  2019-05-20 17:07 ` [patch 08/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 33 Thomas Gleixner
@ 2019-05-20 17:07 ` Thomas Gleixner
  2019-05-20 22:31   ` Allison Randal
  2019-05-21  0:09   ` Kate Stewart
  2019-05-20 17:08 ` [patch 10/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 35 Thomas Gleixner
                   ` (15 subsequent siblings)
  24 siblings, 2 replies; 85+ messages in thread
From: Thomas Gleixner @ 2019-05-20 17:07 UTC (permalink / raw)
  To: linux-spdx

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 either version 2 of the license or at
  your option any later version this program is distributed in the
  hope that it will be useful but without any warranty without even
  the implied warranty of merchantability or fitness for a particular
  purpose see the gnu general public license for more details you
  should have received a copy of the gnu general public license along
  with this program if not write to the free software foundation inc
  59 temple place suite 330 boston ma 02111 1307 usa or point your
  browser to http www gnu org copyleft gpl html

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

has been chosen to replace the boilerplate/reference in 1 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-spdx@vger.kernel.org

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=f919fabb23ed
---
 drivers/media/pci/bt8xx/bt878.c |   19 +------------------
 1 file changed, 1 insertion(+), 18 deletions(-)

--- a/drivers/media/pci/bt8xx/bt878.c
+++ b/drivers/media/pci/bt8xx/bt878.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * bt878.c: part of the driver for the Pinnacle PCTV Sat DVB PCI card
  *
@@ -7,24 +8,6 @@
  * Copyright (C) 1996,97,98 Ralph  Metzler (rjkm@metzlerbros.de)
  *                        & Marcus Metzler (mocm@metzlerbros.de)
  * (c) 1999,2000 Gerd Knorr <kraxel@goldbach.in-berlin.de>
- *
- * 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; either version 2
- * of the License, or (at your option) any later version.
- *
-
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
-
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- * Or, point your browser to http://www.gnu.org/copyleft/gpl.html
- *
  */
 
 #include <linux/module.h>





^ permalink raw reply	[flat|nested] 85+ messages in thread

* [patch 10/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 35
  2019-05-20 17:07 [patch 00/25] SPDX cleanup: batch 2 Thomas Gleixner
                   ` (8 preceding siblings ...)
  2019-05-20 17:07 ` [patch 09/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 34 Thomas Gleixner
@ 2019-05-20 17:08 ` Thomas Gleixner
  2019-05-20 22:35   ` Allison Randal
  2019-05-21  0:29   ` Kate Stewart
  2019-05-20 17:08 ` [patch 11/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 36 Thomas Gleixner
                   ` (14 subsequent siblings)
  24 siblings, 2 replies; 85+ messages in thread
From: Thomas Gleixner @ 2019-05-20 17:08 UTC (permalink / raw)
  To: linux-spdx

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 either version 2 or at your option any
  later version this program is distributed in the hope that it will
  be useful but without any warranty without even the implied warranty
  of merchantability or fitness for a particular purpose see the gnu
  general public license for more details you should have received a
  copy of the gnu general public license along with this program if
  not write to the free software foundation 51 franklin street fifth
  floor boston ma 02110 1301 usa

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

has been chosen to replace the boilerplate/reference in 23 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-spdx@vger.kernel.org

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=f9cf9da4a4a1
---
 fs/squashfs/block.c          |   15 +--------------
 fs/squashfs/cache.c          |   15 +--------------
 fs/squashfs/decompressor.c   |   15 +--------------
 fs/squashfs/decompressor.h   |   15 +--------------
 fs/squashfs/dir.c            |   15 +--------------
 fs/squashfs/export.c         |   15 +--------------
 fs/squashfs/file.c           |   15 +--------------
 fs/squashfs/fragment.c       |   15 +--------------
 fs/squashfs/id.c             |   15 +--------------
 fs/squashfs/inode.c          |   15 +--------------
 fs/squashfs/lzo_wrapper.c    |   15 +--------------
 fs/squashfs/namei.c          |   15 +--------------
 fs/squashfs/squashfs.h       |   15 +--------------
 fs/squashfs/squashfs_fs.h    |   15 +--------------
 fs/squashfs/squashfs_fs_i.h  |   15 +--------------
 fs/squashfs/squashfs_fs_sb.h |   15 +--------------
 fs/squashfs/super.c          |   15 +--------------
 fs/squashfs/symlink.c        |   15 +--------------
 fs/squashfs/xattr.c          |   15 +--------------
 fs/squashfs/xattr.h          |   15 +--------------
 fs/squashfs/xattr_id.c       |   15 +--------------
 fs/squashfs/xz_wrapper.c     |   15 +--------------
 fs/squashfs/zlib_wrapper.c   |   15 +--------------
 23 files changed, 23 insertions(+), 322 deletions(-)

--- a/fs/squashfs/block.c
+++ b/fs/squashfs/block.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Squashfs - a compressed read only filesystem for Linux
  *
  * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
  * Phillip Lougher <phillip@squashfs.org.uk>
  *
- * 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; either version 2,
- * or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
  * block.c
  */
 
--- a/fs/squashfs/cache.c
+++ b/fs/squashfs/cache.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Squashfs - a compressed read only filesystem for Linux
  *
  * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
  * Phillip Lougher <phillip@squashfs.org.uk>
  *
- * 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; either version 2,
- * or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
  * cache.c
  */
 
--- a/fs/squashfs/decompressor.c
+++ b/fs/squashfs/decompressor.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Squashfs - a compressed read only filesystem for Linux
  *
  * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
  * Phillip Lougher <phillip@squashfs.org.uk>
  *
- * 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; either version 2,
- * or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
  * decompressor.c
  */
 
--- a/fs/squashfs/decompressor.h
+++ b/fs/squashfs/decompressor.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 #ifndef DECOMPRESSOR_H
 #define DECOMPRESSOR_H
 /*
@@ -6,20 +7,6 @@
  * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
  * Phillip Lougher <phillip@squashfs.org.uk>
  *
- * 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; either version 2,
- * or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
  * decompressor.h
  */
 
--- a/fs/squashfs/dir.c
+++ b/fs/squashfs/dir.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Squashfs - a compressed read only filesystem for Linux
  *
  * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
  * Phillip Lougher <phillip@squashfs.org.uk>
  *
- * 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; either version 2,
- * or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
  * dir.c
  */
 
--- a/fs/squashfs/export.c
+++ b/fs/squashfs/export.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Squashfs - a compressed read only filesystem for Linux
  *
  * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
  * Phillip Lougher <phillip@squashfs.org.uk>
  *
- * 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; either version 2,
- * or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
  * export.c
  */
 
--- a/fs/squashfs/file.c
+++ b/fs/squashfs/file.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Squashfs - a compressed read only filesystem for Linux
  *
  * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
  * Phillip Lougher <phillip@squashfs.org.uk>
  *
- * 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; either version 2,
- * or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
  * file.c
  */
 
--- a/fs/squashfs/fragment.c
+++ b/fs/squashfs/fragment.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Squashfs - a compressed read only filesystem for Linux
  *
  * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
  * Phillip Lougher <phillip@squashfs.org.uk>
  *
- * 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; either version 2,
- * or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
  * fragment.c
  */
 
--- a/fs/squashfs/id.c
+++ b/fs/squashfs/id.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Squashfs - a compressed read only filesystem for Linux
  *
  * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
  * Phillip Lougher <phillip@squashfs.org.uk>
  *
- * 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; either version 2,
- * or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
  * id.c
  */
 
--- a/fs/squashfs/inode.c
+++ b/fs/squashfs/inode.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Squashfs - a compressed read only filesystem for Linux
  *
  * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
  * Phillip Lougher <phillip@squashfs.org.uk>
  *
- * 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; either version 2,
- * or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
  * inode.c
  */
 
--- a/fs/squashfs/lzo_wrapper.c
+++ b/fs/squashfs/lzo_wrapper.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Squashfs - a compressed read only filesystem for Linux
  *
  * Copyright (c) 2010 LG Electronics
  * Chan Jeong <chan.jeong@lge.com>
  *
- * 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; either version 2,
- * or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
  * lzo_wrapper.c
  */
 
--- a/fs/squashfs/namei.c
+++ b/fs/squashfs/namei.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Squashfs - a compressed read only filesystem for Linux
  *
  * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
  * Phillip Lougher <phillip@squashfs.org.uk>
  *
- * 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; either version 2,
- * or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
  * namei.c
  */
 
--- a/fs/squashfs/squashfs.h
+++ b/fs/squashfs/squashfs.h
@@ -1,23 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Squashfs - a compressed read only filesystem for Linux
  *
  * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
  * Phillip Lougher <phillip@squashfs.org.uk>
  *
- * 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; either version 2,
- * or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
  * squashfs.h
  */
 
--- a/fs/squashfs/squashfs_fs.h
+++ b/fs/squashfs/squashfs_fs.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 #ifndef SQUASHFS_FS
 #define SQUASHFS_FS
 /*
@@ -6,20 +7,6 @@
  * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
  * Phillip Lougher <phillip@squashfs.org.uk>
  *
- * 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; either version 2,
- * or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
  * squashfs_fs.h
  */
 
--- a/fs/squashfs/squashfs_fs_i.h
+++ b/fs/squashfs/squashfs_fs_i.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 #ifndef SQUASHFS_FS_I
 #define SQUASHFS_FS_I
 /*
@@ -6,20 +7,6 @@
  * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
  * Phillip Lougher <phillip@squashfs.org.uk>
  *
- * 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; either version 2,
- * or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
  * squashfs_fs_i.h
  */
 
--- a/fs/squashfs/squashfs_fs_sb.h
+++ b/fs/squashfs/squashfs_fs_sb.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 #ifndef SQUASHFS_FS_SB
 #define SQUASHFS_FS_SB
 /*
@@ -6,20 +7,6 @@
  * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
  * Phillip Lougher <phillip@squashfs.org.uk>
  *
- * 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; either version 2,
- * or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
  * squashfs_fs_sb.h
  */
 
--- a/fs/squashfs/super.c
+++ b/fs/squashfs/super.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Squashfs - a compressed read only filesystem for Linux
  *
  * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
  * Phillip Lougher <phillip@squashfs.org.uk>
  *
- * 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; either version 2,
- * or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
  * super.c
  */
 
--- a/fs/squashfs/symlink.c
+++ b/fs/squashfs/symlink.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Squashfs - a compressed read only filesystem for Linux
  *
  * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
  * Phillip Lougher <phillip@squashfs.org.uk>
  *
- * 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; either version 2,
- * or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
  * symlink.c
  */
 
--- a/fs/squashfs/xattr.c
+++ b/fs/squashfs/xattr.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Squashfs - a compressed read only filesystem for Linux
  *
  * Copyright (c) 2010
  * Phillip Lougher <phillip@squashfs.org.uk>
  *
- * 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; either version 2,
- * or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
  * xattr.c
  */
 
--- a/fs/squashfs/xattr.h
+++ b/fs/squashfs/xattr.h
@@ -1,23 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Squashfs - a compressed read only filesystem for Linux
  *
  * Copyright (c) 2010
  * Phillip Lougher <phillip@squashfs.org.uk>
  *
- * 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; either version 2,
- * or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
  * xattr.h
  */
 
--- a/fs/squashfs/xattr_id.c
+++ b/fs/squashfs/xattr_id.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Squashfs - a compressed read only filesystem for Linux
  *
  * Copyright (c) 2010
  * Phillip Lougher <phillip@squashfs.org.uk>
  *
- * 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; either version 2,
- * or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
  * xattr_id.c
  */
 
--- a/fs/squashfs/xz_wrapper.c
+++ b/fs/squashfs/xz_wrapper.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Squashfs - a compressed read only filesystem for Linux
  *
  * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
  * Phillip Lougher <phillip@squashfs.org.uk>
  *
- * 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; either version 2,
- * or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
  * xz_wrapper.c
  */
 
--- a/fs/squashfs/zlib_wrapper.c
+++ b/fs/squashfs/zlib_wrapper.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Squashfs - a compressed read only filesystem for Linux
  *
  * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
  * Phillip Lougher <phillip@squashfs.org.uk>
  *
- * 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; either version 2,
- * or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
  * zlib_wrapper.c
  */
 





^ permalink raw reply	[flat|nested] 85+ messages in thread

* [patch 11/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 36
  2019-05-20 17:07 [patch 00/25] SPDX cleanup: batch 2 Thomas Gleixner
                   ` (9 preceding siblings ...)
  2019-05-20 17:08 ` [patch 10/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 35 Thomas Gleixner
@ 2019-05-20 17:08 ` Thomas Gleixner
  2019-05-20 22:36   ` Allison Randal
  2019-05-21  0:30   ` Kate Stewart
  2019-05-20 17:08 ` [patch 12/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 37 Thomas Gleixner
                   ` (13 subsequent siblings)
  24 siblings, 2 replies; 85+ messages in thread
From: Thomas Gleixner @ 2019-05-20 17:08 UTC (permalink / raw)
  To: linux-spdx

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 licence as published by
  the free software foundation either version 2 of the licence or at
  your option any later version

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

has been chosen to replace the boilerplate/reference in 114 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-spdx@vger.kernel.org

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=005f80e9f871
---
 arch/c6x/include/asm/irqflags.h           |    6 +-----
 arch/riscv/include/asm/atomic.h           |    6 +-----
 certs/blacklist.c                         |    6 +-----
 certs/system_keyring.c                    |    6 +-----
 crypto/asymmetric_keys/asymmetric_keys.h  |    6 +-----
 crypto/asymmetric_keys/asymmetric_type.c  |    6 +-----
 crypto/asymmetric_keys/mscode_parser.c    |    6 +-----
 crypto/asymmetric_keys/pkcs7_key_type.c   |    6 +-----
 crypto/asymmetric_keys/pkcs7_parser.c     |    6 +-----
 crypto/asymmetric_keys/pkcs7_parser.h     |    6 +-----
 crypto/asymmetric_keys/pkcs7_trust.c      |    6 +-----
 crypto/asymmetric_keys/pkcs7_verify.c     |    6 +-----
 crypto/asymmetric_keys/pkcs8_parser.c     |    6 +-----
 crypto/asymmetric_keys/public_key.c       |    6 +-----
 crypto/asymmetric_keys/restrict.c         |    6 +-----
 crypto/asymmetric_keys/signature.c        |    6 +-----
 crypto/asymmetric_keys/verify_pefile.c    |    6 +-----
 crypto/asymmetric_keys/verify_pefile.h    |    6 +-----
 crypto/asymmetric_keys/x509_cert_parser.c |    6 +-----
 crypto/asymmetric_keys/x509_parser.h      |    6 +-----
 crypto/asymmetric_keys/x509_public_key.c  |    6 +-----
 crypto/rsa.c                              |    6 +-----
 drivers/rtc/rtc-st-lpc.c                  |    6 +-----
 fs/afs/addr_list.c                        |    6 +-----
 fs/afs/dir_edit.c                         |    6 +-----
 fs/afs/dir_silly.c                        |    6 +-----
 fs/afs/dynroot.c                          |    6 +-----
 fs/afs/fs_probe.c                         |    6 +-----
 fs/afs/protocol_yfs.h                     |    6 +-----
 fs/afs/rotate.c                           |    6 +-----
 fs/afs/vl_probe.c                         |    6 +-----
 fs/afs/vl_rotate.c                        |    6 +-----
 fs/afs/xattr.c                            |    6 +-----
 fs/afs/xdr_fs.h                           |    6 +-----
 fs/afs/yfsclient.c                        |    6 +-----
 fs/cachefiles/bind.c                      |    6 +-----
 fs/cachefiles/daemon.c                    |    6 +-----
 fs/cachefiles/interface.c                 |    6 +-----
 fs/cachefiles/internal.h                  |    6 +-----
 fs/cachefiles/key.c                       |    6 +-----
 fs/cachefiles/main.c                      |    6 +-----
 fs/cachefiles/namei.c                     |    6 +-----
 fs/cachefiles/proc.c                      |    6 +-----
 fs/cachefiles/rdwr.c                      |    6 +-----
 fs/cachefiles/security.c                  |    6 +-----
 fs/cachefiles/xattr.c                     |    6 +-----
 fs/fs_context.c                           |    6 +-----
 fs/fs_parser.c                            |    6 +-----
 fs/fscache/histogram.c                    |    6 +-----
 fs/fscache/netfs.c                        |    6 +-----
 fs/fscache/object-list.c                  |    6 +-----
 fs/fsopen.c                               |    6 +-----
 fs/nfs/fscache-index.c                    |    6 +-----
 fs/nfs/fscache.c                          |    6 +-----
 fs/nfs/fscache.h                          |    6 +-----
 include/asm-generic/atomic.h              |    6 +-----
 include/asm-generic/barrier.h             |    6 +-----
 include/asm-generic/exec.h                |    6 +-----
 include/asm-generic/io.h                  |    6 +-----
 include/asm-generic/switch_to.h           |    6 +-----
 include/crypto/pkcs7.h                    |    6 +-----
 include/crypto/public_key.h               |    6 +-----
 include/keys/asymmetric-parser.h          |    6 +-----
 include/keys/asymmetric-subtype.h         |    6 +-----
 include/keys/asymmetric-type.h            |    6 +-----
 include/keys/request_key_auth-type.h      |    6 +-----
 include/keys/system_keyring.h             |    6 +-----
 include/linux/asn1.h                      |    6 +-----
 include/linux/asn1_ber_bytecode.h         |    6 +-----
 include/linux/asn1_decoder.h              |    6 +-----
 include/linux/assoc_array.h               |    6 +-----
 include/linux/assoc_array_priv.h          |    6 +-----
 include/linux/count_zeros.h               |    6 +-----
 include/linux/cred.h                      |    6 +-----
 include/linux/fs_context.h                |    6 +-----
 include/linux/fs_parser.h                 |    6 +-----
 include/linux/key-type.h                  |    6 +-----
 include/linux/keyctl.h                    |    6 +-----
 include/linux/oid_registry.h              |    6 +-----
 include/linux/verification.h              |    6 +-----
 include/trace/events/afs.h                |    6 +-----
 include/trace/events/cachefiles.h         |    6 +-----
 include/trace/events/fscache.h            |    6 +-----
 include/trace/events/i2c.h                |    6 +-----
 include/trace/events/rxrpc.h              |    6 +-----
 include/trace/events/smbus.h              |    6 +-----
 include/uapi/linux/rxrpc.h                |    6 +-----
 kernel/cred.c                             |    6 +-----
 kernel/module-internal.h                  |    6 +-----
 kernel/module_signing.c                   |    6 +-----
 lib/asn1_decoder.c                        |    6 +-----
 lib/assoc_array.c                         |    6 +-----
 lib/build_OID_registry                    |    6 +-----
 lib/is_single_threaded.c                  |    6 +-----
 lib/oid_registry.c                        |    6 +-----
 net/rxrpc/conn_client.c                   |    7 +------
 net/rxrpc/conn_service.c                  |    6 +-----
 net/rxrpc/insecure.c                      |    6 +-----
 net/rxrpc/local_object.c                  |    6 +-----
 net/rxrpc/misc.c                          |    6 +-----
 net/rxrpc/net_ns.c                        |    6 +-----
 net/rxrpc/sendmsg.c                       |    6 +-----
 net/rxrpc/sysctl.c                        |    6 +-----
 net/rxrpc/utils.c                         |    6 +-----
 samples/vfs/test-fsmount.c                |    6 +-----
 samples/vfs/test-statx.c                  |    6 +-----
 scripts/asn1_compiler.c                   |    6 +-----
 security/keys/big_key.c                   |    6 +-----
 security/keys/gc.c                        |    6 +-----
 security/keys/keyctl_pkey.c               |    6 +-----
 security/keys/persistent.c                |    6 +-----
 security/keys/sysctl.c                    |    6 +-----
 tools/include/asm-generic/barrier.h       |    6 +-----
 113 files changed, 113 insertions(+), 566 deletions(-)

--- a/arch/c6x/include/asm/irqflags.h
+++ b/arch/c6x/include/asm/irqflags.h
@@ -1,13 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *  C6X IRQ flag handling
  *
  * Copyright (C) 2010 Texas Instruments Incorporated
  * Written by Mark Salter (msalter@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #ifndef _ASM_IRQFLAGS_H
--- a/arch/riscv/include/asm/atomic.h
+++ b/arch/riscv/include/asm/atomic.h
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
  * Copyright (C) 2012 Regents of the University of California
  * Copyright (C) 2017 SiFive
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #ifndef _ASM_RISCV_ATOMIC_H
--- a/certs/blacklist.c
+++ b/certs/blacklist.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* System hash blacklist.
  *
  * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #define pr_fmt(fmt) "blacklist: "fmt
--- a/certs/system_keyring.c
+++ b/certs/system_keyring.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* System trusted keyring for trusted public keys
  *
  * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <linux/export.h>
--- a/crypto/asymmetric_keys/asymmetric_keys.h
+++ b/crypto/asymmetric_keys/asymmetric_keys.h
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* Internal definitions for asymmetric key type
  *
  * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <keys/asymmetric-type.h>
--- a/crypto/asymmetric_keys/asymmetric_type.c
+++ b/crypto/asymmetric_keys/asymmetric_type.c
@@ -1,14 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Asymmetric public-key cryptography key type
  *
  * See Documentation/crypto/asymmetric-keys.txt
  *
  * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 #include <keys/asymmetric-subtype.h>
 #include <keys/asymmetric-parser.h>
--- a/crypto/asymmetric_keys/mscode_parser.c
+++ b/crypto/asymmetric_keys/mscode_parser.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Parse a Microsoft Individual Code Signing blob
  *
  * Copyright (C) 2014 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #define pr_fmt(fmt) "MSCODE: "fmt
--- a/crypto/asymmetric_keys/pkcs7_key_type.c
+++ b/crypto/asymmetric_keys/pkcs7_key_type.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Testing module to load key from trusted PKCS#7 message
  *
  * Copyright (C) 2014 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #define pr_fmt(fmt) "PKCS7key: "fmt
--- a/crypto/asymmetric_keys/pkcs7_parser.c
+++ b/crypto/asymmetric_keys/pkcs7_parser.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* PKCS#7 parser
  *
  * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #define pr_fmt(fmt) "PKCS7: "fmt
--- a/crypto/asymmetric_keys/pkcs7_parser.h
+++ b/crypto/asymmetric_keys/pkcs7_parser.h
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* PKCS#7 crypto data parser internal definitions
  *
  * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <linux/oid_registry.h>
--- a/crypto/asymmetric_keys/pkcs7_trust.c
+++ b/crypto/asymmetric_keys/pkcs7_trust.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Validate the trust chain of a PKCS#7 message.
  *
  * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #define pr_fmt(fmt) "PKCS7: "fmt
--- a/crypto/asymmetric_keys/pkcs7_verify.c
+++ b/crypto/asymmetric_keys/pkcs7_verify.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Verify the signature on a PKCS#7 message.
  *
  * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #define pr_fmt(fmt) "PKCS7: "fmt
--- a/crypto/asymmetric_keys/pkcs8_parser.c
+++ b/crypto/asymmetric_keys/pkcs8_parser.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* PKCS#8 Private Key parser [RFC 5208].
  *
  * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #define pr_fmt(fmt) "PKCS8: "fmt
--- a/crypto/asymmetric_keys/public_key.c
+++ b/crypto/asymmetric_keys/public_key.c
@@ -1,14 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* In-software asymmetric public-key crypto subtype
  *
  * See Documentation/crypto/asymmetric-keys.txt
  *
  * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #define pr_fmt(fmt) "PKEY: "fmt
--- a/crypto/asymmetric_keys/restrict.c
+++ b/crypto/asymmetric_keys/restrict.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Instantiate a public key crypto key from an X.509 Certificate
  *
  * Copyright (C) 2012, 2016 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #define pr_fmt(fmt) "ASYM: "fmt
--- a/crypto/asymmetric_keys/signature.c
+++ b/crypto/asymmetric_keys/signature.c
@@ -1,14 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Signature verification with an asymmetric key
  *
  * See Documentation/crypto/asymmetric-keys.txt
  *
  * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #define pr_fmt(fmt) "SIG: "fmt
--- a/crypto/asymmetric_keys/verify_pefile.c
+++ b/crypto/asymmetric_keys/verify_pefile.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Parse a signed PE binary
  *
  * Copyright (C) 2014 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #define pr_fmt(fmt) "PEFILE: "fmt
--- a/crypto/asymmetric_keys/verify_pefile.h
+++ b/crypto/asymmetric_keys/verify_pefile.h
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* PE Binary parser bits
  *
  * Copyright (C) 2014 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <crypto/pkcs7.h>
--- a/crypto/asymmetric_keys/x509_cert_parser.c
+++ b/crypto/asymmetric_keys/x509_cert_parser.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* X.509 certificate parser
  *
  * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #define pr_fmt(fmt) "X.509: "fmt
--- a/crypto/asymmetric_keys/x509_parser.h
+++ b/crypto/asymmetric_keys/x509_parser.h
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* X.509 certificate parser internal definitions
  *
  * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <linux/time.h>
--- a/crypto/asymmetric_keys/x509_public_key.c
+++ b/crypto/asymmetric_keys/x509_public_key.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Instantiate a public key crypto key from an X.509 Certificate
  *
  * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #define pr_fmt(fmt) "X.509: "fmt
--- a/crypto/rsa.c
+++ b/crypto/rsa.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* RSA asymmetric public-key algorithm [RFC3447]
  *
  * Copyright (c) 2015, Intel Corporation
  * Authors: Tadeusz Struk <tadeusz.struk@intel.com>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <linux/module.h>
--- a/drivers/rtc/rtc-st-lpc.c
+++ b/drivers/rtc/rtc-st-lpc.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * rtc-st-lpc.c - ST's LPC RTC, powered by the Low Power Timer
  *
@@ -7,11 +8,6 @@
  *         Lee Jones <lee.jones@linaro.org> for STMicroelectronics
  *
  * Based on the original driver written by Stuart Menefy.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <linux/clk.h>
--- a/fs/afs/addr_list.c
+++ b/fs/afs/addr_list.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Server address list management
  *
  * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <linux/slab.h>
--- a/fs/afs/dir_edit.c
+++ b/fs/afs/dir_edit.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* AFS filesystem directory editing
  *
  * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <linux/kernel.h>
--- a/fs/afs/dir_silly.c
+++ b/fs/afs/dir_silly.c
@@ -1,13 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* AFS silly rename handling
  *
  * Copyright (C) 2019 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
  * - Derived from NFS's sillyrename.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <linux/kernel.h>
--- a/fs/afs/dynroot.c
+++ b/fs/afs/dynroot.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* AFS dynamic root handling
  *
  * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <linux/fs.h>
--- a/fs/afs/fs_probe.c
+++ b/fs/afs/fs_probe.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* AFS fileserver probing
  *
  * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <linux/sched.h>
--- a/fs/afs/protocol_yfs.h
+++ b/fs/afs/protocol_yfs.h
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* YFS protocol bits
  *
  * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #define YFS_FS_SERVICE	2500
--- a/fs/afs/rotate.c
+++ b/fs/afs/rotate.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Handle fileserver selection and rotation.
  *
  * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <linux/kernel.h>
--- a/fs/afs/vl_probe.c
+++ b/fs/afs/vl_probe.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* AFS vlserver probing
  *
  * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <linux/sched.h>
--- a/fs/afs/vl_rotate.c
+++ b/fs/afs/vl_rotate.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Handle vlserver selection and rotation.
  *
  * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <linux/kernel.h>
--- a/fs/afs/xattr.c
+++ b/fs/afs/xattr.c
@@ -1,13 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Extended attribute handling for AFS.  We use xattrs to get and set metadata
  * instead of providing pioctl().
  *
  * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <linux/slab.h>
--- a/fs/afs/xdr_fs.h
+++ b/fs/afs/xdr_fs.h
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* AFS fileserver XDR types
  *
  * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #ifndef XDR_FS_H
--- a/fs/afs/yfsclient.c
+++ b/fs/afs/yfsclient.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* YFS File Server client stubs
  *
  * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <linux/init.h>
--- a/fs/cachefiles/bind.c
+++ b/fs/cachefiles/bind.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Bind and unbind a cache from the filesystem backing it
  *
  * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <linux/module.h>
--- a/fs/cachefiles/daemon.c
+++ b/fs/cachefiles/daemon.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Daemon interface
  *
  * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <linux/module.h>
--- a/fs/cachefiles/interface.c
+++ b/fs/cachefiles/interface.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* FS-Cache interface to CacheFiles
  *
  * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <linux/slab.h>
--- a/fs/cachefiles/internal.h
+++ b/fs/cachefiles/internal.h
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* General netfs cache on cache files internal defs
  *
  * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #ifdef pr_fmt
--- a/fs/cachefiles/key.c
+++ b/fs/cachefiles/key.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Key to pathname encoder
  *
  * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <linux/slab.h>
--- a/fs/cachefiles/main.c
+++ b/fs/cachefiles/main.c
@@ -1,13 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Network filesystem caching backend to use cache files on a premounted
  * filesystem
  *
  * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <linux/module.h>
--- a/fs/cachefiles/namei.c
+++ b/fs/cachefiles/namei.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* CacheFiles path walking and related routines
  *
  * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <linux/module.h>
--- a/fs/cachefiles/proc.c
+++ b/fs/cachefiles/proc.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* CacheFiles statistics
  *
  * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <linux/module.h>
--- a/fs/cachefiles/rdwr.c
+++ b/fs/cachefiles/rdwr.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Storage object read/write
  *
  * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <linux/mount.h>
--- a/fs/cachefiles/security.c
+++ b/fs/cachefiles/security.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* CacheFiles security management
  *
  * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <linux/fs.h>
--- a/fs/cachefiles/xattr.c
+++ b/fs/cachefiles/xattr.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* CacheFiles extended attribute management
  *
  * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <linux/module.h>
--- a/fs/fs_context.c
+++ b/fs/fs_context.c
@@ -1,13 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Provide a way to create a superblock configuration context within the kernel
  * that allows a superblock to be set up prior to mounting.
  *
  * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
--- a/fs/fs_parser.c
+++ b/fs/fs_parser.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Filesystem parameter parser.
  *
  * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <linux/export.h>
--- a/fs/fscache/histogram.c
+++ b/fs/fscache/histogram.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* FS-Cache latency histogram
  *
  * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #define FSCACHE_DEBUG_LEVEL THREAD
--- a/fs/fscache/netfs.c
+++ b/fs/fscache/netfs.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* FS-Cache netfs (client) registration
  *
  * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #define FSCACHE_DEBUG_LEVEL COOKIE
--- a/fs/fscache/object-list.c
+++ b/fs/fscache/object-list.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Global fscache object list maintainer and viewer
  *
  * Copyright (C) 2009 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #define FSCACHE_DEBUG_LEVEL COOKIE
--- a/fs/fsopen.c
+++ b/fs/fsopen.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Filesystem access-by-fd.
  *
  * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <linux/fs_context.h>
--- a/fs/nfs/fscache-index.c
+++ b/fs/nfs/fscache-index.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* NFS FS-Cache index structure definition
  *
  * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <linux/init.h>
--- a/fs/nfs/fscache.c
+++ b/fs/nfs/fscache.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* NFS filesystem cache interface
  *
  * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <linux/init.h>
--- a/fs/nfs/fscache.h
+++ b/fs/nfs/fscache.h
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* NFS filesystem cache interface definitions
  *
  * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #ifndef _NFS_FSCACHE_H
--- a/include/asm-generic/atomic.h
+++ b/include/asm-generic/atomic.h
@@ -1,14 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Generic C implementation of atomic counter operations. Usable on
  * UP systems only. Do not include in machine independent code.
  *
  * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 #ifndef __ASM_GENERIC_ATOMIC_H
 #define __ASM_GENERIC_ATOMIC_H
--- a/include/asm-generic/barrier.h
+++ b/include/asm-generic/barrier.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Generic barrier definitions.
  *
@@ -6,11 +7,6 @@
  *
  * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 #ifndef __ASM_GENERIC_BARRIER_H
 #define __ASM_GENERIC_BARRIER_H
--- a/include/asm-generic/exec.h
+++ b/include/asm-generic/exec.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* Generic process execution definitions.
  *
  * It should be possible to use these on really simple architectures,
@@ -5,11 +6,6 @@
  *
  * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 #ifndef __ASM_GENERIC_EXEC_H
 #define __ASM_GENERIC_EXEC_H
--- a/include/asm-generic/io.h
+++ b/include/asm-generic/io.h
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* Generic I/O port emulation.
  *
  * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 #ifndef __ASM_GENERIC_IO_H
 #define __ASM_GENERIC_IO_H
--- a/include/asm-generic/switch_to.h
+++ b/include/asm-generic/switch_to.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* Generic task switch macro wrapper.
  *
  * It should be possible to use these on really simple architectures,
@@ -5,11 +6,6 @@
  *
  * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 #ifndef __ASM_GENERIC_SWITCH_TO_H
 #define __ASM_GENERIC_SWITCH_TO_H
--- a/include/crypto/pkcs7.h
+++ b/include/crypto/pkcs7.h
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* PKCS#7 crypto data parser
  *
  * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #ifndef _CRYPTO_PKCS7_H
--- a/include/crypto/public_key.h
+++ b/include/crypto/public_key.h
@@ -1,14 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* Asymmetric public-key algorithm definitions
  *
  * See Documentation/crypto/asymmetric-keys.txt
  *
  * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #ifndef _LINUX_PUBLIC_KEY_H
--- a/include/keys/asymmetric-parser.h
+++ b/include/keys/asymmetric-parser.h
@@ -1,14 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* Asymmetric public-key cryptography data parser
  *
  * See Documentation/crypto/asymmetric-keys.txt
  *
  * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #ifndef _KEYS_ASYMMETRIC_PARSER_H
--- a/include/keys/asymmetric-subtype.h
+++ b/include/keys/asymmetric-subtype.h
@@ -1,14 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* Asymmetric public-key cryptography key subtype
  *
  * See Documentation/crypto/asymmetric-keys.txt
  *
  * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #ifndef _KEYS_ASYMMETRIC_SUBTYPE_H
--- a/include/keys/asymmetric-type.h
+++ b/include/keys/asymmetric-type.h
@@ -1,14 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* Asymmetric Public-key cryptography key type interface
  *
  * See Documentation/crypto/asymmetric-keys.txt
  *
  * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #ifndef _KEYS_ASYMMETRIC_TYPE_H
--- a/include/keys/request_key_auth-type.h
+++ b/include/keys/request_key_auth-type.h
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* request_key authorisation token key type
  *
  * Copyright (C) 2005 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #ifndef _KEYS_REQUEST_KEY_AUTH_TYPE_H
--- a/include/keys/system_keyring.h
+++ b/include/keys/system_keyring.h
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* System keyring containing trusted public keys.
  *
  * Copyright (C) 2013 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #ifndef _KEYS_SYSTEM_KEYRING_H
--- a/include/linux/asn1.h
+++ b/include/linux/asn1.h
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* ASN.1 BER/DER/CER encoding definitions
  *
  * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #ifndef _LINUX_ASN1_H
--- a/include/linux/asn1_ber_bytecode.h
+++ b/include/linux/asn1_ber_bytecode.h
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* ASN.1 BER/DER/CER parsing state machine internal definitions
  *
  * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #ifndef _LINUX_ASN1_BER_BYTECODE_H
--- a/include/linux/asn1_decoder.h
+++ b/include/linux/asn1_decoder.h
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* ASN.1 decoder
  *
  * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #ifndef _LINUX_ASN1_DECODER_H
--- a/include/linux/assoc_array.h
+++ b/include/linux/assoc_array.h
@@ -1,14 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* Generic associative array implementation.
  *
  * See Documentation/core-api/assoc_array.rst for information.
  *
  * Copyright (C) 2013 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #ifndef _LINUX_ASSOC_ARRAY_H
--- a/include/linux/assoc_array_priv.h
+++ b/include/linux/assoc_array_priv.h
@@ -1,14 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* Private definitions for the generic associative array implementation.
  *
  * See Documentation/core-api/assoc_array.rst for information.
  *
  * Copyright (C) 2013 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #ifndef _LINUX_ASSOC_ARRAY_PRIV_H
--- a/include/linux/count_zeros.h
+++ b/include/linux/count_zeros.h
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* Count leading and trailing zeros functions
  *
  * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #ifndef _LINUX_BITOPS_COUNT_ZEROS_H_
--- a/include/linux/cred.h
+++ b/include/linux/cred.h
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* Credentials management - see Documentation/security/credentials.rst
  *
  * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #ifndef _LINUX_CRED_H
--- a/include/linux/fs_context.h
+++ b/include/linux/fs_context.h
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* Filesystem superblock creation and reconfiguration context.
  *
  * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #ifndef _LINUX_FS_CONTEXT_H
--- a/include/linux/fs_parser.h
+++ b/include/linux/fs_parser.h
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* Filesystem parameter description and parser
  *
  * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #ifndef _LINUX_FS_PARSER_H
--- a/include/linux/key-type.h
+++ b/include/linux/key-type.h
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* Definitions for key type implementations
  *
  * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #ifndef _LINUX_KEY_TYPE_H
--- a/include/linux/keyctl.h
+++ b/include/linux/keyctl.h
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* keyctl kernel bits
  *
  * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #ifndef __LINUX_KEYCTL_H
--- a/include/linux/oid_registry.h
+++ b/include/linux/oid_registry.h
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* ASN.1 Object identifier (OID) registry
  *
  * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #ifndef _LINUX_OID_REGISTRY_H
--- a/include/linux/verification.h
+++ b/include/linux/verification.h
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* Signature verification
  *
  * Copyright (C) 2014 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #ifndef _LINUX_VERIFICATION_H
--- a/include/trace/events/afs.h
+++ b/include/trace/events/afs.h
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* AFS tracepoints
  *
  * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 #undef TRACE_SYSTEM
 #define TRACE_SYSTEM afs
--- a/include/trace/events/cachefiles.h
+++ b/include/trace/events/cachefiles.h
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* CacheFiles tracepoints
  *
  * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 #undef TRACE_SYSTEM
 #define TRACE_SYSTEM cachefiles
--- a/include/trace/events/fscache.h
+++ b/include/trace/events/fscache.h
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* FS-Cache tracepoints
  *
  * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 #undef TRACE_SYSTEM
 #define TRACE_SYSTEM fscache
--- a/include/trace/events/i2c.h
+++ b/include/trace/events/i2c.h
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* I2C message transfer tracepoints
  *
  * Copyright (C) 2013 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 #undef TRACE_SYSTEM
 #define TRACE_SYSTEM i2c
--- a/include/trace/events/rxrpc.h
+++ b/include/trace/events/rxrpc.h
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* AF_RXRPC tracepoints
  *
  * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 #undef TRACE_SYSTEM
 #define TRACE_SYSTEM rxrpc
--- a/include/trace/events/smbus.h
+++ b/include/trace/events/smbus.h
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* SMBUS message transfer tracepoints
  *
  * Copyright (C) 2013 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 #undef TRACE_SYSTEM
 #define TRACE_SYSTEM smbus
--- a/include/uapi/linux/rxrpc.h
+++ b/include/uapi/linux/rxrpc.h
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* Types and definitions for AF_RXRPC.
  *
  * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #ifndef _UAPI_LINUX_RXRPC_H
--- a/kernel/cred.c
+++ b/kernel/cred.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Task credentials management - see Documentation/security/credentials.rst
  *
  * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 #include <linux/export.h>
 #include <linux/cred.h>
--- a/kernel/module-internal.h
+++ b/kernel/module-internal.h
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* Module internals
  *
  * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <linux/elf.h>
--- a/kernel/module_signing.c
+++ b/kernel/module_signing.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Module signature checker
  *
  * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <linux/kernel.h>
--- a/lib/asn1_decoder.c
+++ b/lib/asn1_decoder.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Decoder for ASN.1 BER/DER/CER encoded bytestream
  *
  * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <linux/export.h>
--- a/lib/assoc_array.c
+++ b/lib/assoc_array.c
@@ -1,14 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Generic associative array implementation.
  *
  * See Documentation/core-api/assoc_array.rst for information.
  *
  * Copyright (C) 2013 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 //#define DEBUG
 #include <linux/rcupdate.h>
--- a/lib/build_OID_registry
+++ b/lib/build_OID_registry
@@ -1,15 +1,11 @@
 #!/usr/bin/perl -w
+# SPDX-License-Identifier: GPL-2.0-or-later
 #
 # Build a static ASN.1 Object Identified (OID) registry
 #
 # Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
 # Written by David Howells (dhowells@redhat.com)
 #
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public Licence
-# as published by the Free Software Foundation; either version
-# 2 of the Licence, or (at your option) any later version.
-#
 
 use strict;
 
--- a/lib/is_single_threaded.c
+++ b/lib/is_single_threaded.c
@@ -1,13 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Function to determine if a thread group is single threaded or not
  *
  * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
  * - Derived from security/selinux/hooks.c
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 #include <linux/sched/signal.h>
 #include <linux/sched/task.h>
--- a/lib/oid_registry.c
+++ b/lib/oid_registry.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* ASN.1 Object identifier (OID) registry
  *
  * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <linux/module.h>
--- a/net/rxrpc/conn_client.c
+++ b/net/rxrpc/conn_client.c
@@ -1,14 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Client connection-specific management code.
  *
  * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
- *
- *
  * Client connections need to be cached for a little while after they've made a
  * call so as to handle retransmitted DATA packets in case the server didn't
  * receive the final ACK or terminating ABORT we sent it.
--- a/net/rxrpc/conn_service.c
+++ b/net/rxrpc/conn_service.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Service connection management
  *
  * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <linux/slab.h>
--- a/net/rxrpc/insecure.c
+++ b/net/rxrpc/insecure.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Null security operations.
  *
  * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <net/af_rxrpc.h>
--- a/net/rxrpc/local_object.c
+++ b/net/rxrpc/local_object.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Local endpoint object management
  *
  * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
--- a/net/rxrpc/misc.c
+++ b/net/rxrpc/misc.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Miscellaneous bits
  *
  * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <linux/kernel.h>
--- a/net/rxrpc/net_ns.c
+++ b/net/rxrpc/net_ns.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* rxrpc network namespace handling.
  *
  * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <linux/proc_fs.h>
--- a/net/rxrpc/sendmsg.c
+++ b/net/rxrpc/sendmsg.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* AF_RXRPC sendmsg() implementation.
  *
  * Copyright (C) 2007, 2016 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
--- a/net/rxrpc/sysctl.c
+++ b/net/rxrpc/sysctl.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* sysctls for configuring RxRPC operating parameters
  *
  * Copyright (C) 2014 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <linux/sysctl.h>
--- a/net/rxrpc/utils.c
+++ b/net/rxrpc/utils.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Utility routines
  *
  * Copyright (C) 2015 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <linux/ip.h>
--- a/samples/vfs/test-fsmount.c
+++ b/samples/vfs/test-fsmount.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* fd-based mount test.
  *
  * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved.
  * Written by David Howells (dhowells@redhat.com)
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public Licence
- * as published by the Free Software Foundation; either version
- * 2 of the Licence, or (at your option) any later version.
  */
 
 #include <stdio.h>
--- a/samples/vfs/test-statx.c
+++ b/samples/vfs/test-statx.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Test the statx() system call.



^ permalink raw reply	[flat|nested] 85+ messages in thread

* [patch 12/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 37
  2019-05-20 17:07 [patch 00/25] SPDX cleanup: batch 2 Thomas Gleixner
                   ` (10 preceding siblings ...)
  2019-05-20 17:08 ` [patch 11/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 36 Thomas Gleixner
@ 2019-05-20 17:08 ` Thomas Gleixner
  2019-05-20 22:37   ` Allison Randal
  2019-05-21  0:33   ` Kate Stewart
  2019-05-20 17:08 ` [patch 13/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 38 Thomas Gleixner
                   ` (12 subsequent siblings)
  24 siblings, 2 replies; 85+ messages in thread
From: Thomas Gleixner @ 2019-05-20 17:08 UTC (permalink / raw)
  To: linux-spdx

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 either version 2 of the license or at
  your option any later version this program is distributed in the
  hope that it will be useful but without any warranty without even
  the implied warranty of merchantability or fitness for a particular
  purpose see the gnu general public license for more details you
  should have received a copy of the gnu general public license along
  with this program if not write to the free software foundation inc
  59 temple place suite 330 boston ma 02111 1307 usa the gnu gpl is
  contained in usr doc copyright gpl on a debian system and in the
  file copying in the linux kernel source

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

has been chosen to replace the boilerplate/reference in 6 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-spdx@vger.kernel.org

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=d422fdd5bffd
---
 drivers/atm/ambassador.c |   17 +----------------
 drivers/atm/ambassador.h |   17 +----------------
 drivers/atm/firestream.c |   17 +----------------
 drivers/atm/firestream.h |   17 +----------------
 drivers/atm/horizon.c    |   17 +----------------
 drivers/atm/horizon.h    |   17 +----------------
 6 files changed, 6 insertions(+), 96 deletions(-)

--- a/drivers/atm/ambassador.c
+++ b/drivers/atm/ambassador.c
@@ -1,23 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
   Madge Ambassador ATM Adapter driver.
   Copyright (C) 1995-1999  Madge Networks Ltd.
 
-  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; either version 2 of the License, or
-  (at your option) any later version.
-
-  This program is distributed in the hope that it will be useful,
-  but WITHOUT ANY WARRANTY; without even the implied warranty of
-  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-  GNU General Public License for more details.
-
-  You should have received a copy of the GNU General Public License
-  along with this program; if not, write to the Free Software
-  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-
-  The GNU GPL is contained in /usr/doc/copyright/GPL on a Debian
-  system and in the file COPYING in the Linux kernel source.
 */
 
 /* * dedicated to the memory of Graham Gordon 1971-1998 * */
--- a/drivers/atm/ambassador.h
+++ b/drivers/atm/ambassador.h
@@ -1,23 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
   Madge Ambassador ATM Adapter driver.
   Copyright (C) 1995-1999  Madge Networks Ltd.
 
-  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; either version 2 of the License, or
-  (at your option) any later version.
-
-  This program is distributed in the hope that it will be useful,
-  but WITHOUT ANY WARRANTY; without even the implied warranty of
-  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-  GNU General Public License for more details.
-
-  You should have received a copy of the GNU General Public License
-  along with this program; if not, write to the Free Software
-  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-
-  The GNU GPL is contained in /usr/doc/copyright/GPL on a Debian
-  system and in the file COPYING in the Linux kernel source.
 */
 
 #ifndef AMBASSADOR_H
--- a/drivers/atm/firestream.c
+++ b/drivers/atm/firestream.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 
 /* drivers/atm/firestream.c - FireStream 155 (MB86697) and
  *                            FireStream  50 (MB86695) device driver 
@@ -9,22 +10,6 @@
  */
 
 /*
-  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; either version 2 of the License, or
-  (at your option) any later version.
-
-  This program is distributed in the hope that it will be useful,
-  but WITHOUT ANY WARRANTY; without even the implied warranty of
-  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-  GNU General Public License for more details.
-
-  You should have received a copy of the GNU General Public License
-  along with this program; if not, write to the Free Software
-  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-
-  The GNU GPL is contained in /usr/doc/copyright/GPL on a Debian
-  system and in the file COPYING in the Linux kernel source.
 */
 
 
--- a/drivers/atm/firestream.h
+++ b/drivers/atm/firestream.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* drivers/atm/firestream.h - FireStream 155 (MB86697) and
  *                            FireStream  50 (MB86695) device driver 
  */
@@ -8,22 +9,6 @@
  */
 
 /*
-  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; either version 2 of the License, or
-  (at your option) any later version.
-
-  This program is distributed in the hope that it will be useful,
-  but WITHOUT ANY WARRANTY; without even the implied warranty of
-  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-  GNU General Public License for more details.
-
-  You should have received a copy of the GNU General Public License
-  along with this program; if not, write to the Free Software
-  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-
-  The GNU GPL is contained in /usr/doc/copyright/GPL on a Debian
-  system and in the file COPYING in the Linux kernel source.
 */
 
 
--- a/drivers/atm/horizon.c
+++ b/drivers/atm/horizon.c
@@ -1,23 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
   Madge Horizon ATM Adapter driver.
   Copyright (C) 1995-1999  Madge Networks Ltd.
   
-  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; either version 2 of the License, or
-  (at your option) any later version.
-  
-  This program is distributed in the hope that it will be useful,
-  but WITHOUT ANY WARRANTY; without even the implied warranty of
-  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-  GNU General Public License for more details.
-  
-  You should have received a copy of the GNU General Public License
-  along with this program; if not, write to the Free Software
-  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-  
-  The GNU GPL is contained in /usr/doc/copyright/GPL on a Debian
-  system and in the file COPYING in the Linux kernel source.
 */
 
 /*
--- a/drivers/atm/horizon.h
+++ b/drivers/atm/horizon.h
@@ -1,23 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
   Madge Horizon ATM Adapter driver.
   Copyright (C) 1995-1999  Madge Networks Ltd.
 
-  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; either version 2 of the License, or
-  (at your option) any later version.
-
-  This program is distributed in the hope that it will be useful,
-  but WITHOUT ANY WARRANTY; without even the implied warranty of
-  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-  GNU General Public License for more details.
-
-  You should have received a copy of the GNU General Public License
-  along with this program; if not, write to the Free Software
-  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-
-  The GNU GPL is contained in /usr/doc/copyright/GPL on a Debian
-  system and in the file COPYING in the Linux kernel source.
 */
 
 /*





^ permalink raw reply	[flat|nested] 85+ messages in thread

* [patch 13/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 38
  2019-05-20 17:07 [patch 00/25] SPDX cleanup: batch 2 Thomas Gleixner
                   ` (11 preceding siblings ...)
  2019-05-20 17:08 ` [patch 12/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 37 Thomas Gleixner
@ 2019-05-20 17:08 ` Thomas Gleixner
  2019-05-20 22:39   ` Allison Randal
  2019-05-21  0:34   ` Kate Stewart
  2019-05-20 17:08 ` [patch 14/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 39 Thomas Gleixner
                   ` (11 subsequent siblings)
  24 siblings, 2 replies; 85+ messages in thread
From: Thomas Gleixner @ 2019-05-20 17:08 UTC (permalink / raw)
  To: linux-spdx

Based on 1 normalized pattern(s):

  this file is released under the gplv2 and any later version

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

has been chosen to replace the boilerplate/reference in 1 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-spdx@vger.kernel.org

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=c40953a97164
---
 kernel/stop_machine.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

--- a/kernel/stop_machine.c
+++ b/kernel/stop_machine.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * kernel/stop_machine.c
  *
@@ -5,8 +6,6 @@
  * Copyright (C) 2008, 2005	Rusty Russell rusty@rustcorp.com.au
  * Copyright (C) 2010		SUSE Linux Products GmbH
  * Copyright (C) 2010		Tejun Heo <tj@kernel.org>
- *
- * This file is released under the GPLv2 and any later version.
  */
 #include <linux/completion.h>
 #include <linux/cpu.h>





^ permalink raw reply	[flat|nested] 85+ messages in thread

* [patch 14/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 39
  2019-05-20 17:07 [patch 00/25] SPDX cleanup: batch 2 Thomas Gleixner
                   ` (12 preceding siblings ...)
  2019-05-20 17:08 ` [patch 13/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 38 Thomas Gleixner
@ 2019-05-20 17:08 ` Thomas Gleixner
  2019-05-20 22:39   ` Allison Randal
  2019-05-21  0:39   ` Kate Stewart
  2019-05-20 17:08 ` [patch 15/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 40 Thomas Gleixner
                   ` (10 subsequent siblings)
  24 siblings, 2 replies; 85+ messages in thread
From: Thomas Gleixner @ 2019-05-20 17:08 UTC (permalink / raw)
  To: linux-spdx

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 version 2 as
  published by the free software foundation either version 2 of the
  license or at your option any later version

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

has been chosen to replace the boilerplate/reference in 2 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-spdx@vger.kernel.org

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=6369a2b152ec
---
 drivers/spi/spi-cadence.c      |    6 +-----
 drivers/spi/spi-zynqmp-gqspi.c |    6 +-----
 2 files changed, 2 insertions(+), 10 deletions(-)

--- a/drivers/spi/spi-cadence.c
+++ b/drivers/spi/spi-cadence.c
@@ -1,14 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Cadence SPI controller driver (master mode only)
  *
  * Copyright (C) 2008 - 2014 Xilinx, Inc.
  *
  * based on Blackfin On-Chip SPI Driver (spi_bfin5xx.c)
- *
- * This program is free software; you can redistribute it and/or modify it under
- * the terms of the GNU General Public License version 2 as published by the
- * Free Software Foundation; either version 2 of the License, or (at your
- * option) any later version.
  */
 
 #include <linux/clk.h>
--- a/drivers/spi/spi-zynqmp-gqspi.c
+++ b/drivers/spi/spi-zynqmp-gqspi.c
@@ -1,13 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Xilinx Zynq UltraScale+ MPSoC Quad-SPI (QSPI) controller driver
  * (master mode only)
  *
  * Copyright (C) 2009 - 2015 Xilinx, Inc.
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 as published
- * by the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
  */
 
 #include <linux/clk.h>





^ permalink raw reply	[flat|nested] 85+ messages in thread

* [patch 15/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 40
  2019-05-20 17:07 [patch 00/25] SPDX cleanup: batch 2 Thomas Gleixner
                   ` (13 preceding siblings ...)
  2019-05-20 17:08 ` [patch 14/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 39 Thomas Gleixner
@ 2019-05-20 17:08 ` Thomas Gleixner
  2019-05-20 22:40   ` Allison Randal
                     ` (2 more replies)
  2019-05-20 17:08 ` [patch 16/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 41 Thomas Gleixner
                   ` (9 subsequent siblings)
  24 siblings, 3 replies; 85+ messages in thread
From: Thomas Gleixner @ 2019-05-20 17:08 UTC (permalink / raw)
  To: linux-spdx

Based on 1 normalized pattern(s):

  this 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 either version 2 of the license or at your
  option any later version

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

has been chosen to replace the boilerplate/reference in 14 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-spdx@vger.kernel.org

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=071996a06f85
---
 arch/powerpc/boot/cuboot-mpc7448hpc2.c         |    7 +------
 arch/powerpc/include/asm/mpc5xxx.h             |    7 +------
 arch/powerpc/include/asm/mpc85xx.h             |    6 +-----
 arch/powerpc/include/asm/ppc4xx.h              |    7 +------
 arch/powerpc/platforms/512x/clock-commonclk.c  |    6 +-----
 arch/powerpc/platforms/512x/mpc5121_ads.c      |    7 +------
 arch/powerpc/platforms/512x/mpc5121_ads_cpld.c |    6 +-----
 arch/powerpc/platforms/512x/mpc512x_generic.c  |    7 +------
 arch/powerpc/platforms/512x/mpc512x_shared.c   |    6 +-----
 arch/powerpc/platforms/512x/pdm360ng.c         |    7 +------
 drivers/dma/fsldma.c                           |    7 +------
 drivers/dma/fsldma.h                           |    7 +------
 include/linux/dma/xilinx_dma.h                 |    6 +-----
 include/linux/fsldma.h                         |    5 +----
 14 files changed, 14 insertions(+), 77 deletions(-)

--- a/arch/powerpc/boot/cuboot-mpc7448hpc2.c
+++ b/arch/powerpc/boot/cuboot-mpc7448hpc2.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2007 Freescale Semiconductor, Inc. All rights reserved.
  *
@@ -7,12 +8,6 @@
  * Old U-boot compatibility for mpc7448hpc2 board
  * Based on the code of Scott Wood <scottwood@freescale.com>
  * for 83xx and 85xx.
- *
- * This 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;  either version 2 of the  License, or
- * (at your option) any later version.
- *
  */
 
 #include "ops.h"
--- a/arch/powerpc/include/asm/mpc5xxx.h
+++ b/arch/powerpc/include/asm/mpc5xxx.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright (C) 2007 Freescale Semiconductor, Inc. All rights reserved.
  *
@@ -5,12 +6,6 @@
  *
  * Description:
  * MPC5xxx Prototypes and definitions
- *
- * This 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; either version 2 of the License, or
- * (at your option) any later version.
- *
  */
 
 #ifndef __ASM_POWERPC_MPC5xxx_H__
--- a/arch/powerpc/include/asm/mpc85xx.h
+++ b/arch/powerpc/include/asm/mpc85xx.h
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * MPC85xx cpu type detection
  *
  * Copyright 2011-2012 Freescale Semiconductor, Inc.
- *
- * This 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; either version 2 of the License, or
- * (at your option) any later version.
  */
 
 #ifndef __ASM_PPC_MPC85XX_H
--- a/arch/powerpc/include/asm/ppc4xx.h
+++ b/arch/powerpc/include/asm/ppc4xx.h
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * PPC4xx Prototypes and definitions
  *
  * Copyright 2008 DENX Software Engineering, Stefan Roese <sr@denx.de>
- *
- * This 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; either version 2 of the License, or
- * (at your option) any later version.
- *
  */
 
 #ifndef __ASM_POWERPC_PPC4xx_H__
--- a/arch/powerpc/platforms/512x/clock-commonclk.c
+++ b/arch/powerpc/platforms/512x/clock-commonclk.c
@@ -1,14 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2013 DENX Software Engineering
  *
  * Gerhard Sittig, <gsi@denx.de>
  *
  * common clock driver support for the MPC512x platform
- *
- * This 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; either version 2 of the License, or
- * (at your option) any later version.
  */
 
 #include <linux/bitops.h>
--- a/arch/powerpc/platforms/512x/mpc5121_ads.c
+++ b/arch/powerpc/platforms/512x/mpc5121_ads.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2007, 2008 Freescale Semiconductor, Inc. All rights reserved.
  *
@@ -5,12 +6,6 @@
  *
  * Description:
  * MPC5121 ADS board setup
- *
- * This 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; either version 2 of the License, or
- * (at your option) any later version.
- *
  */
 
 #include <linux/kernel.h>
--- a/arch/powerpc/platforms/512x/mpc5121_ads_cpld.c
+++ b/arch/powerpc/platforms/512x/mpc5121_ads_cpld.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2008 Freescale Semiconductor, Inc. All rights reserved.
  *
@@ -5,11 +6,6 @@
  *
  * Description:
  * MPC5121ADS CPLD irq handling
- *
- * This 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; either version 2 of the License, or
- * (at your option) any later version.
  */
 
 #undef DEBUG
--- a/arch/powerpc/platforms/512x/mpc512x_generic.c
+++ b/arch/powerpc/platforms/512x/mpc512x_generic.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2007,2008 Freescale Semiconductor, Inc. All rights reserved.
  *
@@ -5,12 +6,6 @@
  *
  * Description:
  * MPC512x SoC setup
- *
- * This 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; either version 2 of the License, or
- * (at your option) any later version.
- *
  */
 
 #include <linux/kernel.h>
--- a/arch/powerpc/platforms/512x/mpc512x_shared.c
+++ b/arch/powerpc/platforms/512x/mpc512x_shared.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2007,2008 Freescale Semiconductor, Inc. All rights reserved.
  *
@@ -5,11 +6,6 @@
  *
  * Description:
  * MPC512x Shared code
- *
- * This 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; either version 2 of the License, or
- * (at your option) any later version.
  */
 
 #include <linux/clk.h>
--- a/arch/powerpc/platforms/512x/pdm360ng.c
+++ b/arch/powerpc/platforms/512x/pdm360ng.c
@@ -1,15 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2010 DENX Software Engineering
  *
  * Anatolij Gustschin, <agust@denx.de>
  *
  * PDM360NG board setup
- *
- * This 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; either version 2 of the License, or
- * (at your option) any later version.
- *
  */
 
 #include <linux/kernel.h>
--- a/drivers/dma/fsldma.c
+++ b/drivers/dma/fsldma.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Freescale MPC85xx, MPC83xx DMA Engine support
  *
@@ -16,12 +17,6 @@
  * command for PCI read operations, instead of using the default PCI Read Line
  * command. Please be aware that this setting may result in read pre-fetching
  * on some platforms.
- *
- * This 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; either version 2 of the License, or
- * (at your option) any later version.
- *
  */
 
 #include <linux/init.h>
--- a/drivers/dma/fsldma.h
+++ b/drivers/dma/fsldma.h
@@ -1,15 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright (C) 2007-2010 Freescale Semiconductor, Inc. All rights reserved.
  *
  * Author:
  *   Zhang Wei <wei.zhang@freescale.com>, Jul 2007
  *   Ebony Zhu <ebony.zhu@freescale.com>, May 2007
- *
- * This 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; either version 2 of the License, or
- * (at your option) any later version.
- *
  */
 #ifndef __DMA_FSLDMA_H
 #define __DMA_FSLDMA_H
--- a/include/linux/dma/xilinx_dma.h
+++ b/include/linux/dma/xilinx_dma.h
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Xilinx DMA Engine drivers support header file
  *
  * Copyright (C) 2010-2014 Xilinx, Inc. All rights reserved.
- *
- * This 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; either version 2 of the License, or
- * (at your option) any later version.
  */
 
 #ifndef __DMA_XILINX_DMA_H
--- a/include/linux/fsldma.h
+++ b/include/linux/fsldma.h
@@ -1,8 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
- * This 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; either version 2 of the License, or
- * (at your option) any later version.
  */
 
 #ifndef FSL_DMA_H





^ permalink raw reply	[flat|nested] 85+ messages in thread

* [patch 16/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 41
  2019-05-20 17:07 [patch 00/25] SPDX cleanup: batch 2 Thomas Gleixner
                   ` (14 preceding siblings ...)
  2019-05-20 17:08 ` [patch 15/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 40 Thomas Gleixner
@ 2019-05-20 17:08 ` Thomas Gleixner
  2019-05-20 22:41   ` Allison Randal
  2019-05-21  0:42   ` Kate Stewart
  2019-05-20 17:08 ` [patch 17/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 42 Thomas Gleixner
                   ` (8 subsequent siblings)
  24 siblings, 2 replies; 85+ messages in thread
From: Thomas Gleixner @ 2019-05-20 17:08 UTC (permalink / raw)
  To: linux-spdx

Based on 1 normalized pattern(s):

  this module 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 either version 2 of the license or at
  your option any later version

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

has been chosen to replace the boilerplate/reference in 18 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-spdx@vger.kernel.org

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=7aa5fdf75240
---
 drivers/net/hamradio/bpqether.c |    5 +----
 drivers/net/wan/lapbether.c     |    5 +----
 net/lapb/lapb_iface.c           |    5 +----
 net/lapb/lapb_in.c              |    5 +----
 net/lapb/lapb_out.c             |    5 +----
 net/lapb/lapb_subr.c            |    5 +----
 net/lapb/lapb_timer.c           |    5 +----
 net/x25/af_x25.c                |    5 +----
 net/x25/x25_dev.c               |    5 +----
 net/x25/x25_facilities.c        |    5 +----
 net/x25/x25_forward.c           |    5 +----
 net/x25/x25_in.c                |    5 +----
 net/x25/x25_link.c              |    5 +----
 net/x25/x25_out.c               |    5 +----
 net/x25/x25_proc.c              |    5 +----
 net/x25/x25_route.c             |    5 +----
 net/x25/x25_subr.c              |    5 +----
 net/x25/x25_timer.c             |    5 +----
 18 files changed, 18 insertions(+), 72 deletions(-)

--- a/drivers/net/hamradio/bpqether.c
+++ b/drivers/net/hamradio/bpqether.c
@@ -1,13 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *	G8BPQ compatible "AX.25 via ethernet" driver release 004
  *
  *	This code REQUIRES 2.0.0 or higher/ NET3.029
  *
  *	This module:
- *		This module 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; either version
- *		2 of the License, or (at your option) any later version.
  *
  *	This is a "pseudo" network driver to allow AX.25 over Ethernet
  *	using G8BPQ encapsulation. It has been extracted from the protocol
--- a/drivers/net/wan/lapbether.c
+++ b/drivers/net/wan/lapbether.c
@@ -1,13 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *	"LAPB via ethernet" driver release 001
  *
  *	This code REQUIRES 2.1.15 or higher/ NET3.038
  *
  *	This module:
- *		This module 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; either version
- *		2 of the License, or (at your option) any later version.
  *
  *	This is a "pseudo" network driver to allow LAPB over Ethernet.
  *
--- a/net/lapb/lapb_iface.c
+++ b/net/lapb/lapb_iface.c
@@ -1,13 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *	LAPB release 002
  *
  *	This code REQUIRES 2.1.15 or higher/ NET3.038
  *
  *	This module:
- *		This module 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; either version
- *		2 of the License, or (at your option) any later version.
  *
  *	History
  *	LAPB 001	Jonathan Naylor	Started Coding
--- a/net/lapb/lapb_in.c
+++ b/net/lapb/lapb_in.c
@@ -1,13 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *	LAPB release 002
  *
  *	This code REQUIRES 2.1.15 or higher/ NET3.038
  *
  *	This module:
- *		This module 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; either version
- *		2 of the License, or (at your option) any later version.
  *
  *	History
  *	LAPB 001	Jonathan Naulor	Started Coding
--- a/net/lapb/lapb_out.c
+++ b/net/lapb/lapb_out.c
@@ -1,13 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *	LAPB release 002
  *
  *	This code REQUIRES 2.1.15 or higher/ NET3.038
  *
  *	This module:
- *		This module 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; either version
- *		2 of the License, or (at your option) any later version.
  *
  *	History
  *	LAPB 001	Jonathan Naylor	Started Coding
--- a/net/lapb/lapb_subr.c
+++ b/net/lapb/lapb_subr.c
@@ -1,13 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *	LAPB release 002
  *
  *	This code REQUIRES 2.1.15 or higher/ NET3.038
  *
  *	This module:
- *		This module 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; either version
- *		2 of the License, or (at your option) any later version.
  *
  *	History
  *	LAPB 001	Jonathan Naylor	Started Coding
--- a/net/lapb/lapb_timer.c
+++ b/net/lapb/lapb_timer.c
@@ -1,13 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *	LAPB release 002
  *
  *	This code REQUIRES 2.1.15 or higher/ NET3.038
  *
  *	This module:
- *		This module 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; either version
- *		2 of the License, or (at your option) any later version.
  *
  *	History
  *	LAPB 001	Jonathan Naylor	Started Coding
--- a/net/x25/af_x25.c
+++ b/net/x25/af_x25.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *	X.25 Packet Layer release 002
  *
@@ -8,10 +9,6 @@
  *	This code REQUIRES 2.1.15 or higher
  *
  *	This module:
- *		This module 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; either version
- *		2 of the License, or (at your option) any later version.
  *
  *	History
  *	X.25 001	Jonathan Naylor	Started coding.
--- a/net/x25/x25_dev.c
+++ b/net/x25/x25_dev.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *	X.25 Packet Layer release 002
  *
@@ -7,10 +8,6 @@
  *	This code REQUIRES 2.1.15 or higher
  *
  *	This module:
- *		This module 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; either version
- *		2 of the License, or (at your option) any later version.
  *
  *	History
  *	X.25 001	Jonathan Naylor	Started coding.
--- a/net/x25/x25_facilities.c
+++ b/net/x25/x25_facilities.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *	X.25 Packet Layer release 002
  *
@@ -8,10 +9,6 @@
  *	This code REQUIRES 2.1.15 or higher
  *
  *	This module:
- *		This module 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; either version
- *		2 of the License, or (at your option) any later version.
  *
  *	History
  *	X.25 001	Split from x25_subr.c
--- a/net/x25/x25_forward.c
+++ b/net/x25/x25_forward.c
@@ -1,9 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *	This module:
- *		This module 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; either version
- *		2 of the License, or (at your option) any later version.
  *
  *	History
  *	03-01-2007	Added forwarding for x.25	Andrew Hendry
--- a/net/x25/x25_in.c
+++ b/net/x25/x25_in.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *	X.25 Packet Layer release 002
  *
@@ -8,10 +9,6 @@
  *	This code REQUIRES 2.1.15 or higher
  *
  *	This module:
- *		This module 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; either version
- *		2 of the License, or (at your option) any later version.
  *
  *	History
  *	X.25 001	Jonathan Naylor	  Started coding.
--- a/net/x25/x25_link.c
+++ b/net/x25/x25_link.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *	X.25 Packet Layer release 002
  *
@@ -8,10 +9,6 @@
  *	This code REQUIRES 2.1.15 or higher
  *
  *	This module:
- *		This module 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; either version
- *		2 of the License, or (at your option) any later version.
  *
  *	History
  *	X.25 001	Jonathan Naylor	  Started coding.
--- a/net/x25/x25_out.c
+++ b/net/x25/x25_out.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *	X.25 Packet Layer release 002
  *
@@ -8,10 +9,6 @@
  *	This code REQUIRES 2.1.15 or higher
  *
  *	This module:
- *		This module 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; either version
- *		2 of the License, or (at your option) any later version.
  *
  *	History
  *	X.25 001	Jonathan Naylor	Started coding.
--- a/net/x25/x25_proc.c
+++ b/net/x25/x25_proc.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *	X.25 Packet Layer release 002
  *
@@ -8,10 +9,6 @@
  *	This code REQUIRES 2.4 with seq_file support
  *
  *	This module:
- *		This module 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; either version
- *		2 of the License, or (at your option) any later version.
  *
  *	History
  *	2002/10/06	Arnaldo Carvalho de Melo  seq_file support
--- a/net/x25/x25_route.c
+++ b/net/x25/x25_route.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *	X.25 Packet Layer release 002
  *
@@ -8,10 +9,6 @@
  *	This code REQUIRES 2.1.15 or higher
  *
  *	This module:
- *		This module 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; either version
- *		2 of the License, or (at your option) any later version.
  *
  *	History
  *	X.25 001	Jonathan Naylor	Started coding.
--- a/net/x25/x25_subr.c
+++ b/net/x25/x25_subr.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *	X.25 Packet Layer release 002
  *
@@ -8,10 +9,6 @@
  *	This code REQUIRES 2.1.15 or higher
  *
  *	This module:
- *		This module 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; either version
- *		2 of the License, or (at your option) any later version.
  *
  *	History
  *	X.25 001	Jonathan Naylor	  Started coding.
--- a/net/x25/x25_timer.c
+++ b/net/x25/x25_timer.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *	X.25 Packet Layer release 002
  *
@@ -8,10 +9,6 @@
  *	This code REQUIRES 2.1.15 or higher
  *
  *	This module:
- *		This module 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; either version
- *		2 of the License, or (at your option) any later version.
  *
  *	History
  *	X.25 001	Jonathan Naylor	Started coding.





^ permalink raw reply	[flat|nested] 85+ messages in thread

* [patch 17/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 42
  2019-05-20 17:07 [patch 00/25] SPDX cleanup: batch 2 Thomas Gleixner
                   ` (15 preceding siblings ...)
  2019-05-20 17:08 ` [patch 16/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 41 Thomas Gleixner
@ 2019-05-20 17:08 ` Thomas Gleixner
  2019-05-20 22:42   ` Allison Randal
  2019-05-21  0:42   ` Kate Stewart
  2019-05-20 17:08 ` [patch 18/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 43 Thomas Gleixner
                   ` (7 subsequent siblings)
  24 siblings, 2 replies; 85+ messages in thread
From: Thomas Gleixner @ 2019-05-20 17:08 UTC (permalink / raw)
  To: linux-spdx

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 either version 2 of the license or at
  your any later version

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

has been chosen to replace the boilerplate/reference in 1 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-spdx@vger.kernel.org

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=c38ce37dd339
---
 crypto/ansi_cprng.c |    8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

--- a/crypto/ansi_cprng.c
+++ b/crypto/ansi_cprng.c
@@ -1,16 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * PRNG: Pseudo Random Number Generator
  *       Based on NIST Recommended PRNG From ANSI X9.31 Appendix A.2.4 using
  *       AES 128 cipher
  *
  *  (C) Neil Horman <nhorman@tuxdriver.com>
- *
- *  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; either version 2 of the License, or (at your
- *  any later version.
- *
- *
  */
 
 #include <crypto/internal/rng.h>





^ permalink raw reply	[flat|nested] 85+ messages in thread

* [patch 18/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 43
  2019-05-20 17:07 [patch 00/25] SPDX cleanup: batch 2 Thomas Gleixner
                   ` (16 preceding siblings ...)
  2019-05-20 17:08 ` [patch 17/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 42 Thomas Gleixner
@ 2019-05-20 17:08 ` Thomas Gleixner
  2019-05-20 22:54   ` Allison Randal
  2019-05-20 17:08 ` [patch 19/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 44 Thomas Gleixner
                   ` (6 subsequent siblings)
  24 siblings, 1 reply; 85+ messages in thread
From: Thomas Gleixner @ 2019-05-20 17:08 UTC (permalink / raw)
  To: linux-spdx

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 either version 2 of the license or at
  your option any later version the software is provided as is without
  warranty of any kind express or implied including but not limited to
  the warranties of merchantability fitness for a particular purpose
  and noninfringement in no event shall the authors or copyright
  holders be liable for any claim damages or other liability whether
  in an action of contract tort or otherwise arising from out of or in
  connection with the software or the use or other dealings in the
  software

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

has been chosen to replace the boilerplate/reference in 5 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-spdx@vger.kernel.org

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=3d34feaa2366
---
 arch/x86/crypto/crct10dif-pclmul_glue.c |   16 +---------------
 arch/x86/crypto/sha256_ssse3_glue.c     |   15 +--------------
 arch/x86/crypto/sha512_ssse3_glue.c     |   16 +---------------
 crypto/crct10dif_common.c               |   16 +---------------
 crypto/crct10dif_generic.c              |   16 +---------------
 5 files changed, 5 insertions(+), 74 deletions(-)

--- a/arch/x86/crypto/crct10dif-pclmul_glue.c
+++ b/arch/x86/crypto/crct10dif-pclmul_glue.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Cryptographic API.
  *
@@ -5,21 +6,6 @@
  *
  * Copyright (C) 2013 Intel Corporation
  * Author: Tim Chen <tim.c.chen@linux.intel.com>
- *
- * 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; either version 2 of the License, or (at your option)
- * any later version.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
- * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
- * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- *
  */
 
 #include <linux/types.h>
--- a/arch/x86/crypto/sha256_ssse3_glue.c
+++ b/arch/x86/crypto/sha256_ssse3_glue.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Cryptographic API.
  *
@@ -10,20 +11,6 @@
  *
  * Author:
  *     Tim Chen <tim.c.chen@linux.intel.com>
- *
- * 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; either version 2 of the License, or (at your option)
- * any later version.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
- * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
- * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
  */
 
 
--- a/arch/x86/crypto/sha512_ssse3_glue.c
+++ b/arch/x86/crypto/sha512_ssse3_glue.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Cryptographic API.
  *
@@ -8,21 +9,6 @@
  *
  * Copyright (C) 2013 Intel Corporation
  * Author: Tim Chen <tim.c.chen@linux.intel.com>
- *
- * 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; either version 2 of the License, or (at your option)
- * any later version.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
- * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
- * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- *
  */
 
 #define pr_fmt(fmt)	KBUILD_MODNAME ": " fmt
--- a/crypto/crct10dif_common.c
+++ b/crypto/crct10dif_common.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Cryptographic API.
  *
@@ -7,21 +8,6 @@
  * Written by Martin K. Petersen <martin.petersen@oracle.com>
  * Copyright (C) 2013 Intel Corporation
  * Author: Tim Chen <tim.c.chen@linux.intel.com>
- *
- * 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; either version 2 of the License, or (at your option)
- * any later version.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
- * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
- * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- *
  */
 
 #include <linux/crc-t10dif.h>
--- a/crypto/crct10dif_generic.c
+++ b/crypto/crct10dif_generic.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Cryptographic API.
  *
@@ -7,21 +8,6 @@
  * Written by Martin K. Petersen <martin.petersen@oracle.com>
  * Copyright (C) 2013 Intel Corporation
  * Author: Tim Chen <tim.c.chen@linux.intel.com>
- *
- * 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; either version 2 of the License, or (at your option)
- * any later version.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
- * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
- * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- *
  */
 
 #include <linux/module.h>





^ permalink raw reply	[flat|nested] 85+ messages in thread

* [patch 19/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 44
  2019-05-20 17:07 [patch 00/25] SPDX cleanup: batch 2 Thomas Gleixner
                   ` (17 preceding siblings ...)
  2019-05-20 17:08 ` [patch 18/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 43 Thomas Gleixner
@ 2019-05-20 17:08 ` Thomas Gleixner
  2019-05-20 22:56   ` Allison Randal
  2019-05-21  0:46   ` Kate Stewart
  2019-05-20 17:08 ` [patch 20/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 45 Thomas Gleixner
                   ` (5 subsequent siblings)
  24 siblings, 2 replies; 85+ messages in thread
From: Thomas Gleixner @ 2019-05-20 17:08 UTC (permalink / raw)
  To: linux-spdx

Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of gnu general public license as published by the
  free software foundation either version 2 of the license or at your
  option any later version

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

has been chosen to replace the boilerplate/reference in 1 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-spdx@vger.kernel.org

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=5dfa3cc12874
---
 crypto/cast_common.c |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

--- a/crypto/cast_common.c
+++ b/crypto/cast_common.c
@@ -1,15 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Common lookup tables for CAST-128 (cast5) and CAST-256 (cast6)
  *
  * Copyright © 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
  * Copyright © 2003 Kartikey Mahendra Bhatt <kartik_me@hotmail.com>
  * Copyright © 2012 Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of GNU General Public License as published by the Free
- * Software Foundation; either version 2 of the License, or (at your option)
- * any later version.
- *
  */
 
 #include <linux/module.h>





^ permalink raw reply	[flat|nested] 85+ messages in thread

* [patch 20/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 45
  2019-05-20 17:07 [patch 00/25] SPDX cleanup: batch 2 Thomas Gleixner
                   ` (18 preceding siblings ...)
  2019-05-20 17:08 ` [patch 19/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 44 Thomas Gleixner
@ 2019-05-20 17:08 ` Thomas Gleixner
  2019-05-20 22:58   ` Allison Randal
  2019-05-21  0:47   ` Kate Stewart
  2019-05-20 17:08 ` [patch 21/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 46 Thomas Gleixner
                   ` (4 subsequent siblings)
  24 siblings, 2 replies; 85+ messages in thread
From: Thomas Gleixner @ 2019-05-20 17:08 UTC (permalink / raw)
  To: linux-spdx

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 either version 2 or at your option any
  later version

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

has been chosen to replace the boilerplate/reference in 11 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-spdx@vger.kernel.org

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=1e1d6a5564f4
---
 arch/mips/cavium-octeon/crypto/octeon-sha512.c |    6 +-----
 crypto/sha512_generic.c                        |    7 +------
 drivers/ata/ahci_da850.c                       |    6 +-----
 drivers/ata/ahci_dm816.c                       |    6 +-----
 drivers/ata/ahci_platform.c                    |    6 +-----
 drivers/ata/ahci_qoriq.c                       |    6 +-----
 drivers/ata/libahci_platform.c                 |    6 +-----
 drivers/md/md-cluster.c                        |    7 +------
 drivers/scsi/scsi_debug.c                      |    7 +------
 drivers/scsi/sg.c                              |    7 +------
 include/linux/ahci_platform.h                  |    6 +-----
 11 files changed, 11 insertions(+), 59 deletions(-)

--- a/arch/mips/cavium-octeon/crypto/octeon-sha512.c
+++ b/arch/mips/cavium-octeon/crypto/octeon-sha512.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Cryptographic API.
  *
@@ -10,11 +11,6 @@
  * Copyright (c) Jean-Luc Cooke <jlcooke@certainkey.com>
  * Copyright (c) Andrew McDonald <andrew@mcdonald.org.uk>
  * Copyright (c) 2003 Kyle McMartin <kyle@debian.org>
- *
- * 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; either version 2, or (at your option) any
- * later version.
  */
 
 #include <linux/mm.h>
--- a/crypto/sha512_generic.c
+++ b/crypto/sha512_generic.c
@@ -1,14 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* SHA-512 code by Jean-Luc Cooke <jlcooke@certainkey.com>
  *
  * Copyright (c) Jean-Luc Cooke <jlcooke@certainkey.com>
  * Copyright (c) Andrew McDonald <andrew@mcdonald.org.uk>
  * Copyright (c) 2003 Kyle McMartin <kyle@debian.org>
- *
- * 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; either version 2, or (at your option) any
- * later version.
- *
  */
 #include <crypto/internal/hash.h>
 #include <linux/kernel.h>
--- a/drivers/ata/ahci_da850.c
+++ b/drivers/ata/ahci_da850.c
@@ -1,10 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * DaVinci DA850 AHCI SATA platform driver
- *
- * 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; either version 2, or (at your option)
- * any later version.
  */
 
 #include <linux/kernel.h>
--- a/drivers/ata/ahci_dm816.c
+++ b/drivers/ata/ahci_dm816.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * DaVinci DM816 AHCI SATA platform driver
  *
  * Copyright (C) 2017 BayLibre SAS
- *
- * 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; either version 2, or (at your option)
- * any later version.
  */
 
 #include <linux/kernel.h>
--- a/drivers/ata/ahci_platform.c
+++ b/drivers/ata/ahci_platform.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * AHCI SATA platform driver
  *
@@ -5,11 +6,6 @@
  *   Jeff Garzik <jgarzik@pobox.com>
  * Copyright 2010  MontaVista Software, LLC.
  *   Anton Vorontsov <avorontsov@ru.mvista.com>
- *
- * 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; either version 2, or (at your option)
- * any later version.
  */
 
 #include <linux/kernel.h>
--- a/drivers/ata/ahci_qoriq.c
+++ b/drivers/ata/ahci_qoriq.c
@@ -1,13 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Freescale QorIQ AHCI SATA platform driver
  *
  * Copyright 2015 Freescale, Inc.
  *   Tang Yuantian <Yuantian.Tang@freescale.com>
- *
- * 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; either version 2, or (at your option)
- * any later version.
  */
 
 #include <linux/kernel.h>
--- a/drivers/ata/libahci_platform.c
+++ b/drivers/ata/libahci_platform.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * AHCI SATA platform library
  *
@@ -5,11 +6,6 @@
  *   Jeff Garzik <jgarzik@pobox.com>
  * Copyright 2010  MontaVista Software, LLC.
  *   Anton Vorontsov <avorontsov@ru.mvista.com>
- *
- * 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; either version 2, or (at your option)
- * any later version.
  */
 
 #include <linux/clk.h>
--- a/drivers/md/md-cluster.c
+++ b/drivers/md/md-cluster.c
@@ -1,11 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2015, SUSE
- *
- * 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; either version 2, or (at your option)
- * any later version.
- *
  */
 
 
--- a/drivers/scsi/scsi_debug.c
+++ b/drivers/scsi/scsi_debug.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * vvvvvvvvvvvvvvvvvvvvvvv Original vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
  *  Copyright (C) 1992  Eric Youngdale
@@ -8,13 +9,7 @@
  *
  * Copyright (C) 2001 - 2018 Douglas Gilbert
  *
- * 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; either version 2, or (at your option)
- * any later version.
- *
  *  For documentation see http://sg.danny.cz/sg/sdebug26.html
- *
  */
 
 
--- a/drivers/scsi/sg.c
+++ b/drivers/scsi/sg.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *  History:
  *  Started: Aug 9 by Lawrence Foard (entropy@world.std.com),
@@ -8,12 +9,6 @@
  *        Copyright (C) 1992 Lawrence Foard
  * Version 2 and 3 extensions to driver:
  *        Copyright (C) 1998 - 2014 Douglas Gilbert
- *
- * 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; either version 2, or (at your option)
- * any later version.
- *
  */
 
 static int sg_version_num = 30536;	/* 2 digits for each component */
--- a/include/linux/ahci_platform.h
+++ b/include/linux/ahci_platform.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * AHCI SATA platform driver
  *
@@ -5,11 +6,6 @@
  *   Jeff Garzik <jgarzik@pobox.com>
  * Copyright 2010  MontaVista Software, LLC.
  *   Anton Vorontsov <avorontsov@ru.mvista.com>
- *
- * 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; either version 2, or (at your option)
- * any later version.
  */
 
 #ifndef _AHCI_PLATFORM_H





^ permalink raw reply	[flat|nested] 85+ messages in thread

* [patch 21/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 46
  2019-05-20 17:07 [patch 00/25] SPDX cleanup: batch 2 Thomas Gleixner
                   ` (19 preceding siblings ...)
  2019-05-20 17:08 ` [patch 20/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 45 Thomas Gleixner
@ 2019-05-20 17:08 ` Thomas Gleixner
  2019-05-20 22:59   ` Allison Randal
  2019-05-21  0:47   ` Kate Stewart
  2019-05-20 17:08 ` [patch 22/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 47 Thomas Gleixner
                   ` (3 subsequent siblings)
  24 siblings, 2 replies; 85+ messages in thread
From: Thomas Gleixner @ 2019-05-20 17:08 UTC (permalink / raw)
  To: linux-spdx

Based on 1 normalized pattern(s):

  this driver 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 either version 2 of the license or at
  your option any later version

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

has been chosen to replace the boilerplate/reference in 5 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-spdx@vger.kernel.org

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=1fc8e3659661
---
 sound/pci/hda/hda_auto_parser.c |    6 +-----
 sound/pci/hda/hda_auto_parser.h |    6 +-----
 sound/pci/hda/hda_generic.h     |    6 +-----
 sound/pci/hda/hda_jack.c        |    6 +-----
 sound/pci/hda/hda_jack.h        |    6 +-----
 5 files changed, 5 insertions(+), 25 deletions(-)

--- a/sound/pci/hda/hda_auto_parser.c
+++ b/sound/pci/hda/hda_auto_parser.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * BIOS auto-parser helper functions for HD-audio
  *
  * Copyright (c) 2012 Takashi Iwai <tiwai@suse.de>
- *
- * This driver 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; either version 2 of the License, or
- * (at your option) any later version.
  */
 
 #include <linux/slab.h>
--- a/sound/pci/hda/hda_auto_parser.h
+++ b/sound/pci/hda/hda_auto_parser.h
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * BIOS auto-parser helper functions for HD-audio
  *
  * Copyright (c) 2012 Takashi Iwai <tiwai@suse.de>
- *
- * This driver 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; either version 2 of the License, or
- * (at your option) any later version.
  */
 
 #ifndef __SOUND_HDA_AUTO_PARSER_H
--- a/sound/pci/hda/hda_generic.h
+++ b/sound/pci/hda/hda_generic.h
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Generic BIOS auto-parser helper functions for HD-audio
  *
  * Copyright (c) 2012 Takashi Iwai <tiwai@suse.de>
- *
- * This driver 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; either version 2 of the License, or
- * (at your option) any later version.
  */
 
 #ifndef __SOUND_HDA_GENERIC_H
--- a/sound/pci/hda/hda_jack.c
+++ b/sound/pci/hda/hda_jack.c
@@ -1,12 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Jack-detection handling for HD-audio
  *
  * Copyright (c) 2011 Takashi Iwai <tiwai@suse.de>
- *
- * This driver 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; either version 2 of the License, or
- * (at your option) any later version.
  */
 
 #include <linux/init.h>
--- a/sound/pci/hda/hda_jack.h
+++ b/sound/pci/hda/hda_jack.h
@@ -1,12 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Jack-detection handling for HD-audio
  *
  * Copyright (c) 2011 Takashi Iwai <tiwai@suse.de>
- *
- * This driver 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; either version 2 of the License, or
- * (at your option) any later version.
  */
 
 #ifndef __SOUND_HDA_JACK_H





^ permalink raw reply	[flat|nested] 85+ messages in thread

* [patch 22/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 47
  2019-05-20 17:07 [patch 00/25] SPDX cleanup: batch 2 Thomas Gleixner
                   ` (20 preceding siblings ...)
  2019-05-20 17:08 ` [patch 21/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 46 Thomas Gleixner
@ 2019-05-20 17:08 ` Thomas Gleixner
  2019-05-20 23:00   ` Allison Randal
  2019-05-21  0:48   ` Kate Stewart
  2019-05-20 17:08 ` [patch 23/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 48 Thomas Gleixner
                   ` (2 subsequent siblings)
  24 siblings, 2 replies; 85+ messages in thread
From: Thomas Gleixner @ 2019-05-20 17:08 UTC (permalink / raw)
  To: linux-spdx

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 either version 2 or at your option any
  later version you should have received a copy of the gnu general
  public license for example usr src linux copying if not write to the
  free software foundation inc 675 mass ave cambridge ma 02139 usa

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

has been chosen to replace the boilerplate/reference in 20 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-spdx@vger.kernel.org

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=6db9aef3d74f
---
 arch/alpha/include/asm/xor.h    |   10 +---------
 arch/ia64/include/asm/xor.h     |   10 +---------
 arch/ia64/lib/xor.S             |   10 +---------
 arch/sparc/include/asm/xor_32.h |   10 +---------
 arch/sparc/include/asm/xor_64.h |   10 +---------
 arch/x86/include/asm/xor.h      |   10 +---------
 arch/x86/include/asm/xor_32.h   |   10 +---------
 crypto/xor.c                    |   10 +---------
 drivers/ide/ide-pnp.c           |   10 +---------
 drivers/md/md-faulty.c          |   11 +----------
 drivers/md/md-linear.c          |    9 +--------
 drivers/md/md-multipath.c       |   10 +---------
 drivers/md/md.c                 |    9 +--------
 drivers/md/md.h                 |    9 +--------
 drivers/md/raid0.c              |    9 +--------
 drivers/md/raid1.c              |   10 +---------
 drivers/md/raid10.c             |   11 +----------
 drivers/md/raid5.c              |   10 +---------
 include/asm-generic/xor.h       |   10 +---------
 include/linux/raid/md_u.h       |    9 +--------
 20 files changed, 20 insertions(+), 177 deletions(-)

--- a/arch/alpha/include/asm/xor.h
+++ b/arch/alpha/include/asm/xor.h
@@ -1,16 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * include/asm-alpha/xor.h
  *
  * Optimized RAID-5 checksumming functions for alpha EV5 and EV6
- *
- * 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; either version 2, or (at your option)
- * any later version.
- *
- * You should have received a copy of the GNU General Public License
- * (for example /usr/src/linux/COPYING); if not, write to the Free
- * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
 extern void xor_alpha_2(unsigned long, unsigned long *, unsigned long *);
--- a/arch/ia64/include/asm/xor.h
+++ b/arch/ia64/include/asm/xor.h
@@ -1,14 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Optimized RAID-5 checksumming functions for IA-64.
- *
- * 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; either version 2, or (at your option)
- * any later version.
- *
- * You should have received a copy of the GNU General Public License
- * (for example /usr/src/linux/COPYING); if not, write to the Free
- * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
 
--- a/arch/ia64/lib/xor.S
+++ b/arch/ia64/lib/xor.S
@@ -1,16 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * arch/ia64/lib/xor.S
  *
  * Optimized RAID-5 checksumming functions for IA-64.
- *
- * 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; either version 2, or (at your option)
- * any later version.
- *
- * You should have received a copy of the GNU General Public License
- * (for example /usr/src/linux/COPYING); if not, write to the Free
- * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
 #include <asm/asmmacro.h>
--- a/arch/sparc/include/asm/xor_32.h
+++ b/arch/sparc/include/asm/xor_32.h
@@ -1,16 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * include/asm/xor.h
  *
  * Optimized RAID-5 checksumming functions for 32-bit Sparc.
- *
- * 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; either version 2, or (at your option)
- * any later version.
- *
- * You should have received a copy of the GNU General Public License
- * (for example /usr/src/linux/COPYING); if not, write to the Free
- * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
 /*
--- a/arch/sparc/include/asm/xor_64.h
+++ b/arch/sparc/include/asm/xor_64.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * include/asm/xor.h
  *
@@ -7,15 +8,6 @@
  *
  * Copyright (C) 1997, 1999 Jakub Jelinek (jj@ultra.linux.cz)
  * Copyright (C) 2006 David S. Miller <davem@davemloft.net>
- *
- * 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; either version 2, or (at your option)
- * any later version.
- *
- * You should have received a copy of the GNU General Public License
- * (for example /usr/src/linux/COPYING); if not, write to the Free
- * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
 #include <asm/spitfire.h>
--- a/arch/x86/include/asm/xor.h
+++ b/arch/x86/include/asm/xor.h
@@ -1,17 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 #ifndef _ASM_X86_XOR_H
 #define _ASM_X86_XOR_H
 
 /*
  * Optimized RAID-5 checksumming functions for SSE.
- *
- * 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; either version 2, or (at your option)
- * any later version.
- *
- * You should have received a copy of the GNU General Public License
- * (for example /usr/src/linux/COPYING); if not, write to the Free
- * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
 /*
--- a/arch/x86/include/asm/xor_32.h
+++ b/arch/x86/include/asm/xor_32.h
@@ -1,17 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 #ifndef _ASM_X86_XOR_32_H
 #define _ASM_X86_XOR_32_H
 
 /*
  * Optimized RAID-5 checksumming functions for MMX.
- *
- * 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; either version 2, or (at your option)
- * any later version.
- *
- * You should have received a copy of the GNU General Public License
- * (for example /usr/src/linux/COPYING); if not, write to the Free
- * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
 /*
--- a/crypto/xor.c
+++ b/crypto/xor.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * xor.c : Multiple Devices driver for Linux
  *
@@ -5,15 +6,6 @@
  * Ingo Molnar, Matti Aarnio, Jakub Jelinek, Richard Henderson.
  *
  * Dispatch optimized RAID-5 checksumming functions.
- *
- * 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; either version 2, or (at your option)
- * any later version.
- *
- * You should have received a copy of the GNU General Public License
- * (for example /usr/src/linux/COPYING); if not, write to the Free
- * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
 #define BH_TRACE 0
--- a/drivers/ide/ide-pnp.c
+++ b/drivers/ide/ide-pnp.c
@@ -1,17 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * This file provides autodetection for ISA PnP IDE interfaces.
  * It was tested with "ESS ES1868 Plug and Play AudioDrive" IDE interface.
  *
  * Copyright (C) 2000 Andrey Panin <pazke@donpac.ru>
- *
- * 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; either version 2, or (at your option)
- * any later version.
- *
- * You should have received a copy of the GNU General Public License
- * (for example /usr/src/linux/COPYING); if not, write to the Free
- * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
 #include <linux/init.h>
--- a/drivers/md/md-faulty.c
+++ b/drivers/md/md-faulty.c
@@ -1,19 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * faulty.c : Multiple Devices driver for Linux
  *
  * Copyright (C) 2004 Neil Brown
  *
  * fautly-device-simulator personality for md
- *
- *
- * 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; either version 2, or (at your option)
- * any later version.
- *
- * You should have received a copy of the GNU General Public License
- * (for example /usr/src/linux/COPYING); if not, write to the Free
- * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
 
--- a/drivers/md/md-linear.c
+++ b/drivers/md/md-linear.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
    linear.c : Multiple Devices driver for Linux
 	      Copyright (C) 1994-96 Marc ZYNGIER
@@ -6,14 +7,6 @@
 
    Linear mode management functions.
 
-   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; either version 2, or (at your option)
-   any later version.
-
-   You should have received a copy of the GNU General Public License
-   (for example /usr/src/linux/COPYING); if not, write to the Free
-   Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
 
 #include <linux/blkdev.h>
--- a/drivers/md/md-multipath.c
+++ b/drivers/md/md-multipath.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * multipath.c : Multiple Devices driver for Linux
  *
@@ -8,15 +9,6 @@
  * MULTIPATH management functions.
  *
  * derived from raid1.c.
- *
- * 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; either version 2, or (at your option)
- * any later version.
- *
- * You should have received a copy of the GNU General Public License
- * (for example /usr/src/linux/COPYING); if not, write to the Free
- * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
 #include <linux/blkdev.h>
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
    md.c : Multiple Devices driver for Linux
      Copyright (C) 1998, 1999, 2000 Ingo Molnar
@@ -22,14 +23,6 @@
    - persistent bitmap code
      Copyright (C) 2003-2004, Paul Clements, SteelEye Technology, Inc.
 
-   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; either version 2, or (at your option)
-   any later version.
-
-   You should have received a copy of the GNU General Public License
-   (for example /usr/src/linux/COPYING); if not, write to the Free
-   Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
    Errors, Warnings, etc.
    Please use:
--- a/drivers/md/md.h
+++ b/drivers/md/md.h
@@ -1,15 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
    md.h : kernel internal structure of the Linux MD driver
           Copyright (C) 1996-98 Ingo Molnar, Gadi Oxman
 
-   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; either version 2, or (at your option)
-   any later version.
-
-   You should have received a copy of the GNU General Public License
-   (for example /usr/src/linux/COPYING); if not, write to the Free
-   Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
 
 #ifndef _MD_MD_H
--- a/drivers/md/raid0.c
+++ b/drivers/md/raid0.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
    raid0.c : Multiple Devices driver for Linux
 	     Copyright (C) 1994-96 Marc ZYNGIER
@@ -7,14 +8,6 @@
 
    RAID-0 management functions.
 
-   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; either version 2, or (at your option)
-   any later version.
-
-   You should have received a copy of the GNU General Public License
-   (for example /usr/src/linux/COPYING); if not, write to the Free
-   Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
 
 #include <linux/blkdev.h>
--- a/drivers/md/raid1.c
+++ b/drivers/md/raid1.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * raid1.c : Multiple Devices driver for Linux
  *
@@ -20,15 +21,6 @@
  *
  * Additions to bitmap code, (C) 2003-2004 Paul Clements, SteelEye Technology:
  * - persistent bitmap code
- *
- * 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; either version 2, or (at your option)
- * any later version.
- *
- * You should have received a copy of the GNU General Public License
- * (for example /usr/src/linux/COPYING); if not, write to the Free
- * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
 #include <linux/slab.h>
--- a/drivers/md/raid10.c
+++ b/drivers/md/raid10.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * raid10.c : Multiple Devices driver for Linux
  *
@@ -6,16 +7,6 @@
  * RAID-10 support for md.
  *
  * Base on code in raid1.c.  See raid1.c for further copyright information.
- *
- *
- * 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; either version 2, or (at your option)
- * any later version.
- *
- * You should have received a copy of the GNU General Public License
- * (for example /usr/src/linux/COPYING); if not, write to the Free
- * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
 #include <linux/slab.h>
--- a/drivers/md/raid5.c
+++ b/drivers/md/raid5.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * raid5.c : Multiple Devices driver for Linux
  *	   Copyright (C) 1996, 1997 Ingo Molnar, Miguel de Icaza, Gadi Oxman
@@ -7,15 +8,6 @@
  * RAID-4/5/6 management functions.
  * Thanks to Penguin Computing for making the RAID-6 development possible
  * by donating a test server!
- *
- * 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; either version 2, or (at your option)
- * any later version.
- *
- * You should have received a copy of the GNU General Public License
- * (for example /usr/src/linux/COPYING); if not, write to the Free
- * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
 /*
--- a/include/asm-generic/xor.h
+++ b/include/asm-generic/xor.h
@@ -1,16 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * include/asm-generic/xor.h
  *
  * Generic optimized RAID-5 checksumming functions.
- *
- * 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; either version 2, or (at your option)
- * any later version.
- *
- * You should have received a copy of the GNU General Public License
- * (for example /usr/src/linux/COPYING); if not, write to the Free
- * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
 #include <linux/prefetch.h>
--- a/include/linux/raid/md_u.h
+++ b/include/linux/raid/md_u.h
@@ -1,15 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
    md_u.h : user <=> kernel API between Linux raidtools and RAID drivers
           Copyright (C) 1998 Ingo Molnar
 	  
-   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; either version 2, or (at your option)
-   any later version.
-   
-   You should have received a copy of the GNU General Public License
-   (for example /usr/src/linux/COPYING); if not, write to the Free
-   Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  
 */
 #ifndef _MD_U_H
 #define _MD_U_H





^ permalink raw reply	[flat|nested] 85+ messages in thread

* [patch 23/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 48
  2019-05-20 17:07 [patch 00/25] SPDX cleanup: batch 2 Thomas Gleixner
                   ` (21 preceding siblings ...)
  2019-05-20 17:08 ` [patch 22/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 47 Thomas Gleixner
@ 2019-05-20 17:08 ` Thomas Gleixner
  2019-05-20 23:02   ` Allison Randal
  2019-05-21  0:49   ` Kate Stewart
  2019-05-20 17:08 ` [patch 24/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 49 Thomas Gleixner
  2019-05-20 17:08 ` [patch 25/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 50 Thomas Gleixner
  24 siblings, 2 replies; 85+ messages in thread
From: Thomas Gleixner @ 2019-05-20 17:08 UTC (permalink / raw)
  To: linux-spdx

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@linutronix.de>
Cc: linux-spdx@vger.kernel.org

---
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.
- *
  * ----------------------------------------------------------------------- */
 
 /*





^ permalink raw reply	[flat|nested] 85+ messages in thread

* [patch 24/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 49
  2019-05-20 17:07 [patch 00/25] SPDX cleanup: batch 2 Thomas Gleixner
                   ` (22 preceding siblings ...)
  2019-05-20 17:08 ` [patch 23/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 48 Thomas Gleixner
@ 2019-05-20 17:08 ` Thomas Gleixner
  2019-05-20 23:04   ` Allison Randal
  2019-05-21  0:49   ` Kate Stewart
  2019-05-20 17:08 ` [patch 25/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 50 Thomas Gleixner
  24 siblings, 2 replies; 85+ messages in thread
From: Thomas Gleixner @ 2019-05-20 17:08 UTC (permalink / raw)
  To: linux-spdx

Based on 1 normalized pattern(s):

  this file 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 either version 2 or at your option any
  later version this file is distributed in the hope that it will be
  useful but without any warranty without even the implied warranty of
  merchantability or fitness for a particular purpose see the gnu
  general public license for more details you should have received a
  copy of the gnu general public license along with this file if not
  write to the free software foundation inc 59 temple place suite 330
  boston ma 02111 1307 usa

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

has been chosen to replace the boilerplate/reference in 2 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-spdx@vger.kernel.org

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=227a01c02eb7
---
 drivers/mtd/nand/raw/nand_bch.c |   15 +--------------
 drivers/mtd/nand/raw/nand_ecc.c |   16 +---------------
 2 files changed, 2 insertions(+), 29 deletions(-)

--- a/drivers/mtd/nand/raw/nand_bch.c
+++ b/drivers/mtd/nand/raw/nand_bch.c
@@ -1,22 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * This file provides ECC correction for more than 1 bit per block of data,
  * using binary BCH codes. It relies on the generic BCH library lib/bch.c.
  *
  * Copyright © 2011 Ivan Djelic <ivan.djelic@parrot.com>
- *
- * This file 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; either version 2 or (at your option) any
- * later version.
- *
- * This file is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this file; if not, write to the Free Software Foundation, Inc.,
- * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
  */
 
 #include <linux/types.h>
--- a/drivers/mtd/nand/raw/nand_ecc.c
+++ b/drivers/mtd/nand/raw/nand_ecc.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * This file contains an ECC algorithm that detects and corrects 1 bit
  * errors in a 256 byte block of data.
@@ -11,21 +12,6 @@
  *
  * Information on how this algorithm works and how it was developed
  * can be found in Documentation/mtd/nand_ecc.txt
- *
- * This file 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; either version 2 or (at your option) any
- * later version.
- *
- * This file is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this file; if not, write to the Free Software Foundation, Inc.,
- * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
- *
  */
 
 #include <linux/types.h>





^ permalink raw reply	[flat|nested] 85+ messages in thread

* [patch 25/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 50
  2019-05-20 17:07 [patch 00/25] SPDX cleanup: batch 2 Thomas Gleixner
                   ` (23 preceding siblings ...)
  2019-05-20 17:08 ` [patch 24/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 49 Thomas Gleixner
@ 2019-05-20 17:08 ` Thomas Gleixner
  2019-05-20 23:05   ` Allison Randal
  2019-05-21  0:50   ` Kate Stewart
  24 siblings, 2 replies; 85+ messages in thread
From: Thomas Gleixner @ 2019-05-20 17:08 UTC (permalink / raw)
  To: linux-spdx

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 either version 2 or at your option any
  later version this program is distributed in the hope that it will
  be useful but without any warranties or representations without even
  the implied warranty of merchantability or fitness for a particular
  purpose see the gnu general public license for more details you
  should have received a copy of the gnu general public license along
  with this program if not write to the free software foundation inc
  59 temple place suite 330 boston ma 02111 1307 usa

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

has been chosen to replace the boilerplate/reference in 43 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-spdx@vger.kernel.org

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=b11aacd961c1
---
 drivers/video/fbdev/via/accel.c           |   16 +---------------
 drivers/video/fbdev/via/accel.h           |   16 +---------------
 drivers/video/fbdev/via/chip.h            |   16 +---------------
 drivers/video/fbdev/via/debug.h           |   16 +---------------
 drivers/video/fbdev/via/dvi.c             |   16 +---------------
 drivers/video/fbdev/via/dvi.h             |   16 +---------------
 drivers/video/fbdev/via/global.c          |   16 +---------------
 drivers/video/fbdev/via/global.h          |   16 +---------------
 drivers/video/fbdev/via/hw.c              |   16 +---------------
 drivers/video/fbdev/via/hw.h              |   16 +---------------
 drivers/video/fbdev/via/ioctl.c           |   16 +---------------
 drivers/video/fbdev/via/ioctl.h           |   16 +---------------
 drivers/video/fbdev/via/lcd.c             |   16 +---------------
 drivers/video/fbdev/via/lcd.h             |   16 +---------------
 drivers/video/fbdev/via/share.h           |   16 +---------------
 drivers/video/fbdev/via/tblDPASetting.c   |   16 +---------------
 drivers/video/fbdev/via/tblDPASetting.h   |   16 +---------------
 drivers/video/fbdev/via/via_aux.c         |   17 +----------------
 drivers/video/fbdev/via/via_aux.h         |   17 +----------------
 drivers/video/fbdev/via/via_aux_ch7301.c  |   17 +----------------
 drivers/video/fbdev/via/via_aux_edid.c    |   17 +----------------
 drivers/video/fbdev/via/via_aux_sii164.c  |   17 +----------------
 drivers/video/fbdev/via/via_aux_vt1621.c  |   17 +----------------
 drivers/video/fbdev/via/via_aux_vt1622.c  |   17 +----------------
 drivers/video/fbdev/via/via_aux_vt1625.c  |   17 +----------------
 drivers/video/fbdev/via/via_aux_vt1631.c  |   17 +----------------
 drivers/video/fbdev/via/via_aux_vt1632.c  |   17 +----------------
 drivers/video/fbdev/via/via_aux_vt1636.c  |   17 +----------------
 drivers/video/fbdev/via/via_clock.c       |   17 +----------------
 drivers/video/fbdev/via/via_clock.h       |   17 +----------------
 drivers/video/fbdev/via/via_i2c.c         |   16 +---------------
 drivers/video/fbdev/via/via_modesetting.c |   17 +----------------
 drivers/video/fbdev/via/via_modesetting.h |   17 +----------------
 drivers/video/fbdev/via/via_utility.c     |   16 +---------------
 drivers/video/fbdev/via/via_utility.h     |   16 +---------------
 drivers/video/fbdev/via/viafbdev.c        |   16 +---------------
 drivers/video/fbdev/via/viafbdev.h        |   16 +---------------
 drivers/video/fbdev/via/viamode.c         |   16 +---------------
 drivers/video/fbdev/via/viamode.h         |   16 +---------------
 drivers/video/fbdev/via/vt1636.c          |   16 +---------------
 drivers/video/fbdev/via/vt1636.h          |   16 +---------------
 include/linux/via-core.h                  |   17 +----------------
 include/linux/via_i2c.h                   |   16 +---------------
 43 files changed, 43 insertions(+), 661 deletions(-)

--- a/drivers/video/fbdev/via/accel.c
+++ b/drivers/video/fbdev/via/accel.c
@@ -1,22 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
  * Copyright 2001-2008 S3 Graphics, Inc. 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;
- * either version 2, or (at your option) any later version.
-
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
-
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 #include <linux/via-core.h>
 #include "global.h"
--- a/drivers/video/fbdev/via/accel.h
+++ b/drivers/video/fbdev/via/accel.h
@@ -1,22 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
  * Copyright 2001-2008 S3 Graphics, Inc. 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;
- * either version 2, or (at your option) any later version.
-
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
-
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
 #ifndef __ACCEL_H__
--- a/drivers/video/fbdev/via/chip.h
+++ b/drivers/video/fbdev/via/chip.h
@@ -1,22 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
  * Copyright 2001-2008 S3 Graphics, Inc. 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;
- * either version 2, or (at your option) any later version.
-
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
-
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 #ifndef __CHIP_H__
 #define __CHIP_H__
--- a/drivers/video/fbdev/via/debug.h
+++ b/drivers/video/fbdev/via/debug.h
@@ -1,22 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
  * Copyright 2001-2008 S3 Graphics, Inc. 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;
- * either version 2, or (at your option) any later version.
-
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
-
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 #ifndef __DEBUG_H__
 #define __DEBUG_H__
--- a/drivers/video/fbdev/via/dvi.c
+++ b/drivers/video/fbdev/via/dvi.c
@@ -1,22 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
  * Copyright 2001-2008 S3 Graphics, Inc. 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;
- * either version 2, or (at your option) any later version.
-
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
-
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 #include <linux/via-core.h>
 #include <linux/via_i2c.h>
--- a/drivers/video/fbdev/via/dvi.h
+++ b/drivers/video/fbdev/via/dvi.h
@@ -1,22 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
  * Copyright 2001-2008 S3 Graphics, Inc. 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;
- * either version 2, or (at your option) any later version.
-
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
-
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
 #ifndef __DVI_H__
--- a/drivers/video/fbdev/via/global.c
+++ b/drivers/video/fbdev/via/global.c
@@ -1,22 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
  * Copyright 2001-2008 S3 Graphics, Inc. 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;
- * either version 2, or (at your option) any later version.
-
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
-
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 #include "global.h"
 int viafb_platform_epia_dvi = STATE_OFF;
--- a/drivers/video/fbdev/via/global.h
+++ b/drivers/video/fbdev/via/global.h
@@ -1,22 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
  * Copyright 2001-2008 S3 Graphics, Inc. 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;
- * either version 2, or (at your option) any later version.
-
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
-
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
 #ifndef __GLOBAL_H__
--- a/drivers/video/fbdev/via/hw.c
+++ b/drivers/video/fbdev/via/hw.c
@@ -1,22 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
  * Copyright 2001-2008 S3 Graphics, Inc. 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;
- * either version 2, or (at your option) any later version.
-
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
-
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
 #include <linux/via-core.h>
--- a/drivers/video/fbdev/via/hw.h
+++ b/drivers/video/fbdev/via/hw.h
@@ -1,22 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
  * Copyright 2001-2008 S3 Graphics, Inc. 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;
- * either version 2, or (at your option) any later version.
-
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
-
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
 #ifndef __HW_H__
--- a/drivers/video/fbdev/via/ioctl.c
+++ b/drivers/video/fbdev/via/ioctl.c
@@ -1,22 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
  * Copyright 2001-2008 S3 Graphics, Inc. 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;
- * either version 2, or (at your option) any later version.
-
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
-
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
 #include "global.h"
--- a/drivers/video/fbdev/via/ioctl.h
+++ b/drivers/video/fbdev/via/ioctl.h
@@ -1,22 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
  * Copyright 2001-2008 S3 Graphics, Inc. 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;
- * either version 2, or (at your option) any later version.
-
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
-
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
 #ifndef __IOCTL_H__
--- a/drivers/video/fbdev/via/lcd.c
+++ b/drivers/video/fbdev/via/lcd.c
@@ -1,22 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
  * Copyright 2001-2008 S3 Graphics, Inc. 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;
- * either version 2, or (at your option) any later version.
-
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
-
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 #include <linux/via-core.h>
 #include <linux/via_i2c.h>
--- a/drivers/video/fbdev/via/lcd.h
+++ b/drivers/video/fbdev/via/lcd.h
@@ -1,22 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
  * Copyright 2001-2008 S3 Graphics, Inc. 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;
- * either version 2, or (at your option) any later version.
-
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
-
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 #ifndef __LCD_H__
 #define __LCD_H__
--- a/drivers/video/fbdev/via/share.h
+++ b/drivers/video/fbdev/via/share.h
@@ -1,22 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
  * Copyright 2001-2008 S3 Graphics, Inc. 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;
- * either version 2, or (at your option) any later version.
-
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
-
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
 #ifndef __SHARE_H__
--- a/drivers/video/fbdev/via/tblDPASetting.c
+++ b/drivers/video/fbdev/via/tblDPASetting.c
@@ -1,22 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
  * Copyright 2001-2008 S3 Graphics, Inc. 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;
- * either version 2, or (at your option) any later version.
-
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
-
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
 #include "global.h"
--- a/drivers/video/fbdev/via/tblDPASetting.h
+++ b/drivers/video/fbdev/via/tblDPASetting.h
@@ -1,22 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
  * Copyright 2001-2008 S3 Graphics, Inc. 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;
- * either version 2, or (at your option) any later version.
-
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
-
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
 #ifndef _TBLDPASETTING_H_
--- a/drivers/video/fbdev/via/via_aux.c
+++ b/drivers/video/fbdev/via/via_aux.c
@@ -1,21 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright 2011 Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
- *
- * 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;
- * either version 2, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 /*
  * infrastructure for devices connected via I2C
--- a/drivers/video/fbdev/via/via_aux.h
+++ b/drivers/video/fbdev/via/via_aux.h
@@ -1,21 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright 2011 Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
- *
- * 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;
- * either version 2, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 /*
  * infrastructure for devices connected via I2C
--- a/drivers/video/fbdev/via/via_aux_ch7301.c
+++ b/drivers/video/fbdev/via/via_aux_ch7301.c
@@ -1,21 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright 2011 Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
- *
- * 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;
- * either version 2, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 /*
  * driver for Chrontel CH7301 DVI Transmitter
--- a/drivers/video/fbdev/via/via_aux_edid.c
+++ b/drivers/video/fbdev/via/via_aux_edid.c
@@ -1,21 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright 2011 Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
- *
- * 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;
- * either version 2, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 /*
  * generic EDID driver
--- a/drivers/video/fbdev/via/via_aux_sii164.c
+++ b/drivers/video/fbdev/via/via_aux_sii164.c
@@ -1,21 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright 2011 Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
- *
- * 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;
- * either version 2, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 /*
  * driver for Silicon Image SiI 164 PanelLink Transmitter
--- a/drivers/video/fbdev/via/via_aux_vt1621.c
+++ b/drivers/video/fbdev/via/via_aux_vt1621.c
@@ -1,21 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright 2011 Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
- *
- * 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;
- * either version 2, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 /*
  * driver for VIA VT1621(M) TV Encoder
--- a/drivers/video/fbdev/via/via_aux_vt1622.c
+++ b/drivers/video/fbdev/via/via_aux_vt1622.c
@@ -1,21 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright 2011 Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
- *
- * 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;
- * either version 2, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 /*
  * driver for VIA VT1622(M) Digital TV Encoder
--- a/drivers/video/fbdev/via/via_aux_vt1625.c
+++ b/drivers/video/fbdev/via/via_aux_vt1625.c
@@ -1,21 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright 2011 Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
- *
- * 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;
- * either version 2, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 /*
  * driver for VIA VT1625(M) HDTV Encoder
--- a/drivers/video/fbdev/via/via_aux_vt1631.c
+++ b/drivers/video/fbdev/via/via_aux_vt1631.c
@@ -1,21 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright 2011 Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
- *
- * 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;
- * either version 2, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 /*
  * driver for VIA VT1631 LVDS Transmitter
--- a/drivers/video/fbdev/via/via_aux_vt1632.c
+++ b/drivers/video/fbdev/via/via_aux_vt1632.c
@@ -1,21 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright 2011 Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
- *
- * 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;
- * either version 2, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 /*
  * driver for VIA VT1632 DVI Transmitter
--- a/drivers/video/fbdev/via/via_aux_vt1636.c
+++ b/drivers/video/fbdev/via/via_aux_vt1636.c
@@ -1,21 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright 2011 Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
- *
- * 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;
- * either version 2, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 /*
  * driver for VIA VT1636 LVDS Transmitter
--- a/drivers/video/fbdev/via/via_clock.c
+++ b/drivers/video/fbdev/via/via_clock.c
@@ -1,23 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
  * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved.
  * Copyright 2011 Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
- *
- * 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;
- * either version 2, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 /*
  * clock and PLL management functions
--- a/drivers/video/fbdev/via/via_clock.h
+++ b/drivers/video/fbdev/via/via_clock.h
@@ -1,23 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
  * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved.
  * Copyright 2011 Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
- *
- * 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;
- * either version 2, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 /*
  * clock and PLL management functions
--- a/drivers/video/fbdev/via/via_i2c.c
+++ b/drivers/video/fbdev/via/via_i2c.c
@@ -1,22 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright 1998-2009 VIA Technologies, Inc. All Rights Reserved.
  * Copyright 2001-2008 S3 Graphics, Inc. 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;
- * either version 2, or (at your option) any later version.
-
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
-
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
 #include <linux/platform_device.h>
--- a/drivers/video/fbdev/via/via_modesetting.c
+++ b/drivers/video/fbdev/via/via_modesetting.c
@@ -1,23 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
  * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved.
  * Copyright 2010 Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
- *
- * 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;
- * either version 2, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 /*
  * basic modesetting functions
--- a/drivers/video/fbdev/via/via_modesetting.h
+++ b/drivers/video/fbdev/via/via_modesetting.h
@@ -1,23 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
  * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved.
  * Copyright 2010 Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
- *
- * 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;
- * either version 2, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 /*
  * basic modesetting functions
--- a/drivers/video/fbdev/via/via_utility.c
+++ b/drivers/video/fbdev/via/via_utility.c
@@ -1,22 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
  * Copyright 2001-2008 S3 Graphics, Inc. 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;
- * either version 2, or (at your option) any later version.
-
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
-
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
 #include <linux/via-core.h>
--- a/drivers/video/fbdev/via/via_utility.h
+++ b/drivers/video/fbdev/via/via_utility.h
@@ -1,22 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
  * Copyright 2001-2008 S3 Graphics, Inc. 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;
- * either version 2, or (at your option) any later version.
-
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
-
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 #ifndef __VIAUTILITY_H__
 #define __VIAUTILITY_H__
--- a/drivers/video/fbdev/via/viafbdev.c
+++ b/drivers/video/fbdev/via/viafbdev.c
@@ -1,22 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright 1998-2009 VIA Technologies, Inc. All Rights Reserved.
  * Copyright 2001-2008 S3 Graphics, Inc. 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;
- * either version 2, or (at your option) any later version.
-
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
-
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
 #include <linux/compiler.h>
--- a/drivers/video/fbdev/via/viafbdev.h
+++ b/drivers/video/fbdev/via/viafbdev.h
@@ -1,22 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
  * Copyright 2001-2008 S3 Graphics, Inc. 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;
- * either version 2, or (at your option) any later version.
-
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
-
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
 #ifndef __VIAFBDEV_H__
--- a/drivers/video/fbdev/via/viamode.c
+++ b/drivers/video/fbdev/via/viamode.c
@@ -1,22 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
  * Copyright 2001-2008 S3 Graphics, Inc. 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;
- * either version 2, or (at your option) any later version.
-
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
-
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
 #include <linux/via-core.h>
--- a/drivers/video/fbdev/via/viamode.h
+++ b/drivers/video/fbdev/via/viamode.h
@@ -1,22 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
  * Copyright 2001-2008 S3 Graphics, Inc. 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;
- * either version 2, or (at your option) any later version.
-
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
-
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
 #ifndef __VIAMODE_H__
--- a/drivers/video/fbdev/via/vt1636.c
+++ b/drivers/video/fbdev/via/vt1636.c
@@ -1,22 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
  * Copyright 2001-2008 S3 Graphics, Inc. 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;
- * either version 2, or (at your option) any later version.
-
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
-
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
 #include <linux/via-core.h>
--- a/drivers/video/fbdev/via/vt1636.h
+++ b/drivers/video/fbdev/via/vt1636.h
@@ -1,22 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
  * Copyright 2001-2008 S3 Graphics, Inc. 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;
- * either version 2, or (at your option) any later version.
-
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
-
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
 #ifndef _VT1636_H_
--- a/include/linux/via-core.h
+++ b/include/linux/via-core.h
@@ -1,24 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright 1998-2009 VIA Technologies, Inc. All Rights Reserved.
  * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved.
  * Copyright 2009-2010 Jonathan Corbet <corbet@lwn.net>
  * Copyright 2010 Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
- *
- * 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;
- * either version 2, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
 #ifndef __VIA_CORE_H__
--- a/include/linux/via_i2c.h
+++ b/include/linux/via_i2c.h
@@ -1,22 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright 1998-2009 VIA Technologies, Inc. All Rights Reserved.
  * Copyright 2001-2008 S3 Graphics, Inc. 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;
- * either version 2, or (at your option) any later version.
-
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
- * the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE.See the GNU General Public License
- * for more details.
-
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 #ifndef __VIA_I2C_H__
 #define __VIA_I2C_H__





^ permalink raw reply	[flat|nested] 85+ messages in thread

* Re: [patch 01/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 26
  2019-05-20 17:07 ` [patch 01/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 26 Thomas Gleixner
@ 2019-05-20 21:57   ` Allison Randal
  2019-05-20 23:46   ` Kate Stewart
  1 sibling, 0 replies; 85+ messages in thread
From: Allison Randal @ 2019-05-20 21:57 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

On 5/20/19 6:07 PM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
> 
>   gnupg 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 either version 2 of the license or at
>   your option any later version gnupg is distributed in the hope that
>   it will be useful but without any warranty without even the implied
>   warranty of merchantability or fitness for a particular purpose see
>   the gnu general public license for more details you should have
>   received a copy of the gnu general public license along with this
>   program if not write to the free software foundation inc 59 temple
>   place suite 330 boston ma 02111 1307 usa note this code is heavily
>   based on the gnu mp library actually it s the same code with only
>   minor changes in the way the data is stored this is to support the
>   abstraction of an optional secure memory allocation which may be
>   used to avoid revealing of sensitive data due to paging etc the gnu
>   mp library itself is published under the lgpl however i decided to
>   publish this code under the plain gpl
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>   GPL-2.0-or-later
> 
> has been chosen to replace the boilerplate/reference in 14 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: linux-spdx@vger.kernel.org
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=f3e4b7c812d3
> ---
>  include/linux/mpi.h           |   15 +--------------
>  lib/mpi/generic_mpih-add1.c   |   15 +--------------
>  lib/mpi/generic_mpih-lshift.c |   15 +--------------
>  lib/mpi/generic_mpih-mul1.c   |   15 +--------------
>  lib/mpi/generic_mpih-mul2.c   |   15 +--------------
>  lib/mpi/generic_mpih-mul3.c   |   15 +--------------
>  lib/mpi/generic_mpih-rshift.c |   15 +--------------
>  lib/mpi/generic_mpih-sub1.c   |   15 +--------------
>  lib/mpi/mpi-inline.h          |   15 +--------------
>  lib/mpi/mpi-internal.h        |   15 +--------------
>  lib/mpi/mpi-pow.c             |   15 +--------------
>  lib/mpi/mpih-cmp.c            |   15 +--------------
>  lib/mpi/mpih-div.c            |   15 +--------------
>  lib/mpi/mpih-mul.c            |   15 +--------------
>  14 files changed, 14 insertions(+), 196 deletions(-)
> 
> --- a/include/linux/mpi.h
> +++ b/include/linux/mpi.h
> @@ -1,23 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* mpi.h  -  Multi Precision Integers
>   *	Copyright (C) 1994, 1996, 1998, 1999,
>   *                    2000, 2001 Free Software Foundation, Inc.
>   *
>   * This file is part of GNUPG.
>   *
> - * GNUPG 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * GNUPG is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
> - *
>   * Note: This code is heavily based on the GNU MP Library.
>   *	 Actually it's the same code with only minor changes in the
>   *	 way the data is stored; this is to support the abstraction
> --- a/lib/mpi/generic_mpih-add1.c
> +++ b/lib/mpi/generic_mpih-add1.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* mpihelp-add_1.c  -  MPI helper functions
>   * Copyright (C) 1994, 1996, 1997, 1998,
>   *               2000 Free Software Foundation, Inc.
>   *
>   * This file is part of GnuPG.
>   *
> - * GnuPG 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * GnuPG is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
> - *
>   * Note: This code is heavily based on the GNU MP Library.
>   *	 Actually it's the same code with only minor changes in the
>   *	 way the data is stored; this is to support the abstraction
> --- a/lib/mpi/generic_mpih-lshift.c
> +++ b/lib/mpi/generic_mpih-lshift.c
> @@ -1,22 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* mpihelp-lshift.c  -	MPI helper functions
>   * Copyright (C) 1994, 1996, 1998, 2001 Free Software Foundation, Inc.
>   *
>   * This file is part of GnuPG.
>   *
> - * GnuPG 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * GnuPG is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
> - *
>   * Note: This code is heavily based on the GNU MP Library.
>   *	 Actually it's the same code with only minor changes in the
>   *	 way the data is stored; this is to support the abstraction
> --- a/lib/mpi/generic_mpih-mul1.c
> +++ b/lib/mpi/generic_mpih-mul1.c
> @@ -1,22 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* mpihelp-mul_1.c  -  MPI helper functions
>   * Copyright (C) 1994, 1996, 1997, 1998, 2001 Free Software Foundation, Inc.
>   *
>   * This file is part of GnuPG.
>   *
> - * GnuPG 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * GnuPG is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
> - *
>   * Note: This code is heavily based on the GNU MP Library.
>   *	 Actually it's the same code with only minor changes in the
>   *	 way the data is stored; this is to support the abstraction
> --- a/lib/mpi/generic_mpih-mul2.c
> +++ b/lib/mpi/generic_mpih-mul2.c
> @@ -1,22 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* mpihelp-mul_2.c  -  MPI helper functions
>   * Copyright (C) 1994, 1996, 1997, 1998, 2001 Free Software Foundation, Inc.
>   *
>   * This file is part of GnuPG.
>   *
> - * GnuPG 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * GnuPG is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
> - *
>   * Note: This code is heavily based on the GNU MP Library.
>   *	 Actually it's the same code with only minor changes in the
>   *	 way the data is stored; this is to support the abstraction
> --- a/lib/mpi/generic_mpih-mul3.c
> +++ b/lib/mpi/generic_mpih-mul3.c
> @@ -1,22 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* mpihelp-mul_3.c  -  MPI helper functions
>   * Copyright (C) 1994, 1996, 1997, 1998, 2001 Free Software Foundation, Inc.
>   *
>   * This file is part of GnuPG.
>   *
> - * GnuPG 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * GnuPG is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
> - *
>   * Note: This code is heavily based on the GNU MP Library.
>   *	 Actually it's the same code with only minor changes in the
>   *	 way the data is stored; this is to support the abstraction
> --- a/lib/mpi/generic_mpih-rshift.c
> +++ b/lib/mpi/generic_mpih-rshift.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* mpih-rshift.c  -  MPI helper functions
>   * Copyright (C) 1994, 1996, 1998, 1999,
>   *               2000, 2001 Free Software Foundation, Inc.
>   *
>   * This file is part of GNUPG
>   *
> - * GNUPG 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * GNUPG is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
> - *
>   * Note: This code is heavily based on the GNU MP Library.
>   *	 Actually it's the same code with only minor changes in the
>   *	 way the data is stored; this is to support the abstraction
> --- a/lib/mpi/generic_mpih-sub1.c
> +++ b/lib/mpi/generic_mpih-sub1.c
> @@ -1,22 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* mpihelp-add_2.c  -  MPI helper functions
>   * Copyright (C) 1994, 1996, 1997, 1998, 2001 Free Software Foundation, Inc.
>   *
>   * This file is part of GnuPG.
>   *
> - * GnuPG 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * GnuPG is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
> - *
>   * Note: This code is heavily based on the GNU MP Library.
>   *	 Actually it's the same code with only minor changes in the
>   *	 way the data is stored; this is to support the abstraction
> --- a/lib/mpi/mpi-inline.h
> +++ b/lib/mpi/mpi-inline.h
> @@ -1,22 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* mpi-inline.h  -  Internal to the Multi Precision Integers
>   *	Copyright (C) 1994, 1996, 1998, 1999 Free Software Foundation, Inc.
>   *
>   * This file is part of GnuPG.
>   *
> - * GnuPG 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * GnuPG is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
> - *
>   * Note: This code is heavily based on the GNU MP Library.
>   *	 Actually it's the same code with only minor changes in the
>   *	 way the data is stored; this is to support the abstraction
> --- a/lib/mpi/mpi-internal.h
> +++ b/lib/mpi/mpi-internal.h
> @@ -1,23 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* mpi-internal.h  -  Internal to the Multi Precision Integers
>   *	Copyright (C) 1994, 1996 Free Software Foundation, Inc.
>   *	Copyright (C) 1998, 2000 Free Software Foundation, Inc.
>   *
>   * This file is part of GnuPG.
>   *
> - * GnuPG 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * GnuPG is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
> - *
>   * Note: This code is heavily based on the GNU MP Library.
>   *	 Actually it's the same code with only minor changes in the
>   *	 way the data is stored; this is to support the abstraction
> --- a/lib/mpi/mpi-pow.c
> +++ b/lib/mpi/mpi-pow.c
> @@ -1,22 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* mpi-pow.c  -  MPI functions
>   *	Copyright (C) 1994, 1996, 1998, 2000 Free Software Foundation, Inc.
>   *
>   * This file is part of GnuPG.
>   *
> - * GnuPG 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * GnuPG is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
> - *
>   * Note: This code is heavily based on the GNU MP Library.
>   *	 Actually it's the same code with only minor changes in the
>   *	 way the data is stored; this is to support the abstraction
> --- a/lib/mpi/mpih-cmp.c
> +++ b/lib/mpi/mpih-cmp.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* mpihelp-sub.c  -  MPI helper functions
>   *	Copyright (C) 1994, 1996 Free Software Foundation, Inc.
>   *	Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
>   *
>   * This file is part of GnuPG.
>   *
> - * GnuPG 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * GnuPG is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
> - *
>   * Note: This code is heavily based on the GNU MP Library.
>   *	 Actually it's the same code with only minor changes in the
>   *	 way the data is stored; this is to support the abstraction
> --- a/lib/mpi/mpih-div.c
> +++ b/lib/mpi/mpih-div.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* mpihelp-div.c  -  MPI helper functions
>   *	Copyright (C) 1994, 1996 Free Software Foundation, Inc.
>   *	Copyright (C) 1998, 1999 Free Software Foundation, Inc.
>   *
>   * This file is part of GnuPG.
>   *
> - * GnuPG 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * GnuPG is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
> - *
>   * Note: This code is heavily based on the GNU MP Library.
>   *	 Actually it's the same code with only minor changes in the
>   *	 way the data is stored; this is to support the abstraction
> --- a/lib/mpi/mpih-mul.c
> +++ b/lib/mpi/mpih-mul.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* mpihelp-mul.c  -  MPI helper functions
>   * Copyright (C) 1994, 1996, 1998, 1999,
>   *               2000 Free Software Foundation, Inc.
>   *
>   * This file is part of GnuPG.
>   *
> - * GnuPG 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * GnuPG is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
> - *
>   * Note: This code is heavily based on the GNU MP Library.
>   *	 Actually it's the same code with only minor changes in the
>   *	 way the data is stored; this is to support the abstraction
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 85+ messages in thread

* Re: [patch 02/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 27
  2019-05-20 17:07 ` [patch 02/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 27 Thomas Gleixner
@ 2019-05-20 21:58   ` Allison Randal
  2019-05-20 23:47   ` Kate Stewart
  1 sibling, 0 replies; 85+ messages in thread
From: Allison Randal @ 2019-05-20 21:58 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

On 5/20/19 6:07 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 either version 2 of the named license
>   or any later version this program is distributed in the hope that it
>   will be useful but without any warranty without even the implied
>   warranty of merchantability or fitness for a particular purpose see
>   the gnu general public license for more details you should have
>   received a copy of the gnu general public license along with this
>   program if not write to the free software foundation inc 59 temple
>   place suite 330 boston ma 02111 1307 usa
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>   GPL-2.0-or-later
> 
> has been chosen to replace the boilerplate/reference in 7 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: linux-spdx@vger.kernel.org
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=5a6f88a6c50b
> ---
>  drivers/video/fbdev/sis/initextlfb.c |   15 +--------------
>  drivers/video/fbdev/sis/sis.h        |   15 +--------------
>  drivers/video/fbdev/sis/sis_accel.c  |   15 +--------------
>  drivers/video/fbdev/sis/sis_accel.h  |   15 +--------------
>  drivers/video/fbdev/sis/sis_main.c   |   16 +---------------
>  drivers/video/fbdev/sis/sis_main.h   |   15 +--------------
>  include/video/sisfb.h                |   15 +--------------
>  7 files changed, 7 insertions(+), 99 deletions(-)
> 
> --- a/drivers/video/fbdev/sis/initextlfb.c
> +++ b/drivers/video/fbdev/sis/initextlfb.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * SiS 300/540/630[S]/730[S]
>   * SiS 315[E|PRO]/550/[M]65x/[M]66x[F|M|G]X/[M]74x[GX]/330/[M]76x[GX]
> @@ -8,20 +9,6 @@
>   *
>   * Copyright (C) 2001-2005 Thomas Winischhofer, Vienna, Austria.
>   *
> - * 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; either version 2 of the named License,
> - * or any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
> - *
>   * Author:	Thomas Winischhofer <thomas@winischhofer.net>
>   */
>  
> --- a/drivers/video/fbdev/sis/sis.h
> +++ b/drivers/video/fbdev/sis/sis.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * SiS 300/540/630[S]/730[S],
>   * SiS 315[E|PRO]/550/[M]65x/[M]661[F|M]X/740/[M]741[GX]/330/[M]76x[GX],
> @@ -5,20 +6,6 @@
>   * frame buffer driver for Linux kernels >=2.4.14 and >=2.6.3
>   *
>   * Copyright (C) 2001-2005 Thomas Winischhofer, Vienna, Austria.
> - *
> - * 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; either version 2 of the named License,
> - * or any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
>   */
>  
>  #ifndef _SIS_H_
> --- a/drivers/video/fbdev/sis/sis_accel.c
> +++ b/drivers/video/fbdev/sis/sis_accel.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * SiS 300/540/630[S]/730[S],
>   * SiS 315[E|PRO]/550/[M]650/651/[M]661[F|M]X/740/[M]741[GX]/330/[M]760[GX],
> @@ -6,20 +7,6 @@
>   *
>   * 2D acceleration part
>   *
> - * 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; either version 2 of the named License,
> - * or any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
> - *
>   * Based on the XFree86/X.org driver which is
>   *     Copyright (C) 2001-2005 by Thomas Winischhofer, Vienna, Austria
>   *
> --- a/drivers/video/fbdev/sis/sis_accel.h
> +++ b/drivers/video/fbdev/sis/sis_accel.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * SiS 300/540/630[S]/730[S],
>   * SiS 315[E|PRO]/550/[M]650/651/[M]661[F|M]X/740/[M]741[GX]/330/[M]760[GX],
> @@ -6,20 +7,6 @@
>   *
>   * 2D acceleration part
>   *
> - * 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; either version 2 of the named License,
> - * or any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
> - *
>   * Based on the X driver's sis300_accel.h which is
>   *     Copyright (C) 2001-2004 by Thomas Winischhofer, Vienna, Austria
>   * and sis310_accel.h which is
> --- a/drivers/video/fbdev/sis/sis_main.c
> +++ b/drivers/video/fbdev/sis/sis_main.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * SiS 300/540/630[S]/730[S],
>   * SiS 315[E|PRO]/550/[M]65x/[M]66x[F|M|G]X/[M]74x[GX]/330/[M]76x[GX],
> @@ -6,20 +7,6 @@
>   *
>   * Copyright (C) 2001-2005 Thomas Winischhofer, Vienna, Austria.
>   *
> - * 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; either version 2 of the named License,
> - * or any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
> - *
>   * Author:	Thomas Winischhofer <thomas@winischhofer.net>
>   *
>   * Author of (practically wiped) code base:
> @@ -30,7 +17,6 @@
>   *
>   * Originally based on the VBE 2.0 compliant graphic boards framebuffer driver,
>   * which is (c) 1998 Gerd Knorr <kraxel@goldbach.in-berlin.de>
> - *
>   */
>  
>  #include <linux/module.h>
> --- a/drivers/video/fbdev/sis/sis_main.h
> +++ b/drivers/video/fbdev/sis/sis_main.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * SiS 300/305/540/630(S)/730(S),
>   * SiS 315[E|PRO]/550/[M]65x/[M]66x[F|M|G]X/[M]74x[GX]/330/[M]76x[GX],
> @@ -5,20 +6,6 @@
>   * frame buffer driver for Linux kernels >=2.4.14 and >=2.6.3
>   *
>   * Copyright (C) 2001-2005 Thomas Winischhofer, Vienna, Austria.
> - *
> - * 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; either version 2 of the named License,
> - * or any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
>   */
>  
>  #ifndef _SISFB_MAIN
> --- a/include/video/sisfb.h
> +++ b/include/video/sisfb.h
> @@ -1,21 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * sisfb.h - definitions for the SiS framebuffer driver
>   *
>   * Copyright (C) 2001-2005 by Thomas Winischhofer, Vienna, Austria.
> - *
> - * 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; either version 2 of the named License,
> - * or any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
>   */
>  #ifndef _LINUX_SISFB_H_
>  #define _LINUX_SISFB_H_
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 85+ messages in thread

* Re: [patch 03/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 28
  2019-05-20 17:07 ` [patch 03/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 28 Thomas Gleixner
@ 2019-05-20 21:59   ` Allison Randal
  2019-05-20 23:48   ` Kate Stewart
  1 sibling, 0 replies; 85+ messages in thread
From: Allison Randal @ 2019-05-20 21:59 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

On 5/20/19 6:07 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 term of the gnu general public license as published by
>   the free software foundation either version 2 of the license or at
>   your option any later version this program is distributed in the
>   hope that it will be useful but without any warranty without even
>   the implied warranty of merchantability or fitness for a particular
>   purpose see the gnu general public license for more details you
>   should have received a copy of the gnu general public license along
>   with this program if not write to the free software foundation inc
>   59 temple place suite 330 boston ma 02111 1307 usa
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>   GPL-2.0-or-later
> 
> has been chosen to replace the boilerplate/reference in 1 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: linux-spdx@vger.kernel.org
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=4bc45d08a045
> ---
>  drivers/input/touchscreen/s3c2410_ts.c |   15 +--------------
>  1 file changed, 1 insertion(+), 14 deletions(-)
> 
> --- a/drivers/input/touchscreen/s3c2410_ts.c
> +++ b/drivers/input/touchscreen/s3c2410_ts.c
> @@ -1,20 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Samsung S3C24XX touchscreen driver
>   *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the term of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> - *
>   * Copyright 2004 Arnaud Patard <arnaud.patard@rtp-net.org>
>   * Copyright 2008 Ben Dooks <ben-linux@fluff.org>
>   * Copyright 2009 Simtec Electronics <linux@simtec.co.uk>
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 85+ messages in thread

* Re: [patch 04/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 29
  2019-05-20 17:07 ` [patch 04/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 29 Thomas Gleixner
@ 2019-05-20 22:05   ` Allison Randal
  2019-05-20 23:49   ` Kate Stewart
  1 sibling, 0 replies; 85+ messages in thread
From: Allison Randal @ 2019-05-20 22:05 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

On 5/20/19 6:07 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 either version 2 of the license or at
>   your option any later version this program is distributed in the
>   hope that it will be useful but without any warranty without even
>   the implied warranty of merchantability or fitness for a particular
>   purpose see the gnu general public license for more details you
>   should have received a copy of the gnu general public license along
>   with this program see the file copying if not write to the free
>   software foundation inc 59 temple place suite 330 boston ma 02111
>   1307 usa
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>   GPL-2.0-or-later
> 
> has been chosen to replace the boilerplate/reference in 5 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: linux-spdx@vger.kernel.org
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=0a851c6f11d4
> ---
>  sound/pci/lx6464es/lx6464es.c |   18 +-----------------
>  sound/pci/lx6464es/lx6464es.h |   18 +-----------------
>  sound/pci/lx6464es/lx_core.c  |   17 +----------------
>  sound/pci/lx6464es/lx_core.h  |   17 +----------------
>  sound/pci/lx6464es/lx_defs.h  |   17 +----------------
>  5 files changed, 5 insertions(+), 82 deletions(-)
> 
> --- a/sound/pci/lx6464es/lx6464es.c
> +++ b/sound/pci/lx6464es/lx6464es.c
> @@ -1,25 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* -*- linux-c -*- *
>   *
>   * ALSA driver for the digigram lx6464es interface
>   *
>   * Copyright (c) 2008, 2009 Tim Blechmann <tim@klingt.org>
> - *
> - *
> - * 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; see the file COPYING.  If not, write to
> - * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
> - * Boston, MA 02111-1307, USA.
> - *
>   */
>  
>  #include <linux/module.h>
> --- a/sound/pci/lx6464es/lx6464es.h
> +++ b/sound/pci/lx6464es/lx6464es.h
> @@ -1,25 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* -*- linux-c -*- *
>   *
>   * ALSA driver for the digigram lx6464es interface
>   *
>   * Copyright (c) 2009 Tim Blechmann <tim@klingt.org>
> - *
> - *
> - * 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; see the file COPYING.  If not, write to
> - * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
> - * Boston, MA 02111-1307, USA.
> - *
>   */
>  
>  #ifndef LX6464ES_H
> --- a/sound/pci/lx6464es/lx_core.c
> +++ b/sound/pci/lx6464es/lx_core.c
> @@ -1,25 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* -*- linux-c -*- *
>   *
>   * ALSA driver for the digigram lx6464es interface
>   * low-level interface
>   *
>   * Copyright (c) 2009 Tim Blechmann <tim@klingt.org>
> - *
> - * 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; see the file COPYING.  If not, write to
> - * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
> - * Boston, MA 02111-1307, USA.
> - *
>   */
>  
>  /* #define RMH_DEBUG 1 */
> --- a/sound/pci/lx6464es/lx_core.h
> +++ b/sound/pci/lx6464es/lx_core.h
> @@ -1,25 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* -*- linux-c -*- *
>   *
>   * ALSA driver for the digigram lx6464es interface
>   * low-level interface
>   *
>   * Copyright (c) 2009 Tim Blechmann <tim@klingt.org>
> - *
> - * 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; see the file COPYING.  If not, write to
> - * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
> - * Boston, MA 02111-1307, USA.
> - *
>   */
>  
>  #ifndef LX_CORE_H
> --- a/sound/pci/lx6464es/lx_defs.h
> +++ b/sound/pci/lx6464es/lx_defs.h
> @@ -1,25 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* -*- linux-c -*- *
>   *
>   * ALSA driver for the digigram lx6464es interface
>   * adapted upstream headers
>   *
>   * Copyright (c) 2009 Tim Blechmann <tim@klingt.org>
> - *
> - * 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; see the file COPYING.  If not, write to
> - * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
> - * Boston, MA 02111-1307, USA.
> - *
>   */
>  
>  #ifndef LX_DEFS_H
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 85+ messages in thread

* Re: [patch 05/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 30
  2019-05-20 17:07 ` [patch 05/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 30 Thomas Gleixner
@ 2019-05-20 22:06   ` Allison Randal
  2019-05-20 23:49   ` Kate Stewart
  1 sibling, 0 replies; 85+ messages in thread
From: Allison Randal @ 2019-05-20 22:06 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

On 5/20/19 6:07 PM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
> 
>   this module 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 either version 2 of the license or at
>   your option any later version this module is distributed in the hope
>   that it will be useful but without any warranty without even the
>   implied warranty of merchantability or fitness for a particular
>   purpose see the gnu general public license for more details you
>   should have received a copy of the gnu general public license along
>   with this module if not write to the free software foundation inc 59
>   temple place suite 330 boston ma 02111 1307 usa
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>   GPL-2.0-or-later
> 
> has been chosen to replace the boilerplate/reference in 1 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: linux-spdx@vger.kernel.org
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=853618d88ebd
> ---
>  drivers/block/cryptoloop.c |   14 +-------------
>  1 file changed, 1 insertion(+), 13 deletions(-)
> 
> --- a/drivers/block/cryptoloop.c
> +++ b/drivers/block/cryptoloop.c
> @@ -1,22 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>     Linux loop encryption enabling module
>  
>     Copyright (C)  2002 Herbert Valerio Riedel <hvr@gnu.org>
>     Copyright (C)  2003 Fruhwirth Clemens <clemens@endorphin.org>
>  
> -   This module 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; either version 2 of the License, or
> -   (at your option) any later version.
> -
> -   This module is distributed in the hope that it will be useful,
> -   but WITHOUT ANY WARRANTY; without even the implied warranty of
> -   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> -   GNU General Public License for more details.
> -
> -   You should have received a copy of the GNU General Public License
> -   along with this module; if not, write to the Free Software
> -   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
>   */
>  
>  #include <linux/module.h>
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 85+ messages in thread

* Re: [patch 06/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 31
  2019-05-20 17:07 ` [patch 06/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 31 Thomas Gleixner
@ 2019-05-20 22:07   ` Allison Randal
  2019-05-20 23:50   ` Kate Stewart
  1 sibling, 0 replies; 85+ messages in thread
From: Allison Randal @ 2019-05-20 22:07 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

On 5/20/19 6:07 PM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
> 
>   this program is free warftware you can redistribute it and or modify
>   it under the terms of the gnu general public license as published by
>   the free software foundation either version 2 of the license or at
>   your option any later version this program is distributed in the
>   hope that it will be useful but without any warranty without even
>   the implied warranty of merchantability or fitness for a particular
>   purpose see the gnu general public license for more details you
>   should have received a copy of the gnu general public license along
>   with this program if not write to the free software foundation inc
>   59 temple place suite 330 boston ma 02111 1307 usa
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>   GPL-2.0-or-later
> 
> has been chosen to replace the boilerplate/reference in 2 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: linux-spdx@vger.kernel.org
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=7695c45c41ae
> ---
>  drivers/input/joystick/stinger.c |   14 +-------------
>  drivers/input/joystick/warrior.c |   14 +-------------
>  2 files changed, 2 insertions(+), 26 deletions(-)
> 
> --- a/drivers/input/joystick/stinger.c
> +++ b/drivers/input/joystick/stinger.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   *  Copyright (c) 2000-2001 Vojtech Pavlik
>   *  Copyright (c) 2000 Mark Fletcher
> @@ -8,19 +9,6 @@
>   */
>  
>  /*
> - * This program is free warftware; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
>   */
>  
>  #include <linux/kernel.h>
> --- a/drivers/input/joystick/warrior.c
> +++ b/drivers/input/joystick/warrior.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   *  Copyright (c) 1999-2001 Vojtech Pavlik
>   */
> @@ -7,19 +8,6 @@
>   */
>  
>  /*
> - * This program is free warftware; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
>   */
>  
>  #include <linux/kernel.h>
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 85+ messages in thread

* Re: [patch 07/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 32
  2019-05-20 17:07 ` [patch 07/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 32 Thomas Gleixner
@ 2019-05-20 22:09   ` Allison Randal
  2019-05-20 23:42   ` Kate Stewart
  1 sibling, 0 replies; 85+ messages in thread
From: Allison Randal @ 2019-05-20 22:09 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

On 5/20/19 6:07 PM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
> 
>   this driver 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 either version 2 of the license or at
>   your option any later version this driver is distributed in the hope
>   that it will be useful but without any warranty without even the
>   implied warranty of merchantability or fitness for a particular
>   purpose see the gnu general public license for more details you
>   should have received a copy of the gnu general public license along
>   with this program if not write to the free software foundation inc
>   59 temple place suite 330 boston ma 02111 1307 usa
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>   GPL-2.0-or-later
> 
> has been chosen to replace the boilerplate/reference in 18 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: linux-spdx@vger.kernel.org
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=a8a27be6da30
> ---
>  include/sound/hda_hwdep.h      |   15 +--------------
>  sound/pci/bt87x.c              |   16 +---------------
>  sound/pci/hda/ca0132_regs.h    |   15 +--------------
>  sound/pci/hda/hda_codec.c      |   16 +---------------
>  sound/pci/hda/hda_eld.c        |   15 +--------------
>  sound/pci/hda/hda_generic.c    |   15 +--------------
>  sound/pci/hda/hda_hwdep.c      |   15 +--------------
>  sound/pci/hda/hda_proc.c       |   16 +---------------
>  sound/pci/hda/patch_analog.c   |   15 +--------------
>  sound/pci/hda/patch_ca0110.c   |   15 +--------------
>  sound/pci/hda/patch_ca0132.c   |   15 +--------------
>  sound/pci/hda/patch_cirrus.c   |   15 +--------------
>  sound/pci/hda/patch_cmedia.c   |   16 +---------------
>  sound/pci/hda/patch_conexant.c |   15 +--------------
>  sound/pci/hda/patch_realtek.c  |   15 +--------------
>  sound/pci/hda/patch_si3054.c   |   16 +---------------
>  sound/pci/hda/patch_sigmatel.c |   15 +--------------
>  sound/pci/hda/patch_via.c      |   15 +--------------
>  18 files changed, 18 insertions(+), 257 deletions(-)
> 
> --- a/include/sound/hda_hwdep.h
> +++ b/include/sound/hda_hwdep.h
> @@ -1,21 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * HWDEP Interface for HD-audio codec
>   *
>   * Copyright (c) 2007 Takashi Iwai <tiwai@suse.de>
> - *
> - *  This driver 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; either version 2 of the License, or
> - *  (at your option) any later version.
> - *
> - *  This driver is distributed in the hope that it will be useful,
> - *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - *  GNU General Public License for more details.
> - *
> - *  You should have received a copy of the GNU General Public License
> - *  along with this program; if not, write to the Free Software
> - *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
>   */
>  
>  #ifndef __SOUND_HDA_HWDEP_H
> --- a/sound/pci/bt87x.c
> +++ b/sound/pci/bt87x.c
> @@ -1,24 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * bt87x.c - Brooktree Bt878/Bt879 driver for ALSA
>   *
>   * Copyright (c) Clemens Ladisch <clemens@ladisch.de>
>   *
>   * based on btaudio.c by Gerd Knorr <kraxel@bytesex.org>
> - *
> - *
> - *  This driver 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; either version 2 of the License, or
> - *  (at your option) any later version.
> - *
> - *  This driver is distributed in the hope that it will be useful,
> - *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - *  GNU General Public License for more details.
> - *
> - *  You should have received a copy of the GNU General Public License
> - *  along with this program; if not, write to the Free Software
> - *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
>   */
>  
>  #include <linux/init.h>
> --- a/sound/pci/hda/ca0132_regs.h
> +++ b/sound/pci/hda/ca0132_regs.h
> @@ -1,22 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * HD audio interface patch for Creative CA0132 chip.
>   * CA0132 registers defines.
>   *
>   * Copyright (c) 2011, Creative Technology Ltd.
> - *
> - *  This driver 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; either version 2 of the License, or
> - *  (at your option) any later version.
> - *
> - *  This driver is distributed in the hope that it will be useful,
> - *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - *  GNU General Public License for more details.
> - *
> - *  You should have received a copy of the GNU General Public License
> - *  along with this program; if not, write to the Free Software
> - *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
>   */
>  
>  #ifndef __CA0132_REGS_H
> --- a/sound/pci/hda/hda_codec.c
> +++ b/sound/pci/hda/hda_codec.c
> @@ -1,22 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Universal Interface for Intel High Definition Audio Codec
>   *
>   * Copyright (c) 2004 Takashi Iwai <tiwai@suse.de>
> - *
> - *
> - *  This driver 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; either version 2 of the License, or
> - *  (at your option) any later version.
> - *
> - *  This driver is distributed in the hope that it will be useful,
> - *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - *  GNU General Public License for more details.
> - *
> - *  You should have received a copy of the GNU General Public License
> - *  along with this program; if not, write to the Free Software
> - *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
>   */
>  
>  #include <linux/init.h>
> --- a/sound/pci/hda/hda_eld.c
> +++ b/sound/pci/hda/hda_eld.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Generic routines and proc interface for ELD(EDID Like Data) information
>   *
> @@ -6,20 +7,6 @@
>   *
>   * Authors:
>   * 		Wu Fengguang <wfg@linux.intel.com>
> - *
> - *  This driver 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; either version 2 of the License, or
> - *  (at your option) any later version.
> - *
> - *  This driver is distributed in the hope that it will be useful,
> - *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - *  GNU General Public License for more details.
> - *
> - *  You should have received a copy of the GNU General Public License
> - *  along with this program; if not, write to the Free Software
> - *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
>   */
>  
>  #include <linux/init.h>
> --- a/sound/pci/hda/hda_generic.c
> +++ b/sound/pci/hda/hda_generic.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Universal Interface for Intel High Definition Audio Codec
>   *
>   * Generic widget tree parser
>   *
>   * Copyright (c) 2004 Takashi Iwai <tiwai@suse.de>
> - *
> - *  This driver 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; either version 2 of the License, or
> - *  (at your option) any later version.
> - *
> - *  This driver is distributed in the hope that it will be useful,
> - *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - *  GNU General Public License for more details.
> - *
> - *  You should have received a copy of the GNU General Public License
> - *  along with this program; if not, write to the Free Software
> - *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
>   */
>  
>  #include <linux/init.h>
> --- a/sound/pci/hda/hda_hwdep.c
> +++ b/sound/pci/hda/hda_hwdep.c
> @@ -1,21 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * HWDEP Interface for HD-audio codec
>   *
>   * Copyright (c) 2007 Takashi Iwai <tiwai@suse.de>
> - *
> - *  This driver 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; either version 2 of the License, or
> - *  (at your option) any later version.
> - *
> - *  This driver is distributed in the hope that it will be useful,
> - *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - *  GNU General Public License for more details.
> - *
> - *  You should have received a copy of the GNU General Public License
> - *  along with this program; if not, write to the Free Software
> - *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
>   */
>  
>  #include <linux/init.h>
> --- a/sound/pci/hda/hda_proc.c
> +++ b/sound/pci/hda/hda_proc.c
> @@ -1,24 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Universal Interface for Intel High Definition Audio Codec
>   * 
>   * Generic proc interface
>   *
>   * Copyright (c) 2004 Takashi Iwai <tiwai@suse.de>
> - *
> - *
> - *  This driver 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; either version 2 of the License, or
> - *  (at your option) any later version.
> - *
> - *  This driver is distributed in the hope that it will be useful,
> - *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - *  GNU General Public License for more details.
> - *
> - *  You should have received a copy of the GNU General Public License
> - *  along with this program; if not, write to the Free Software
> - *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
>   */
>  
>  #include <linux/init.h>
> --- a/sound/pci/hda/patch_analog.c
> +++ b/sound/pci/hda/patch_analog.c
> @@ -1,22 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * HD audio interface patch for AD1882, AD1884, AD1981HD, AD1983, AD1984,
>   *   AD1986A, AD1988
>   *
>   * Copyright (c) 2005-2007 Takashi Iwai <tiwai@suse.de>
> - *
> - *  This driver 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; either version 2 of the License, or
> - *  (at your option) any later version.
> - *
> - *  This driver is distributed in the hope that it will be useful,
> - *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - *  GNU General Public License for more details.
> - *
> - *  You should have received a copy of the GNU General Public License
> - *  along with this program; if not, write to the Free Software
> - *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
>   */
>  
>  #include <linux/init.h>
> --- a/sound/pci/hda/patch_ca0110.c
> +++ b/sound/pci/hda/patch_ca0110.c
> @@ -1,21 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * HD audio interface patch for Creative X-Fi CA0110-IBG chip
>   *
>   * Copyright (c) 2008 Takashi Iwai <tiwai@suse.de>
> - *
> - *  This driver 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; either version 2 of the License, or
> - *  (at your option) any later version.
> - *
> - *  This driver is distributed in the hope that it will be useful,
> - *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - *  GNU General Public License for more details.
> - *
> - *  You should have received a copy of the GNU General Public License
> - *  along with this program; if not, write to the Free Software
> - *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
>   */
>  
>  #include <linux/init.h>
> --- a/sound/pci/hda/patch_ca0132.c
> +++ b/sound/pci/hda/patch_ca0132.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * HD audio interface patch for Creative CA0132 chip
>   *
> @@ -5,20 +6,6 @@
>   *
>   * Based on patch_ca0110.c
>   * Copyright (c) 2008 Takashi Iwai <tiwai@suse.de>
> - *
> - *  This driver 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; either version 2 of the License, or
> - *  (at your option) any later version.
> - *
> - *  This driver is distributed in the hope that it will be useful,
> - *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - *  GNU General Public License for more details.
> - *
> - *  You should have received a copy of the GNU General Public License
> - *  along with this program; if not, write to the Free Software
> - *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
>   */
>  
>  #include <linux/init.h>
> --- a/sound/pci/hda/patch_cirrus.c
> +++ b/sound/pci/hda/patch_cirrus.c
> @@ -1,21 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * HD audio interface patch for Cirrus Logic CS420x chip
>   *
>   * Copyright (c) 2009 Takashi Iwai <tiwai@suse.de>
> - *
> - *  This driver 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; either version 2 of the License, or
> - *  (at your option) any later version.
> - *
> - *  This driver is distributed in the hope that it will be useful,
> - *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - *  GNU General Public License for more details.
> - *
> - *  You should have received a copy of the GNU General Public License
> - *  along with this program; if not, write to the Free Software
> - *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
>   */
>  
>  #include <linux/init.h>
> --- a/sound/pci/hda/patch_cmedia.c
> +++ b/sound/pci/hda/patch_cmedia.c
> @@ -1,24 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Universal Interface for Intel High Definition Audio Codec
>   *
>   * HD audio interface patch for C-Media CMI9880
>   *
>   * Copyright (c) 2004 Takashi Iwai <tiwai@suse.de>
> - *
> - *
> - *  This driver 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; either version 2 of the License, or
> - *  (at your option) any later version.
> - *
> - *  This driver is distributed in the hope that it will be useful,
> - *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - *  GNU General Public License for more details.
> - *
> - *  You should have received a copy of the GNU General Public License
> - *  along with this program; if not, write to the Free Software
> - *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
>   */
>  
>  #include <linux/init.h>
> --- a/sound/pci/hda/patch_conexant.c
> +++ b/sound/pci/hda/patch_conexant.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * HD audio interface patch for Conexant HDA audio codec
>   *
>   * Copyright (c) 2006 Pototskiy Akex <alex.pototskiy@gmail.com>
>   * 		      Takashi Iwai <tiwai@suse.de>
>   * 		      Tobin Davis  <tdavis@dsl-only.net>
> - *
> - *  This driver 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; either version 2 of the License, or
> - *  (at your option) any later version.
> - *
> - *  This driver is distributed in the hope that it will be useful,
> - *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - *  GNU General Public License for more details.
> - *
> - *  You should have received a copy of the GNU General Public License
> - *  along with this program; if not, write to the Free Software
> - *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
>   */
>  
>  #include <linux/init.h>
> --- a/sound/pci/hda/patch_realtek.c
> +++ b/sound/pci/hda/patch_realtek.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Universal Interface for Intel High Definition Audio Codec
>   *
> @@ -7,20 +8,6 @@
>   *                    PeiSen Hou <pshou@realtek.com.tw>
>   *                    Takashi Iwai <tiwai@suse.de>
>   *                    Jonathan Woithe <jwoithe@just42.net>
> - *
> - *  This driver 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; either version 2 of the License, or
> - *  (at your option) any later version.
> - *
> - *  This driver is distributed in the hope that it will be useful,
> - *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - *  GNU General Public License for more details.
> - *
> - *  You should have received a copy of the GNU General Public License
> - *  along with this program; if not, write to the Free Software
> - *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
>   */
>  
>  #include <linux/init.h>
> --- a/sound/pci/hda/patch_si3054.c
> +++ b/sound/pci/hda/patch_si3054.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Universal Interface for Intel High Definition Audio Codec
>   *
> @@ -5,21 +6,6 @@
>   *
>   * Copyright (c) 2005 Sasha Khapyorsky <sashak@alsa-project.org>
>   *                    Takashi Iwai <tiwai@suse.de>
> - *
> - *
> - *  This driver 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; either version 2 of the License, or
> - *  (at your option) any later version.
> - *
> - *  This driver is distributed in the hope that it will be useful,
> - *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - *  GNU General Public License for more details.
> - *
> - *  You should have received a copy of the GNU General Public License
> - *  along with this program; if not, write to the Free Software
> - *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
>   */
>  
>  #include <linux/init.h>
> --- a/sound/pci/hda/patch_sigmatel.c
> +++ b/sound/pci/hda/patch_sigmatel.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Universal Interface for Intel High Definition Audio Codec
>   *
> @@ -8,20 +9,6 @@
>   *
>   * Based on patch_cmedia.c and patch_realtek.c
>   * Copyright (c) 2004 Takashi Iwai <tiwai@suse.de>
> - *
> - *  This driver 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; either version 2 of the License, or
> - *  (at your option) any later version.
> - *
> - *  This driver is distributed in the hope that it will be useful,
> - *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - *  GNU General Public License for more details.
> - *
> - *  You should have received a copy of the GNU General Public License
> - *  along with this program; if not, write to the Free Software
> - *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
>   */
>  
>  #include <linux/init.h>
> --- a/sound/pci/hda/patch_via.c
> +++ b/sound/pci/hda/patch_via.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Universal Interface for Intel High Definition Audio Codec
>   *
> @@ -5,20 +6,6 @@
>   *
>   *  (C) 2006-2009 VIA Technology, Inc.
>   *  (C) 2006-2008 Takashi Iwai <tiwai@suse.de>
> - *
> - *  This driver 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; either version 2 of the License, or
> - *  (at your option) any later version.
> - *
> - *  This driver is distributed in the hope that it will be useful,
> - *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - *  GNU General Public License for more details.
> - *
> - *  You should have received a copy of the GNU General Public License
> - *  along with this program; if not, write to the Free Software
> - *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
>   */
>  
>  /* * * * * * * * * * * * * * Release History * * * * * * * * * * * * * * * * */
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 85+ messages in thread

* Re: [patch 08/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 33
  2019-05-20 17:07 ` [patch 08/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 33 Thomas Gleixner
@ 2019-05-20 22:10   ` Allison Randal
  2019-05-21  1:03   ` Kate Stewart
                     ` (2 subsequent siblings)
  3 siblings, 0 replies; 85+ messages in thread
From: Allison Randal @ 2019-05-20 22:10 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

On 5/20/19 6:07 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 either version 2 of the license or at
>   your option any later version this program is distributed in the
>   hope that it will be useful but without any warranty without even
>   the implied warranty of merchantability or fitness for a particular
>   purpose see the gnu general public license for more details you
>   should have received a copy of the gnu general public license along
>   with this program if not write to the free software foundation inc
>   59 temple place suite 330 boston ma 02111 1307 usa the full gnu
>   general public license is included in this distribution in the file
>   called copying
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>   GPL-2.0-or-later
> 
> has been chosen to replace the boilerplate/reference in 7 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: linux-spdx@vger.kernel.org
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=413dec71a1fe
> ---
>  arch/powerpc/include/asm/async_tx.h      |   18 +-----------------
>  crypto/async_tx/async_pq.c               |   18 +-----------------
>  drivers/dca/dca-core.c                   |   18 +-----------------
>  drivers/dca/dca-sysfs.c                  |   18 +-----------------
>  drivers/net/ethernet/atheros/atlx/atl1.c |   18 +-----------------
>  include/linux/dca.h                      |   18 +-----------------
>  sound/spi/at73c213.h                     |   19 +------------------
>  7 files changed, 7 insertions(+), 120 deletions(-)
> 
> --- a/arch/powerpc/include/asm/async_tx.h
> +++ b/arch/powerpc/include/asm/async_tx.h
> @@ -1,24 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright (C) 2008-2009 DENX Software Engineering.
>   *
>   * Author: Yuri Tikhonov <yur@emcraft.com>
> - *
> - * 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; either version 2 of the License, or (at your option)
> - * any later version.
> - *
> - * This program is distributed in the hope that it will be useful, but WITHOUT
> - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
> - * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
> - * more details.
> - *
> - * You should have received a copy of the GNU General Public License along with
> - * this program; if not, write to the Free Software Foundation, Inc., 59
> - * Temple Place - Suite 330, Boston, MA  02111-1307, USA.
> - *
> - * The full GNU General Public License is included in this distribution in the
> - * file called COPYING.
>   */
>  #ifndef _ASM_POWERPC_ASYNC_TX_H_
>  #define _ASM_POWERPC_ASYNC_TX_H_
> --- a/crypto/async_tx/async_pq.c
> +++ b/crypto/async_tx/async_pq.c
> @@ -1,23 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright(c) 2007 Yuri Tikhonov <yur@emcraft.com>
>   * Copyright(c) 2009 Intel Corporation
> - *
> - * 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; either version 2 of the License, or (at your option)
> - * any later version.
> - *
> - * This program is distributed in the hope that it will be useful, but WITHOUT
> - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
> - * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
> - * more details.
> - *
> - * You should have received a copy of the GNU General Public License along with
> - * this program; if not, write to the Free Software Foundation, Inc., 59
> - * Temple Place - Suite 330, Boston, MA  02111-1307, USA.
> - *
> - * The full GNU General Public License is included in this distribution in the
> - * file called COPYING.
>   */
>  #include <linux/kernel.h>
>  #include <linux/interrupt.h>
> --- a/drivers/dca/dca-core.c
> +++ b/drivers/dca/dca-core.c
> @@ -1,22 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright(c) 2007 - 2009 Intel Corporation. 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; either version 2 of the License, or (at your option)
> - * any later version.
> - *
> - * This program is distributed in the hope that it will be useful, but WITHOUT
> - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
> - * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
> - * more details.
> - *
> - * You should have received a copy of the GNU General Public License along with
> - * this program; if not, write to the Free Software Foundation, Inc., 59
> - * Temple Place - Suite 330, Boston, MA  02111-1307, USA.
> - *
> - * The full GNU General Public License is included in this distribution in the
> - * file called COPYING.
>   */
>  
>  /*
> --- a/drivers/dca/dca-sysfs.c
> +++ b/drivers/dca/dca-sysfs.c
> @@ -1,22 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright(c) 2007 - 2009 Intel Corporation. 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; either version 2 of the License, or (at your option)
> - * any later version.
> - *
> - * This program is distributed in the hope that it will be useful, but WITHOUT
> - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
> - * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
> - * more details.
> - *
> - * You should have received a copy of the GNU General Public License along with
> - * this program; if not, write to the Free Software Foundation, Inc., 59
> - * Temple Place - Suite 330, Boston, MA  02111-1307, USA.
> - *
> - * The full GNU General Public License is included in this distribution in the
> - * file called COPYING.
>   */
>  
>  #include <linux/kernel.h>
> --- a/drivers/net/ethernet/atheros/atlx/atl1.c
> +++ b/drivers/net/ethernet/atheros/atlx/atl1.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright(c) 2005 - 2006 Attansic Corporation. All rights reserved.
>   * Copyright(c) 2006 - 2007 Chris Snook <csnook@redhat.com>
> @@ -6,23 +7,6 @@
>   * Derived from Intel e1000 driver
>   * Copyright(c) 1999 - 2005 Intel Corporation. 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; either version 2 of the License, or (at your option)
> - * any later version.
> - *
> - * This program is distributed in the hope that it will be useful, but WITHOUT
> - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
> - * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
> - * more details.
> - *
> - * You should have received a copy of the GNU General Public License along with
> - * this program; if not, write to the Free Software Foundation, Inc., 59
> - * Temple Place - Suite 330, Boston, MA  02111-1307, USA.
> - *
> - * The full GNU General Public License is included in this distribution in the
> - * file called COPYING.
> - *
>   * Contact Information:
>   * Xiong Huang <xiong.huang@atheros.com>
>   * Jie Yang <jie.yang@atheros.com>
> --- a/include/linux/dca.h
> +++ b/include/linux/dca.h
> @@ -1,22 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright(c) 2007 - 2009 Intel Corporation. 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; either version 2 of the License, or (at your option)
> - * any later version.
> - *
> - * This program is distributed in the hope that it will be useful, but WITHOUT
> - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
> - * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
> - * more details.
> - *
> - * You should have received a copy of the GNU General Public License along with
> - * this program; if not, write to the Free Software Foundation, Inc., 59
> - * Temple Place - Suite 330, Boston, MA  02111-1307, USA.
> - *
> - * The full GNU General Public License is included in this distribution in the
> - * file called COPYING.
>   */
>  #ifndef DCA_H
>  #define DCA_H
> --- a/sound/spi/at73c213.h
> +++ b/sound/spi/at73c213.h
> @@ -1,25 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Driver for the AT73C213 16-bit stereo DAC on Atmel ATSTK1000
>   *
>   * Copyright (C) 2006 - 2007 Atmel Corporation
> - *
> - * 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; either version 2 of the
> - * License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful, but
> - * WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> - * General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
> - * 02111-1307, USA.
> - *
> - * The full GNU General Public License is included in this
> - * distribution in the file called COPYING.
>   */
>  
>  #ifndef _SND_AT73C213_H
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 85+ messages in thread

* Re: [patch 09/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 34
  2019-05-20 17:07 ` [patch 09/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 34 Thomas Gleixner
@ 2019-05-20 22:31   ` Allison Randal
  2019-05-21  0:09   ` Kate Stewart
  1 sibling, 0 replies; 85+ messages in thread
From: Allison Randal @ 2019-05-20 22:31 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

On 5/20/19 6:07 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 either version 2 of the license or at
>   your option any later version this program is distributed in the
>   hope that it will be useful but without any warranty without even
>   the implied warranty of merchantability or fitness for a particular
>   purpose see the gnu general public license for more details you
>   should have received a copy of the gnu general public license along
>   with this program if not write to the free software foundation inc
>   59 temple place suite 330 boston ma 02111 1307 usa or point your
>   browser to http www gnu org copyleft gpl html
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>   GPL-2.0-or-later
> 
> has been chosen to replace the boilerplate/reference in 1 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: linux-spdx@vger.kernel.org
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=f919fabb23ed
> ---
>  drivers/media/pci/bt8xx/bt878.c |   19 +------------------
>  1 file changed, 1 insertion(+), 18 deletions(-)
> 
> --- a/drivers/media/pci/bt8xx/bt878.c
> +++ b/drivers/media/pci/bt8xx/bt878.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * bt878.c: part of the driver for the Pinnacle PCTV Sat DVB PCI card
>   *
> @@ -7,24 +8,6 @@
>   * Copyright (C) 1996,97,98 Ralph  Metzler (rjkm@metzlerbros.de)
>   *                        & Marcus Metzler (mocm@metzlerbros.de)
>   * (c) 1999,2000 Gerd Knorr <kraxel@goldbach.in-berlin.de>
> - *
> - * 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; either version 2
> - * of the License, or (at your option) any later version.
> - *
> -
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> -
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
> - * Or, point your browser to http://www.gnu.org/copyleft/gpl.html
> - *
>   */
>  
>  #include <linux/module.h>
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 85+ messages in thread

* Re: [patch 10/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 35
  2019-05-20 17:08 ` [patch 10/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 35 Thomas Gleixner
@ 2019-05-20 22:35   ` Allison Randal
  2019-05-21  0:29   ` Kate Stewart
  1 sibling, 0 replies; 85+ messages in thread
From: Allison Randal @ 2019-05-20 22:35 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

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 either version 2 or at your option any
>   later version this program is distributed in the hope that it will
>   be useful but without any warranty without even the implied warranty
>   of merchantability or fitness for a particular purpose see the gnu
>   general public license for more details you should have received a
>   copy of the gnu general public license along with this program if
>   not write to the free software foundation 51 franklin street fifth
>   floor boston ma 02110 1301 usa
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>   GPL-2.0-or-later
> 
> has been chosen to replace the boilerplate/reference in 23 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: linux-spdx@vger.kernel.org
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=f9cf9da4a4a1
> ---
>  fs/squashfs/block.c          |   15 +--------------
>  fs/squashfs/cache.c          |   15 +--------------
>  fs/squashfs/decompressor.c   |   15 +--------------
>  fs/squashfs/decompressor.h   |   15 +--------------
>  fs/squashfs/dir.c            |   15 +--------------
>  fs/squashfs/export.c         |   15 +--------------
>  fs/squashfs/file.c           |   15 +--------------
>  fs/squashfs/fragment.c       |   15 +--------------
>  fs/squashfs/id.c             |   15 +--------------
>  fs/squashfs/inode.c          |   15 +--------------
>  fs/squashfs/lzo_wrapper.c    |   15 +--------------
>  fs/squashfs/namei.c          |   15 +--------------
>  fs/squashfs/squashfs.h       |   15 +--------------
>  fs/squashfs/squashfs_fs.h    |   15 +--------------
>  fs/squashfs/squashfs_fs_i.h  |   15 +--------------
>  fs/squashfs/squashfs_fs_sb.h |   15 +--------------
>  fs/squashfs/super.c          |   15 +--------------
>  fs/squashfs/symlink.c        |   15 +--------------
>  fs/squashfs/xattr.c          |   15 +--------------
>  fs/squashfs/xattr.h          |   15 +--------------
>  fs/squashfs/xattr_id.c       |   15 +--------------
>  fs/squashfs/xz_wrapper.c     |   15 +--------------
>  fs/squashfs/zlib_wrapper.c   |   15 +--------------
>  23 files changed, 23 insertions(+), 322 deletions(-)
> 
> --- a/fs/squashfs/block.c
> +++ b/fs/squashfs/block.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * block.c
>   */
>  
> --- a/fs/squashfs/cache.c
> +++ b/fs/squashfs/cache.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * cache.c
>   */
>  
> --- a/fs/squashfs/decompressor.c
> +++ b/fs/squashfs/decompressor.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * decompressor.c
>   */
>  
> --- a/fs/squashfs/decompressor.h
> +++ b/fs/squashfs/decompressor.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  #ifndef DECOMPRESSOR_H
>  #define DECOMPRESSOR_H
>  /*
> @@ -6,20 +7,6 @@
>   * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * decompressor.h
>   */
>  
> --- a/fs/squashfs/dir.c
> +++ b/fs/squashfs/dir.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * dir.c
>   */
>  
> --- a/fs/squashfs/export.c
> +++ b/fs/squashfs/export.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * export.c
>   */
>  
> --- a/fs/squashfs/file.c
> +++ b/fs/squashfs/file.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * file.c
>   */
>  
> --- a/fs/squashfs/fragment.c
> +++ b/fs/squashfs/fragment.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * fragment.c
>   */
>  
> --- a/fs/squashfs/id.c
> +++ b/fs/squashfs/id.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * id.c
>   */
>  
> --- a/fs/squashfs/inode.c
> +++ b/fs/squashfs/inode.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * inode.c
>   */
>  
> --- a/fs/squashfs/lzo_wrapper.c
> +++ b/fs/squashfs/lzo_wrapper.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2010 LG Electronics
>   * Chan Jeong <chan.jeong@lge.com>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * lzo_wrapper.c
>   */
>  
> --- a/fs/squashfs/namei.c
> +++ b/fs/squashfs/namei.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * namei.c
>   */
>  
> --- a/fs/squashfs/squashfs.h
> +++ b/fs/squashfs/squashfs.h
> @@ -1,23 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * squashfs.h
>   */
>  
> --- a/fs/squashfs/squashfs_fs.h
> +++ b/fs/squashfs/squashfs_fs.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  #ifndef SQUASHFS_FS
>  #define SQUASHFS_FS
>  /*
> @@ -6,20 +7,6 @@
>   * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * squashfs_fs.h
>   */
>  
> --- a/fs/squashfs/squashfs_fs_i.h
> +++ b/fs/squashfs/squashfs_fs_i.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  #ifndef SQUASHFS_FS_I
>  #define SQUASHFS_FS_I
>  /*
> @@ -6,20 +7,6 @@
>   * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * squashfs_fs_i.h
>   */
>  
> --- a/fs/squashfs/squashfs_fs_sb.h
> +++ b/fs/squashfs/squashfs_fs_sb.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  #ifndef SQUASHFS_FS_SB
>  #define SQUASHFS_FS_SB
>  /*
> @@ -6,20 +7,6 @@
>   * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * squashfs_fs_sb.h
>   */
>  
> --- a/fs/squashfs/super.c
> +++ b/fs/squashfs/super.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * super.c
>   */
>  
> --- a/fs/squashfs/symlink.c
> +++ b/fs/squashfs/symlink.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * symlink.c
>   */
>  
> --- a/fs/squashfs/xattr.c
> +++ b/fs/squashfs/xattr.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2010
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * xattr.c
>   */
>  
> --- a/fs/squashfs/xattr.h
> +++ b/fs/squashfs/xattr.h
> @@ -1,23 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2010
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * xattr.h
>   */
>  
> --- a/fs/squashfs/xattr_id.c
> +++ b/fs/squashfs/xattr_id.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2010
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * xattr_id.c
>   */
>  
> --- a/fs/squashfs/xz_wrapper.c
> +++ b/fs/squashfs/xz_wrapper.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * xz_wrapper.c
>   */
>  
> --- a/fs/squashfs/zlib_wrapper.c
> +++ b/fs/squashfs/zlib_wrapper.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * zlib_wrapper.c
>   */
>  
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 85+ messages in thread

* Re: [patch 11/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 36
  2019-05-20 17:08 ` [patch 11/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 36 Thomas Gleixner
@ 2019-05-20 22:36   ` Allison Randal
  2019-05-21  0:30   ` Kate Stewart
  1 sibling, 0 replies; 85+ messages in thread
From: Allison Randal @ 2019-05-20 22:36 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

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 licence as published by
>   the free software foundation either version 2 of the licence or at
>   your option any later version
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>   GPL-2.0-or-later
> 
> has been chosen to replace the boilerplate/reference in 114 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: linux-spdx@vger.kernel.org
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=005f80e9f871
> ---
>  arch/c6x/include/asm/irqflags.h           |    6 +-----
>  arch/riscv/include/asm/atomic.h           |    6 +-----
>  certs/blacklist.c                         |    6 +-----
>  certs/system_keyring.c                    |    6 +-----
>  crypto/asymmetric_keys/asymmetric_keys.h  |    6 +-----
>  crypto/asymmetric_keys/asymmetric_type.c  |    6 +-----
>  crypto/asymmetric_keys/mscode_parser.c    |    6 +-----
>  crypto/asymmetric_keys/pkcs7_key_type.c   |    6 +-----
>  crypto/asymmetric_keys/pkcs7_parser.c     |    6 +-----
>  crypto/asymmetric_keys/pkcs7_parser.h     |    6 +-----
>  crypto/asymmetric_keys/pkcs7_trust.c      |    6 +-----
>  crypto/asymmetric_keys/pkcs7_verify.c     |    6 +-----
>  crypto/asymmetric_keys/pkcs8_parser.c     |    6 +-----
>  crypto/asymmetric_keys/public_key.c       |    6 +-----
>  crypto/asymmetric_keys/restrict.c         |    6 +-----
>  crypto/asymmetric_keys/signature.c        |    6 +-----
>  crypto/asymmetric_keys/verify_pefile.c    |    6 +-----
>  crypto/asymmetric_keys/verify_pefile.h    |    6 +-----
>  crypto/asymmetric_keys/x509_cert_parser.c |    6 +-----
>  crypto/asymmetric_keys/x509_parser.h      |    6 +-----
>  crypto/asymmetric_keys/x509_public_key.c  |    6 +-----
>  crypto/rsa.c                              |    6 +-----
>  drivers/rtc/rtc-st-lpc.c                  |    6 +-----
>  fs/afs/addr_list.c                        |    6 +-----
>  fs/afs/dir_edit.c                         |    6 +-----
>  fs/afs/dir_silly.c                        |    6 +-----
>  fs/afs/dynroot.c                          |    6 +-----
>  fs/afs/fs_probe.c                         |    6 +-----
>  fs/afs/protocol_yfs.h                     |    6 +-----
>  fs/afs/rotate.c                           |    6 +-----
>  fs/afs/vl_probe.c                         |    6 +-----
>  fs/afs/vl_rotate.c                        |    6 +-----
>  fs/afs/xattr.c                            |    6 +-----
>  fs/afs/xdr_fs.h                           |    6 +-----
>  fs/afs/yfsclient.c                        |    6 +-----
>  fs/cachefiles/bind.c                      |    6 +-----
>  fs/cachefiles/daemon.c                    |    6 +-----
>  fs/cachefiles/interface.c                 |    6 +-----
>  fs/cachefiles/internal.h                  |    6 +-----
>  fs/cachefiles/key.c                       |    6 +-----
>  fs/cachefiles/main.c                      |    6 +-----
>  fs/cachefiles/namei.c                     |    6 +-----
>  fs/cachefiles/proc.c                      |    6 +-----
>  fs/cachefiles/rdwr.c                      |    6 +-----
>  fs/cachefiles/security.c                  |    6 +-----
>  fs/cachefiles/xattr.c                     |    6 +-----
>  fs/fs_context.c                           |    6 +-----
>  fs/fs_parser.c                            |    6 +-----
>  fs/fscache/histogram.c                    |    6 +-----
>  fs/fscache/netfs.c                        |    6 +-----
>  fs/fscache/object-list.c                  |    6 +-----
>  fs/fsopen.c                               |    6 +-----
>  fs/nfs/fscache-index.c                    |    6 +-----
>  fs/nfs/fscache.c                          |    6 +-----
>  fs/nfs/fscache.h                          |    6 +-----
>  include/asm-generic/atomic.h              |    6 +-----
>  include/asm-generic/barrier.h             |    6 +-----
>  include/asm-generic/exec.h                |    6 +-----
>  include/asm-generic/io.h                  |    6 +-----
>  include/asm-generic/switch_to.h           |    6 +-----
>  include/crypto/pkcs7.h                    |    6 +-----
>  include/crypto/public_key.h               |    6 +-----
>  include/keys/asymmetric-parser.h          |    6 +-----
>  include/keys/asymmetric-subtype.h         |    6 +-----
>  include/keys/asymmetric-type.h            |    6 +-----
>  include/keys/request_key_auth-type.h      |    6 +-----
>  include/keys/system_keyring.h             |    6 +-----
>  include/linux/asn1.h                      |    6 +-----
>  include/linux/asn1_ber_bytecode.h         |    6 +-----
>  include/linux/asn1_decoder.h              |    6 +-----
>  include/linux/assoc_array.h               |    6 +-----
>  include/linux/assoc_array_priv.h          |    6 +-----
>  include/linux/count_zeros.h               |    6 +-----
>  include/linux/cred.h                      |    6 +-----
>  include/linux/fs_context.h                |    6 +-----
>  include/linux/fs_parser.h                 |    6 +-----
>  include/linux/key-type.h                  |    6 +-----
>  include/linux/keyctl.h                    |    6 +-----
>  include/linux/oid_registry.h              |    6 +-----
>  include/linux/verification.h              |    6 +-----
>  include/trace/events/afs.h                |    6 +-----
>  include/trace/events/cachefiles.h         |    6 +-----
>  include/trace/events/fscache.h            |    6 +-----
>  include/trace/events/i2c.h                |    6 +-----
>  include/trace/events/rxrpc.h              |    6 +-----
>  include/trace/events/smbus.h              |    6 +-----
>  include/uapi/linux/rxrpc.h                |    6 +-----
>  kernel/cred.c                             |    6 +-----
>  kernel/module-internal.h                  |    6 +-----
>  kernel/module_signing.c                   |    6 +-----
>  lib/asn1_decoder.c                        |    6 +-----
>  lib/assoc_array.c                         |    6 +-----
>  lib/build_OID_registry                    |    6 +-----
>  lib/is_single_threaded.c                  |    6 +-----
>  lib/oid_registry.c                        |    6 +-----
>  net/rxrpc/conn_client.c                   |    7 +------
>  net/rxrpc/conn_service.c                  |    6 +-----
>  net/rxrpc/insecure.c                      |    6 +-----
>  net/rxrpc/local_object.c                  |    6 +-----
>  net/rxrpc/misc.c                          |    6 +-----
>  net/rxrpc/net_ns.c                        |    6 +-----
>  net/rxrpc/sendmsg.c                       |    6 +-----
>  net/rxrpc/sysctl.c                        |    6 +-----
>  net/rxrpc/utils.c                         |    6 +-----
>  samples/vfs/test-fsmount.c                |    6 +-----
>  samples/vfs/test-statx.c                  |    6 +-----
>  scripts/asn1_compiler.c                   |    6 +-----
>  security/keys/big_key.c                   |    6 +-----
>  security/keys/gc.c                        |    6 +-----
>  security/keys/keyctl_pkey.c               |    6 +-----
>  security/keys/persistent.c                |    6 +-----
>  security/keys/sysctl.c                    |    6 +-----
>  tools/include/asm-generic/barrier.h       |    6 +-----
>  113 files changed, 113 insertions(+), 566 deletions(-)
> 
> --- a/arch/c6x/include/asm/irqflags.h
> +++ b/arch/c6x/include/asm/irqflags.h
> @@ -1,13 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   *  C6X IRQ flag handling
>   *
>   * Copyright (C) 2010 Texas Instruments Incorporated
>   * Written by Mark Salter (msalter@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #ifndef _ASM_IRQFLAGS_H
> --- a/arch/riscv/include/asm/atomic.h
> +++ b/arch/riscv/include/asm/atomic.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
>   * Copyright (C) 2012 Regents of the University of California
>   * Copyright (C) 2017 SiFive
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #ifndef _ASM_RISCV_ATOMIC_H
> --- a/certs/blacklist.c
> +++ b/certs/blacklist.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* System hash blacklist.
>   *
>   * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #define pr_fmt(fmt) "blacklist: "fmt
> --- a/certs/system_keyring.c
> +++ b/certs/system_keyring.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* System trusted keyring for trusted public keys
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <linux/export.h>
> --- a/crypto/asymmetric_keys/asymmetric_keys.h
> +++ b/crypto/asymmetric_keys/asymmetric_keys.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* Internal definitions for asymmetric key type
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <keys/asymmetric-type.h>
> --- a/crypto/asymmetric_keys/asymmetric_type.c
> +++ b/crypto/asymmetric_keys/asymmetric_type.c
> @@ -1,14 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Asymmetric public-key cryptography key type
>   *
>   * See Documentation/crypto/asymmetric-keys.txt
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  #include <keys/asymmetric-subtype.h>
>  #include <keys/asymmetric-parser.h>
> --- a/crypto/asymmetric_keys/mscode_parser.c
> +++ b/crypto/asymmetric_keys/mscode_parser.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Parse a Microsoft Individual Code Signing blob
>   *
>   * Copyright (C) 2014 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #define pr_fmt(fmt) "MSCODE: "fmt
> --- a/crypto/asymmetric_keys/pkcs7_key_type.c
> +++ b/crypto/asymmetric_keys/pkcs7_key_type.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Testing module to load key from trusted PKCS#7 message
>   *
>   * Copyright (C) 2014 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #define pr_fmt(fmt) "PKCS7key: "fmt
> --- a/crypto/asymmetric_keys/pkcs7_parser.c
> +++ b/crypto/asymmetric_keys/pkcs7_parser.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* PKCS#7 parser
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #define pr_fmt(fmt) "PKCS7: "fmt
> --- a/crypto/asymmetric_keys/pkcs7_parser.h
> +++ b/crypto/asymmetric_keys/pkcs7_parser.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* PKCS#7 crypto data parser internal definitions
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <linux/oid_registry.h>
> --- a/crypto/asymmetric_keys/pkcs7_trust.c
> +++ b/crypto/asymmetric_keys/pkcs7_trust.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Validate the trust chain of a PKCS#7 message.
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #define pr_fmt(fmt) "PKCS7: "fmt
> --- a/crypto/asymmetric_keys/pkcs7_verify.c
> +++ b/crypto/asymmetric_keys/pkcs7_verify.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Verify the signature on a PKCS#7 message.
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #define pr_fmt(fmt) "PKCS7: "fmt
> --- a/crypto/asymmetric_keys/pkcs8_parser.c
> +++ b/crypto/asymmetric_keys/pkcs8_parser.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* PKCS#8 Private Key parser [RFC 5208].
>   *
>   * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #define pr_fmt(fmt) "PKCS8: "fmt
> --- a/crypto/asymmetric_keys/public_key.c
> +++ b/crypto/asymmetric_keys/public_key.c
> @@ -1,14 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* In-software asymmetric public-key crypto subtype
>   *
>   * See Documentation/crypto/asymmetric-keys.txt
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #define pr_fmt(fmt) "PKEY: "fmt
> --- a/crypto/asymmetric_keys/restrict.c
> +++ b/crypto/asymmetric_keys/restrict.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Instantiate a public key crypto key from an X.509 Certificate
>   *
>   * Copyright (C) 2012, 2016 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #define pr_fmt(fmt) "ASYM: "fmt
> --- a/crypto/asymmetric_keys/signature.c
> +++ b/crypto/asymmetric_keys/signature.c
> @@ -1,14 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Signature verification with an asymmetric key
>   *
>   * See Documentation/crypto/asymmetric-keys.txt
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #define pr_fmt(fmt) "SIG: "fmt
> --- a/crypto/asymmetric_keys/verify_pefile.c
> +++ b/crypto/asymmetric_keys/verify_pefile.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Parse a signed PE binary
>   *
>   * Copyright (C) 2014 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #define pr_fmt(fmt) "PEFILE: "fmt
> --- a/crypto/asymmetric_keys/verify_pefile.h
> +++ b/crypto/asymmetric_keys/verify_pefile.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* PE Binary parser bits
>   *
>   * Copyright (C) 2014 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <crypto/pkcs7.h>
> --- a/crypto/asymmetric_keys/x509_cert_parser.c
> +++ b/crypto/asymmetric_keys/x509_cert_parser.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* X.509 certificate parser
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #define pr_fmt(fmt) "X.509: "fmt
> --- a/crypto/asymmetric_keys/x509_parser.h
> +++ b/crypto/asymmetric_keys/x509_parser.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* X.509 certificate parser internal definitions
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <linux/time.h>
> --- a/crypto/asymmetric_keys/x509_public_key.c
> +++ b/crypto/asymmetric_keys/x509_public_key.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Instantiate a public key crypto key from an X.509 Certificate
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #define pr_fmt(fmt) "X.509: "fmt
> --- a/crypto/rsa.c
> +++ b/crypto/rsa.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* RSA asymmetric public-key algorithm [RFC3447]
>   *
>   * Copyright (c) 2015, Intel Corporation
>   * Authors: Tadeusz Struk <tadeusz.struk@intel.com>
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <linux/module.h>
> --- a/drivers/rtc/rtc-st-lpc.c
> +++ b/drivers/rtc/rtc-st-lpc.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * rtc-st-lpc.c - ST's LPC RTC, powered by the Low Power Timer
>   *
> @@ -7,11 +8,6 @@
>   *         Lee Jones <lee.jones@linaro.org> for STMicroelectronics
>   *
>   * Based on the original driver written by Stuart Menefy.
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <linux/clk.h>
> --- a/fs/afs/addr_list.c
> +++ b/fs/afs/addr_list.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Server address list management
>   *
>   * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <linux/slab.h>
> --- a/fs/afs/dir_edit.c
> +++ b/fs/afs/dir_edit.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* AFS filesystem directory editing
>   *
>   * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <linux/kernel.h>
> --- a/fs/afs/dir_silly.c
> +++ b/fs/afs/dir_silly.c
> @@ -1,13 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* AFS silly rename handling
>   *
>   * Copyright (C) 2019 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
>   * - Derived from NFS's sillyrename.
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <linux/kernel.h>
> --- a/fs/afs/dynroot.c
> +++ b/fs/afs/dynroot.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* AFS dynamic root handling
>   *
>   * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <linux/fs.h>
> --- a/fs/afs/fs_probe.c
> +++ b/fs/afs/fs_probe.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* AFS fileserver probing
>   *
>   * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <linux/sched.h>
> --- a/fs/afs/protocol_yfs.h
> +++ b/fs/afs/protocol_yfs.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* YFS protocol bits
>   *
>   * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #define YFS_FS_SERVICE	2500
> --- a/fs/afs/rotate.c
> +++ b/fs/afs/rotate.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Handle fileserver selection and rotation.
>   *
>   * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <linux/kernel.h>
> --- a/fs/afs/vl_probe.c
> +++ b/fs/afs/vl_probe.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* AFS vlserver probing
>   *
>   * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <linux/sched.h>
> --- a/fs/afs/vl_rotate.c
> +++ b/fs/afs/vl_rotate.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Handle vlserver selection and rotation.
>   *
>   * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <linux/kernel.h>
> --- a/fs/afs/xattr.c
> +++ b/fs/afs/xattr.c
> @@ -1,13 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Extended attribute handling for AFS.  We use xattrs to get and set metadata
>   * instead of providing pioctl().
>   *
>   * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <linux/slab.h>
> --- a/fs/afs/xdr_fs.h
> +++ b/fs/afs/xdr_fs.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* AFS fileserver XDR types
>   *
>   * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #ifndef XDR_FS_H
> --- a/fs/afs/yfsclient.c
> +++ b/fs/afs/yfsclient.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* YFS File Server client stubs
>   *
>   * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <linux/init.h>
> --- a/fs/cachefiles/bind.c
> +++ b/fs/cachefiles/bind.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Bind and unbind a cache from the filesystem backing it
>   *
>   * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <linux/module.h>
> --- a/fs/cachefiles/daemon.c
> +++ b/fs/cachefiles/daemon.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Daemon interface
>   *
>   * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <linux/module.h>
> --- a/fs/cachefiles/interface.c
> +++ b/fs/cachefiles/interface.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* FS-Cache interface to CacheFiles
>   *
>   * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <linux/slab.h>
> --- a/fs/cachefiles/internal.h
> +++ b/fs/cachefiles/internal.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* General netfs cache on cache files internal defs
>   *
>   * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #ifdef pr_fmt
> --- a/fs/cachefiles/key.c
> +++ b/fs/cachefiles/key.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Key to pathname encoder
>   *
>   * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <linux/slab.h>
> --- a/fs/cachefiles/main.c
> +++ b/fs/cachefiles/main.c
> @@ -1,13 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Network filesystem caching backend to use cache files on a premounted
>   * filesystem
>   *
>   * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <linux/module.h>
> --- a/fs/cachefiles/namei.c
> +++ b/fs/cachefiles/namei.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* CacheFiles path walking and related routines
>   *
>   * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <linux/module.h>
> --- a/fs/cachefiles/proc.c
> +++ b/fs/cachefiles/proc.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* CacheFiles statistics
>   *
>   * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <linux/module.h>
> --- a/fs/cachefiles/rdwr.c
> +++ b/fs/cachefiles/rdwr.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Storage object read/write
>   *
>   * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <linux/mount.h>
> --- a/fs/cachefiles/security.c
> +++ b/fs/cachefiles/security.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* CacheFiles security management
>   *
>   * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <linux/fs.h>
> --- a/fs/cachefiles/xattr.c
> +++ b/fs/cachefiles/xattr.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* CacheFiles extended attribute management
>   *
>   * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <linux/module.h>
> --- a/fs/fs_context.c
> +++ b/fs/fs_context.c
> @@ -1,13 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Provide a way to create a superblock configuration context within the kernel
>   * that allows a superblock to be set up prior to mounting.
>   *
>   * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> --- a/fs/fs_parser.c
> +++ b/fs/fs_parser.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Filesystem parameter parser.
>   *
>   * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <linux/export.h>
> --- a/fs/fscache/histogram.c
> +++ b/fs/fscache/histogram.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* FS-Cache latency histogram
>   *
>   * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #define FSCACHE_DEBUG_LEVEL THREAD
> --- a/fs/fscache/netfs.c
> +++ b/fs/fscache/netfs.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* FS-Cache netfs (client) registration
>   *
>   * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #define FSCACHE_DEBUG_LEVEL COOKIE
> --- a/fs/fscache/object-list.c
> +++ b/fs/fscache/object-list.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Global fscache object list maintainer and viewer
>   *
>   * Copyright (C) 2009 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #define FSCACHE_DEBUG_LEVEL COOKIE
> --- a/fs/fsopen.c
> +++ b/fs/fsopen.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Filesystem access-by-fd.
>   *
>   * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <linux/fs_context.h>
> --- a/fs/nfs/fscache-index.c
> +++ b/fs/nfs/fscache-index.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* NFS FS-Cache index structure definition
>   *
>   * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <linux/init.h>
> --- a/fs/nfs/fscache.c
> +++ b/fs/nfs/fscache.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* NFS filesystem cache interface
>   *
>   * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <linux/init.h>
> --- a/fs/nfs/fscache.h
> +++ b/fs/nfs/fscache.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* NFS filesystem cache interface definitions
>   *
>   * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #ifndef _NFS_FSCACHE_H
> --- a/include/asm-generic/atomic.h
> +++ b/include/asm-generic/atomic.h
> @@ -1,14 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Generic C implementation of atomic counter operations. Usable on
>   * UP systems only. Do not include in machine independent code.
>   *
>   * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  #ifndef __ASM_GENERIC_ATOMIC_H
>  #define __ASM_GENERIC_ATOMIC_H
> --- a/include/asm-generic/barrier.h
> +++ b/include/asm-generic/barrier.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Generic barrier definitions.
>   *
> @@ -6,11 +7,6 @@
>   *
>   * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  #ifndef __ASM_GENERIC_BARRIER_H
>  #define __ASM_GENERIC_BARRIER_H
> --- a/include/asm-generic/exec.h
> +++ b/include/asm-generic/exec.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* Generic process execution definitions.
>   *
>   * It should be possible to use these on really simple architectures,
> @@ -5,11 +6,6 @@
>   *
>   * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  #ifndef __ASM_GENERIC_EXEC_H
>  #define __ASM_GENERIC_EXEC_H
> --- a/include/asm-generic/io.h
> +++ b/include/asm-generic/io.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* Generic I/O port emulation.
>   *
>   * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  #ifndef __ASM_GENERIC_IO_H
>  #define __ASM_GENERIC_IO_H
> --- a/include/asm-generic/switch_to.h
> +++ b/include/asm-generic/switch_to.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* Generic task switch macro wrapper.
>   *
>   * It should be possible to use these on really simple architectures,
> @@ -5,11 +6,6 @@
>   *
>   * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  #ifndef __ASM_GENERIC_SWITCH_TO_H
>  #define __ASM_GENERIC_SWITCH_TO_H
> --- a/include/crypto/pkcs7.h
> +++ b/include/crypto/pkcs7.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* PKCS#7 crypto data parser
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #ifndef _CRYPTO_PKCS7_H
> --- a/include/crypto/public_key.h
> +++ b/include/crypto/public_key.h
> @@ -1,14 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* Asymmetric public-key algorithm definitions
>   *
>   * See Documentation/crypto/asymmetric-keys.txt
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #ifndef _LINUX_PUBLIC_KEY_H
> --- a/include/keys/asymmetric-parser.h
> +++ b/include/keys/asymmetric-parser.h
> @@ -1,14 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* Asymmetric public-key cryptography data parser
>   *
>   * See Documentation/crypto/asymmetric-keys.txt
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #ifndef _KEYS_ASYMMETRIC_PARSER_H
> --- a/include/keys/asymmetric-subtype.h
> +++ b/include/keys/asymmetric-subtype.h
> @@ -1,14 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* Asymmetric public-key cryptography key subtype
>   *
>   * See Documentation/crypto/asymmetric-keys.txt
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #ifndef _KEYS_ASYMMETRIC_SUBTYPE_H
> --- a/include/keys/asymmetric-type.h
> +++ b/include/keys/asymmetric-type.h
> @@ -1,14 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* Asymmetric Public-key cryptography key type interface
>   *
>   * See Documentation/crypto/asymmetric-keys.txt
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #ifndef _KEYS_ASYMMETRIC_TYPE_H
> --- a/include/keys/request_key_auth-type.h
> +++ b/include/keys/request_key_auth-type.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* request_key authorisation token key type
>   *
>   * Copyright (C) 2005 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #ifndef _KEYS_REQUEST_KEY_AUTH_TYPE_H
> --- a/include/keys/system_keyring.h
> +++ b/include/keys/system_keyring.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* System keyring containing trusted public keys.
>   *
>   * Copyright (C) 2013 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #ifndef _KEYS_SYSTEM_KEYRING_H
> --- a/include/linux/asn1.h
> +++ b/include/linux/asn1.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* ASN.1 BER/DER/CER encoding definitions
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #ifndef _LINUX_ASN1_H
> --- a/include/linux/asn1_ber_bytecode.h
> +++ b/include/linux/asn1_ber_bytecode.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* ASN.1 BER/DER/CER parsing state machine internal definitions
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #ifndef _LINUX_ASN1_BER_BYTECODE_H
> --- a/include/linux/asn1_decoder.h
> +++ b/include/linux/asn1_decoder.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* ASN.1 decoder
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #ifndef _LINUX_ASN1_DECODER_H
> --- a/include/linux/assoc_array.h
> +++ b/include/linux/assoc_array.h
> @@ -1,14 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* Generic associative array implementation.
>   *
>   * See Documentation/core-api/assoc_array.rst for information.
>   *
>   * Copyright (C) 2013 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #ifndef _LINUX_ASSOC_ARRAY_H
> --- a/include/linux/assoc_array_priv.h
> +++ b/include/linux/assoc_array_priv.h
> @@ -1,14 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* Private definitions for the generic associative array implementation.
>   *
>   * See Documentation/core-api/assoc_array.rst for information.
>   *
>   * Copyright (C) 2013 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #ifndef _LINUX_ASSOC_ARRAY_PRIV_H
> --- a/include/linux/count_zeros.h
> +++ b/include/linux/count_zeros.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* Count leading and trailing zeros functions
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #ifndef _LINUX_BITOPS_COUNT_ZEROS_H_
> --- a/include/linux/cred.h
> +++ b/include/linux/cred.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* Credentials management - see Documentation/security/credentials.rst
>   *
>   * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #ifndef _LINUX_CRED_H
> --- a/include/linux/fs_context.h
> +++ b/include/linux/fs_context.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* Filesystem superblock creation and reconfiguration context.
>   *
>   * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #ifndef _LINUX_FS_CONTEXT_H
> --- a/include/linux/fs_parser.h
> +++ b/include/linux/fs_parser.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* Filesystem parameter description and parser
>   *
>   * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #ifndef _LINUX_FS_PARSER_H
> --- a/include/linux/key-type.h
> +++ b/include/linux/key-type.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* Definitions for key type implementations
>   *
>   * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #ifndef _LINUX_KEY_TYPE_H
> --- a/include/linux/keyctl.h
> +++ b/include/linux/keyctl.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* keyctl kernel bits
>   *
>   * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #ifndef __LINUX_KEYCTL_H
> --- a/include/linux/oid_registry.h
> +++ b/include/linux/oid_registry.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* ASN.1 Object identifier (OID) registry
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #ifndef _LINUX_OID_REGISTRY_H
> --- a/include/linux/verification.h
> +++ b/include/linux/verification.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* Signature verification
>   *
>   * Copyright (C) 2014 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #ifndef _LINUX_VERIFICATION_H
> --- a/include/trace/events/afs.h
> +++ b/include/trace/events/afs.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* AFS tracepoints
>   *
>   * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  #undef TRACE_SYSTEM
>  #define TRACE_SYSTEM afs
> --- a/include/trace/events/cachefiles.h
> +++ b/include/trace/events/cachefiles.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* CacheFiles tracepoints
>   *
>   * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  #undef TRACE_SYSTEM
>  #define TRACE_SYSTEM cachefiles
> --- a/include/trace/events/fscache.h
> +++ b/include/trace/events/fscache.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* FS-Cache tracepoints
>   *
>   * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  #undef TRACE_SYSTEM
>  #define TRACE_SYSTEM fscache
> --- a/include/trace/events/i2c.h
> +++ b/include/trace/events/i2c.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* I2C message transfer tracepoints
>   *
>   * Copyright (C) 2013 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  #undef TRACE_SYSTEM
>  #define TRACE_SYSTEM i2c
> --- a/include/trace/events/rxrpc.h
> +++ b/include/trace/events/rxrpc.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* AF_RXRPC tracepoints
>   *
>   * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  #undef TRACE_SYSTEM
>  #define TRACE_SYSTEM rxrpc
> --- a/include/trace/events/smbus.h
> +++ b/include/trace/events/smbus.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* SMBUS message transfer tracepoints
>   *
>   * Copyright (C) 2013 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  #undef TRACE_SYSTEM
>  #define TRACE_SYSTEM smbus
> --- a/include/uapi/linux/rxrpc.h
> +++ b/include/uapi/linux/rxrpc.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* Types and definitions for AF_RXRPC.
>   *
>   * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #ifndef _UAPI_LINUX_RXRPC_H
> --- a/kernel/cred.c
> +++ b/kernel/cred.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Task credentials management - see Documentation/security/credentials.rst
>   *
>   * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  #include <linux/export.h>
>  #include <linux/cred.h>
> --- a/kernel/module-internal.h
> +++ b/kernel/module-internal.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* Module internals
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <linux/elf.h>
> --- a/kernel/module_signing.c
> +++ b/kernel/module_signing.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Module signature checker
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <linux/kernel.h>
> --- a/lib/asn1_decoder.c
> +++ b/lib/asn1_decoder.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Decoder for ASN.1 BER/DER/CER encoded bytestream
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <linux/export.h>
> --- a/lib/assoc_array.c
> +++ b/lib/assoc_array.c
> @@ -1,14 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Generic associative array implementation.
>   *
>   * See Documentation/core-api/assoc_array.rst for information.
>   *
>   * Copyright (C) 2013 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  //#define DEBUG
>  #include <linux/rcupdate.h>
> --- a/lib/build_OID_registry
> +++ b/lib/build_OID_registry
> @@ -1,15 +1,11 @@
>  #!/usr/bin/perl -w
> +# SPDX-License-Identifier: GPL-2.0-or-later
>  #
>  # Build a static ASN.1 Object Identified (OID) registry
>  #
>  # Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>  # Written by David Howells (dhowells@redhat.com)
>  #
> -# This program is free software; you can redistribute it and/or
> -# modify it under the terms of the GNU General Public Licence
> -# as published by the Free Software Foundation; either version
> -# 2 of the Licence, or (at your option) any later version.
> -#
>  
>  use strict;
>  
> --- a/lib/is_single_threaded.c
> +++ b/lib/is_single_threaded.c
> @@ -1,13 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Function to determine if a thread group is single threaded or not
>   *
>   * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
>   * - Derived from security/selinux/hooks.c
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  #include <linux/sched/signal.h>
>  #include <linux/sched/task.h>
> --- a/lib/oid_registry.c
> +++ b/lib/oid_registry.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* ASN.1 Object identifier (OID) registry
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <linux/module.h>
> --- a/net/rxrpc/conn_client.c
> +++ b/net/rxrpc/conn_client.c
> @@ -1,14 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Client connection-specific management code.
>   *
>   * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
>   *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
> - *
> - *
>   * Client connections need to be cached for a little while after they've made a
>   * call so as to handle retransmitted DATA packets in case the server didn't
>   * receive the final ACK or terminating ABORT we sent it.
> --- a/net/rxrpc/conn_service.c
> +++ b/net/rxrpc/conn_service.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Service connection management
>   *
>   * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <linux/slab.h>
> --- a/net/rxrpc/insecure.c
> +++ b/net/rxrpc/insecure.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Null security operations.
>   *
>   * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <net/af_rxrpc.h>
> --- a/net/rxrpc/local_object.c
> +++ b/net/rxrpc/local_object.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Local endpoint object management
>   *
>   * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> --- a/net/rxrpc/misc.c
> +++ b/net/rxrpc/misc.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Miscellaneous bits
>   *
>   * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <linux/kernel.h>
> --- a/net/rxrpc/net_ns.c
> +++ b/net/rxrpc/net_ns.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* rxrpc network namespace handling.
>   *
>   * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <linux/proc_fs.h>
> --- a/net/rxrpc/sendmsg.c
> +++ b/net/rxrpc/sendmsg.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* AF_RXRPC sendmsg() implementation.
>   *
>   * Copyright (C) 2007, 2016 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> --- a/net/rxrpc/sysctl.c
> +++ b/net/rxrpc/sysctl.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* sysctls for configuring RxRPC operating parameters
>   *
>   * Copyright (C) 2014 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <linux/sysctl.h>
> --- a/net/rxrpc/utils.c
> +++ b/net/rxrpc/utils.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Utility routines
>   *
>   * Copyright (C) 2015 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <linux/ip.h>
> --- a/samples/vfs/test-fsmount.c
> +++ b/samples/vfs/test-fsmount.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* fd-based mount test.
>   *
>   * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  
>  #include <stdio.h>
> --- a/samples/vfs/test-statx.c
> +++ b/samples/vfs/test-statx.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Test the statx() system call.
> 
> 

^ permalink raw reply	[flat|nested] 85+ messages in thread

* Re: [patch 12/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 37
  2019-05-20 17:08 ` [patch 12/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 37 Thomas Gleixner
@ 2019-05-20 22:37   ` Allison Randal
  2019-05-21  0:33   ` Kate Stewart
  1 sibling, 0 replies; 85+ messages in thread
From: Allison Randal @ 2019-05-20 22:37 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

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 either version 2 of the license or at
>   your option any later version this program is distributed in the
>   hope that it will be useful but without any warranty without even
>   the implied warranty of merchantability or fitness for a particular
>   purpose see the gnu general public license for more details you
>   should have received a copy of the gnu general public license along
>   with this program if not write to the free software foundation inc
>   59 temple place suite 330 boston ma 02111 1307 usa the gnu gpl is
>   contained in usr doc copyright gpl on a debian system and in the
>   file copying in the linux kernel source
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>   GPL-2.0-or-later
> 
> has been chosen to replace the boilerplate/reference in 6 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: linux-spdx@vger.kernel.org
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=d422fdd5bffd
> ---
>  drivers/atm/ambassador.c |   17 +----------------
>  drivers/atm/ambassador.h |   17 +----------------
>  drivers/atm/firestream.c |   17 +----------------
>  drivers/atm/firestream.h |   17 +----------------
>  drivers/atm/horizon.c    |   17 +----------------
>  drivers/atm/horizon.h    |   17 +----------------
>  6 files changed, 6 insertions(+), 96 deletions(-)
> 
> --- a/drivers/atm/ambassador.c
> +++ b/drivers/atm/ambassador.c
> @@ -1,23 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>    Madge Ambassador ATM Adapter driver.
>    Copyright (C) 1995-1999  Madge Networks Ltd.
>  
> -  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; either version 2 of the License, or
> -  (at your option) any later version.
> -
> -  This program is distributed in the hope that it will be useful,
> -  but WITHOUT ANY WARRANTY; without even the implied warranty of
> -  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> -  GNU General Public License for more details.
> -
> -  You should have received a copy of the GNU General Public License
> -  along with this program; if not, write to the Free Software
> -  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
> -
> -  The GNU GPL is contained in /usr/doc/copyright/GPL on a Debian
> -  system and in the file COPYING in the Linux kernel source.
>  */
>  
>  /* * dedicated to the memory of Graham Gordon 1971-1998 * */
> --- a/drivers/atm/ambassador.h
> +++ b/drivers/atm/ambassador.h
> @@ -1,23 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>    Madge Ambassador ATM Adapter driver.
>    Copyright (C) 1995-1999  Madge Networks Ltd.
>  
> -  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; either version 2 of the License, or
> -  (at your option) any later version.
> -
> -  This program is distributed in the hope that it will be useful,
> -  but WITHOUT ANY WARRANTY; without even the implied warranty of
> -  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> -  GNU General Public License for more details.
> -
> -  You should have received a copy of the GNU General Public License
> -  along with this program; if not, write to the Free Software
> -  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
> -
> -  The GNU GPL is contained in /usr/doc/copyright/GPL on a Debian
> -  system and in the file COPYING in the Linux kernel source.
>  */
>  
>  #ifndef AMBASSADOR_H
> --- a/drivers/atm/firestream.c
> +++ b/drivers/atm/firestream.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  
>  /* drivers/atm/firestream.c - FireStream 155 (MB86697) and
>   *                            FireStream  50 (MB86695) device driver 
> @@ -9,22 +10,6 @@
>   */
>  
>  /*
> -  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; either version 2 of the License, or
> -  (at your option) any later version.
> -
> -  This program is distributed in the hope that it will be useful,
> -  but WITHOUT ANY WARRANTY; without even the implied warranty of
> -  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> -  GNU General Public License for more details.
> -
> -  You should have received a copy of the GNU General Public License
> -  along with this program; if not, write to the Free Software
> -  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
> -
> -  The GNU GPL is contained in /usr/doc/copyright/GPL on a Debian
> -  system and in the file COPYING in the Linux kernel source.
>  */
>  
>  
> --- a/drivers/atm/firestream.h
> +++ b/drivers/atm/firestream.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* drivers/atm/firestream.h - FireStream 155 (MB86697) and
>   *                            FireStream  50 (MB86695) device driver 
>   */
> @@ -8,22 +9,6 @@
>   */
>  
>  /*
> -  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; either version 2 of the License, or
> -  (at your option) any later version.
> -
> -  This program is distributed in the hope that it will be useful,
> -  but WITHOUT ANY WARRANTY; without even the implied warranty of
> -  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> -  GNU General Public License for more details.
> -
> -  You should have received a copy of the GNU General Public License
> -  along with this program; if not, write to the Free Software
> -  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
> -
> -  The GNU GPL is contained in /usr/doc/copyright/GPL on a Debian
> -  system and in the file COPYING in the Linux kernel source.
>  */
>  
>  
> --- a/drivers/atm/horizon.c
> +++ b/drivers/atm/horizon.c
> @@ -1,23 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>    Madge Horizon ATM Adapter driver.
>    Copyright (C) 1995-1999  Madge Networks Ltd.
>    
> -  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; either version 2 of the License, or
> -  (at your option) any later version.
> -  
> -  This program is distributed in the hope that it will be useful,
> -  but WITHOUT ANY WARRANTY; without even the implied warranty of
> -  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> -  GNU General Public License for more details.
> -  
> -  You should have received a copy of the GNU General Public License
> -  along with this program; if not, write to the Free Software
> -  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
> -  
> -  The GNU GPL is contained in /usr/doc/copyright/GPL on a Debian
> -  system and in the file COPYING in the Linux kernel source.
>  */
>  
>  /*
> --- a/drivers/atm/horizon.h
> +++ b/drivers/atm/horizon.h
> @@ -1,23 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>    Madge Horizon ATM Adapter driver.
>    Copyright (C) 1995-1999  Madge Networks Ltd.
>  
> -  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; either version 2 of the License, or
> -  (at your option) any later version.
> -
> -  This program is distributed in the hope that it will be useful,
> -  but WITHOUT ANY WARRANTY; without even the implied warranty of
> -  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> -  GNU General Public License for more details.
> -
> -  You should have received a copy of the GNU General Public License
> -  along with this program; if not, write to the Free Software
> -  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
> -
> -  The GNU GPL is contained in /usr/doc/copyright/GPL on a Debian
> -  system and in the file COPYING in the Linux kernel source.
>  */
>  
>  /*
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 85+ messages in thread

* Re: [patch 13/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 38
  2019-05-20 17:08 ` [patch 13/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 38 Thomas Gleixner
@ 2019-05-20 22:39   ` Allison Randal
  2019-05-21  0:34   ` Kate Stewart
  1 sibling, 0 replies; 85+ messages in thread
From: Allison Randal @ 2019-05-20 22:39 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

On 5/20/19 6:08 PM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
> 
>   this file is released under the gplv2 and any later version
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>   GPL-2.0-or-later
> 
> has been chosen to replace the boilerplate/reference in 1 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: linux-spdx@vger.kernel.org
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=c40953a97164
> ---
>  kernel/stop_machine.c |    3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> --- a/kernel/stop_machine.c
> +++ b/kernel/stop_machine.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * kernel/stop_machine.c
>   *
> @@ -5,8 +6,6 @@
>   * Copyright (C) 2008, 2005	Rusty Russell rusty@rustcorp.com.au
>   * Copyright (C) 2010		SUSE Linux Products GmbH
>   * Copyright (C) 2010		Tejun Heo <tj@kernel.org>
> - *
> - * This file is released under the GPLv2 and any later version.
>   */
>  #include <linux/completion.h>
>  #include <linux/cpu.h>
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 85+ messages in thread

* Re: [patch 14/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 39
  2019-05-20 17:08 ` [patch 14/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 39 Thomas Gleixner
@ 2019-05-20 22:39   ` Allison Randal
  2019-05-21  0:39   ` Kate Stewart
  1 sibling, 0 replies; 85+ messages in thread
From: Allison Randal @ 2019-05-20 22:39 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

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 version 2 as
>   published by the free software foundation either version 2 of the
>   license or at your option any later version
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>   GPL-2.0-or-later
> 
> has been chosen to replace the boilerplate/reference in 2 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: linux-spdx@vger.kernel.org
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=6369a2b152ec
> ---
>  drivers/spi/spi-cadence.c      |    6 +-----
>  drivers/spi/spi-zynqmp-gqspi.c |    6 +-----
>  2 files changed, 2 insertions(+), 10 deletions(-)
> 
> --- a/drivers/spi/spi-cadence.c
> +++ b/drivers/spi/spi-cadence.c
> @@ -1,14 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Cadence SPI controller driver (master mode only)
>   *
>   * Copyright (C) 2008 - 2014 Xilinx, Inc.
>   *
>   * based on Blackfin On-Chip SPI Driver (spi_bfin5xx.c)
> - *
> - * This program is free software; you can redistribute it and/or modify it under
> - * the terms of the GNU General Public License version 2 as published by the
> - * Free Software Foundation; either version 2 of the License, or (at your
> - * option) any later version.
>   */
>  
>  #include <linux/clk.h>
> --- a/drivers/spi/spi-zynqmp-gqspi.c
> +++ b/drivers/spi/spi-zynqmp-gqspi.c
> @@ -1,13 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Xilinx Zynq UltraScale+ MPSoC Quad-SPI (QSPI) controller driver
>   * (master mode only)
>   *
>   * Copyright (C) 2009 - 2015 Xilinx, Inc.
> - *
> - * This program is free software; you can redistribute it and/or modify it
> - * under the terms of the GNU General Public License version 2 as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
>   */
>  
>  #include <linux/clk.h>
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 85+ messages in thread

* Re: [patch 15/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 40
  2019-05-20 17:08 ` [patch 15/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 40 Thomas Gleixner
@ 2019-05-20 22:40   ` Allison Randal
  2019-05-21  0:38   ` Kate Stewart
  2019-05-21 14:22   ` Michael Ellerman
  2 siblings, 0 replies; 85+ messages in thread
From: Allison Randal @ 2019-05-20 22:40 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

On 5/20/19 6:08 PM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
> 
>   this 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 either version 2 of the license or at your
>   option any later version
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>   GPL-2.0-or-later
> 
> has been chosen to replace the boilerplate/reference in 14 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: linux-spdx@vger.kernel.org
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=071996a06f85
> ---
>  arch/powerpc/boot/cuboot-mpc7448hpc2.c         |    7 +------
>  arch/powerpc/include/asm/mpc5xxx.h             |    7 +------
>  arch/powerpc/include/asm/mpc85xx.h             |    6 +-----
>  arch/powerpc/include/asm/ppc4xx.h              |    7 +------
>  arch/powerpc/platforms/512x/clock-commonclk.c  |    6 +-----
>  arch/powerpc/platforms/512x/mpc5121_ads.c      |    7 +------
>  arch/powerpc/platforms/512x/mpc5121_ads_cpld.c |    6 +-----
>  arch/powerpc/platforms/512x/mpc512x_generic.c  |    7 +------
>  arch/powerpc/platforms/512x/mpc512x_shared.c   |    6 +-----
>  arch/powerpc/platforms/512x/pdm360ng.c         |    7 +------
>  drivers/dma/fsldma.c                           |    7 +------
>  drivers/dma/fsldma.h                           |    7 +------
>  include/linux/dma/xilinx_dma.h                 |    6 +-----
>  include/linux/fsldma.h                         |    5 +----
>  14 files changed, 14 insertions(+), 77 deletions(-)
> 
> --- a/arch/powerpc/boot/cuboot-mpc7448hpc2.c
> +++ b/arch/powerpc/boot/cuboot-mpc7448hpc2.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2007 Freescale Semiconductor, Inc. All rights reserved.
>   *
> @@ -7,12 +8,6 @@
>   * Old U-boot compatibility for mpc7448hpc2 board
>   * Based on the code of Scott Wood <scottwood@freescale.com>
>   * for 83xx and 85xx.
> - *
> - * This 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;  either version 2 of the  License, or
> - * (at your option) any later version.
> - *
>   */
>  
>  #include "ops.h"
> --- a/arch/powerpc/include/asm/mpc5xxx.h
> +++ b/arch/powerpc/include/asm/mpc5xxx.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright (C) 2007 Freescale Semiconductor, Inc. All rights reserved.
>   *
> @@ -5,12 +6,6 @@
>   *
>   * Description:
>   * MPC5xxx Prototypes and definitions
> - *
> - * This 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
>   */
>  
>  #ifndef __ASM_POWERPC_MPC5xxx_H__
> --- a/arch/powerpc/include/asm/mpc85xx.h
> +++ b/arch/powerpc/include/asm/mpc85xx.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * MPC85xx cpu type detection
>   *
>   * Copyright 2011-2012 Freescale Semiconductor, Inc.
> - *
> - * This 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; either version 2 of the License, or
> - * (at your option) any later version.
>   */
>  
>  #ifndef __ASM_PPC_MPC85XX_H
> --- a/arch/powerpc/include/asm/ppc4xx.h
> +++ b/arch/powerpc/include/asm/ppc4xx.h
> @@ -1,13 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * PPC4xx Prototypes and definitions
>   *
>   * Copyright 2008 DENX Software Engineering, Stefan Roese <sr@denx.de>
> - *
> - * This 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
>   */
>  
>  #ifndef __ASM_POWERPC_PPC4xx_H__
> --- a/arch/powerpc/platforms/512x/clock-commonclk.c
> +++ b/arch/powerpc/platforms/512x/clock-commonclk.c
> @@ -1,14 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2013 DENX Software Engineering
>   *
>   * Gerhard Sittig, <gsi@denx.de>
>   *
>   * common clock driver support for the MPC512x platform
> - *
> - * This 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; either version 2 of the License, or
> - * (at your option) any later version.
>   */
>  
>  #include <linux/bitops.h>
> --- a/arch/powerpc/platforms/512x/mpc5121_ads.c
> +++ b/arch/powerpc/platforms/512x/mpc5121_ads.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2007, 2008 Freescale Semiconductor, Inc. All rights reserved.
>   *
> @@ -5,12 +6,6 @@
>   *
>   * Description:
>   * MPC5121 ADS board setup
> - *
> - * This 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
>   */
>  
>  #include <linux/kernel.h>
> --- a/arch/powerpc/platforms/512x/mpc5121_ads_cpld.c
> +++ b/arch/powerpc/platforms/512x/mpc5121_ads_cpld.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2008 Freescale Semiconductor, Inc. All rights reserved.
>   *
> @@ -5,11 +6,6 @@
>   *
>   * Description:
>   * MPC5121ADS CPLD irq handling
> - *
> - * This 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; either version 2 of the License, or
> - * (at your option) any later version.
>   */
>  
>  #undef DEBUG
> --- a/arch/powerpc/platforms/512x/mpc512x_generic.c
> +++ b/arch/powerpc/platforms/512x/mpc512x_generic.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2007,2008 Freescale Semiconductor, Inc. All rights reserved.
>   *
> @@ -5,12 +6,6 @@
>   *
>   * Description:
>   * MPC512x SoC setup
> - *
> - * This 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
>   */
>  
>  #include <linux/kernel.h>
> --- a/arch/powerpc/platforms/512x/mpc512x_shared.c
> +++ b/arch/powerpc/platforms/512x/mpc512x_shared.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2007,2008 Freescale Semiconductor, Inc. All rights reserved.
>   *
> @@ -5,11 +6,6 @@
>   *
>   * Description:
>   * MPC512x Shared code
> - *
> - * This 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; either version 2 of the License, or
> - * (at your option) any later version.
>   */
>  
>  #include <linux/clk.h>
> --- a/arch/powerpc/platforms/512x/pdm360ng.c
> +++ b/arch/powerpc/platforms/512x/pdm360ng.c
> @@ -1,15 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2010 DENX Software Engineering
>   *
>   * Anatolij Gustschin, <agust@denx.de>
>   *
>   * PDM360NG board setup
> - *
> - * This 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
>   */
>  
>  #include <linux/kernel.h>
> --- a/drivers/dma/fsldma.c
> +++ b/drivers/dma/fsldma.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Freescale MPC85xx, MPC83xx DMA Engine support
>   *
> @@ -16,12 +17,6 @@
>   * command for PCI read operations, instead of using the default PCI Read Line
>   * command. Please be aware that this setting may result in read pre-fetching
>   * on some platforms.
> - *
> - * This 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
>   */
>  
>  #include <linux/init.h>
> --- a/drivers/dma/fsldma.h
> +++ b/drivers/dma/fsldma.h
> @@ -1,15 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright (C) 2007-2010 Freescale Semiconductor, Inc. All rights reserved.
>   *
>   * Author:
>   *   Zhang Wei <wei.zhang@freescale.com>, Jul 2007
>   *   Ebony Zhu <ebony.zhu@freescale.com>, May 2007
> - *
> - * This 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
>   */
>  #ifndef __DMA_FSLDMA_H
>  #define __DMA_FSLDMA_H
> --- a/include/linux/dma/xilinx_dma.h
> +++ b/include/linux/dma/xilinx_dma.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Xilinx DMA Engine drivers support header file
>   *
>   * Copyright (C) 2010-2014 Xilinx, Inc. All rights reserved.
> - *
> - * This 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; either version 2 of the License, or
> - * (at your option) any later version.
>   */
>  
>  #ifndef __DMA_XILINX_DMA_H
> --- a/include/linux/fsldma.h
> +++ b/include/linux/fsldma.h
> @@ -1,8 +1,5 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
> - * This 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; either version 2 of the License, or
> - * (at your option) any later version.
>   */
>  
>  #ifndef FSL_DMA_H
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 85+ messages in thread

* Re: [patch 16/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 41
  2019-05-20 17:08 ` [patch 16/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 41 Thomas Gleixner
@ 2019-05-20 22:41   ` Allison Randal
  2019-05-21  0:42   ` Kate Stewart
  1 sibling, 0 replies; 85+ messages in thread
From: Allison Randal @ 2019-05-20 22:41 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

On 5/20/19 6:08 PM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
> 
>   this module 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 either version 2 of the license or at
>   your option any later version
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>   GPL-2.0-or-later
> 
> has been chosen to replace the boilerplate/reference in 18 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: linux-spdx@vger.kernel.org
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=7aa5fdf75240
> ---
>  drivers/net/hamradio/bpqether.c |    5 +----
>  drivers/net/wan/lapbether.c     |    5 +----
>  net/lapb/lapb_iface.c           |    5 +----
>  net/lapb/lapb_in.c              |    5 +----
>  net/lapb/lapb_out.c             |    5 +----
>  net/lapb/lapb_subr.c            |    5 +----
>  net/lapb/lapb_timer.c           |    5 +----
>  net/x25/af_x25.c                |    5 +----
>  net/x25/x25_dev.c               |    5 +----
>  net/x25/x25_facilities.c        |    5 +----
>  net/x25/x25_forward.c           |    5 +----
>  net/x25/x25_in.c                |    5 +----
>  net/x25/x25_link.c              |    5 +----
>  net/x25/x25_out.c               |    5 +----
>  net/x25/x25_proc.c              |    5 +----
>  net/x25/x25_route.c             |    5 +----
>  net/x25/x25_subr.c              |    5 +----
>  net/x25/x25_timer.c             |    5 +----
>  18 files changed, 18 insertions(+), 72 deletions(-)
> 
> --- a/drivers/net/hamradio/bpqether.c
> +++ b/drivers/net/hamradio/bpqether.c
> @@ -1,13 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   *	G8BPQ compatible "AX.25 via ethernet" driver release 004
>   *
>   *	This code REQUIRES 2.0.0 or higher/ NET3.029
>   *
>   *	This module:
> - *		This module 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; either version
> - *		2 of the License, or (at your option) any later version.
>   *
>   *	This is a "pseudo" network driver to allow AX.25 over Ethernet
>   *	using G8BPQ encapsulation. It has been extracted from the protocol
> --- a/drivers/net/wan/lapbether.c
> +++ b/drivers/net/wan/lapbether.c
> @@ -1,13 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   *	"LAPB via ethernet" driver release 001
>   *
>   *	This code REQUIRES 2.1.15 or higher/ NET3.038
>   *
>   *	This module:
> - *		This module 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; either version
> - *		2 of the License, or (at your option) any later version.
>   *
>   *	This is a "pseudo" network driver to allow LAPB over Ethernet.
>   *
> --- a/net/lapb/lapb_iface.c
> +++ b/net/lapb/lapb_iface.c
> @@ -1,13 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   *	LAPB release 002
>   *
>   *	This code REQUIRES 2.1.15 or higher/ NET3.038
>   *
>   *	This module:
> - *		This module 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; either version
> - *		2 of the License, or (at your option) any later version.
>   *
>   *	History
>   *	LAPB 001	Jonathan Naylor	Started Coding
> --- a/net/lapb/lapb_in.c
> +++ b/net/lapb/lapb_in.c
> @@ -1,13 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   *	LAPB release 002
>   *
>   *	This code REQUIRES 2.1.15 or higher/ NET3.038
>   *
>   *	This module:
> - *		This module 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; either version
> - *		2 of the License, or (at your option) any later version.
>   *
>   *	History
>   *	LAPB 001	Jonathan Naulor	Started Coding
> --- a/net/lapb/lapb_out.c
> +++ b/net/lapb/lapb_out.c
> @@ -1,13 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   *	LAPB release 002
>   *
>   *	This code REQUIRES 2.1.15 or higher/ NET3.038
>   *
>   *	This module:
> - *		This module 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; either version
> - *		2 of the License, or (at your option) any later version.
>   *
>   *	History
>   *	LAPB 001	Jonathan Naylor	Started Coding
> --- a/net/lapb/lapb_subr.c
> +++ b/net/lapb/lapb_subr.c
> @@ -1,13 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   *	LAPB release 002
>   *
>   *	This code REQUIRES 2.1.15 or higher/ NET3.038
>   *
>   *	This module:
> - *		This module 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; either version
> - *		2 of the License, or (at your option) any later version.
>   *
>   *	History
>   *	LAPB 001	Jonathan Naylor	Started Coding
> --- a/net/lapb/lapb_timer.c
> +++ b/net/lapb/lapb_timer.c
> @@ -1,13 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   *	LAPB release 002
>   *
>   *	This code REQUIRES 2.1.15 or higher/ NET3.038
>   *
>   *	This module:
> - *		This module 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; either version
> - *		2 of the License, or (at your option) any later version.
>   *
>   *	History
>   *	LAPB 001	Jonathan Naylor	Started Coding
> --- a/net/x25/af_x25.c
> +++ b/net/x25/af_x25.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   *	X.25 Packet Layer release 002
>   *
> @@ -8,10 +9,6 @@
>   *	This code REQUIRES 2.1.15 or higher
>   *
>   *	This module:
> - *		This module 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; either version
> - *		2 of the License, or (at your option) any later version.
>   *
>   *	History
>   *	X.25 001	Jonathan Naylor	Started coding.
> --- a/net/x25/x25_dev.c
> +++ b/net/x25/x25_dev.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   *	X.25 Packet Layer release 002
>   *
> @@ -7,10 +8,6 @@
>   *	This code REQUIRES 2.1.15 or higher
>   *
>   *	This module:
> - *		This module 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; either version
> - *		2 of the License, or (at your option) any later version.
>   *
>   *	History
>   *	X.25 001	Jonathan Naylor	Started coding.
> --- a/net/x25/x25_facilities.c
> +++ b/net/x25/x25_facilities.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   *	X.25 Packet Layer release 002
>   *
> @@ -8,10 +9,6 @@
>   *	This code REQUIRES 2.1.15 or higher
>   *
>   *	This module:
> - *		This module 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; either version
> - *		2 of the License, or (at your option) any later version.
>   *
>   *	History
>   *	X.25 001	Split from x25_subr.c
> --- a/net/x25/x25_forward.c
> +++ b/net/x25/x25_forward.c
> @@ -1,9 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   *	This module:
> - *		This module 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; either version
> - *		2 of the License, or (at your option) any later version.
>   *
>   *	History
>   *	03-01-2007	Added forwarding for x.25	Andrew Hendry
> --- a/net/x25/x25_in.c
> +++ b/net/x25/x25_in.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   *	X.25 Packet Layer release 002
>   *
> @@ -8,10 +9,6 @@
>   *	This code REQUIRES 2.1.15 or higher
>   *
>   *	This module:
> - *		This module 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; either version
> - *		2 of the License, or (at your option) any later version.
>   *
>   *	History
>   *	X.25 001	Jonathan Naylor	  Started coding.
> --- a/net/x25/x25_link.c
> +++ b/net/x25/x25_link.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   *	X.25 Packet Layer release 002
>   *
> @@ -8,10 +9,6 @@
>   *	This code REQUIRES 2.1.15 or higher
>   *
>   *	This module:
> - *		This module 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; either version
> - *		2 of the License, or (at your option) any later version.
>   *
>   *	History
>   *	X.25 001	Jonathan Naylor	  Started coding.
> --- a/net/x25/x25_out.c
> +++ b/net/x25/x25_out.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   *	X.25 Packet Layer release 002
>   *
> @@ -8,10 +9,6 @@
>   *	This code REQUIRES 2.1.15 or higher
>   *
>   *	This module:
> - *		This module 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; either version
> - *		2 of the License, or (at your option) any later version.
>   *
>   *	History
>   *	X.25 001	Jonathan Naylor	Started coding.
> --- a/net/x25/x25_proc.c
> +++ b/net/x25/x25_proc.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   *	X.25 Packet Layer release 002
>   *
> @@ -8,10 +9,6 @@
>   *	This code REQUIRES 2.4 with seq_file support
>   *
>   *	This module:
> - *		This module 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; either version
> - *		2 of the License, or (at your option) any later version.
>   *
>   *	History
>   *	2002/10/06	Arnaldo Carvalho de Melo  seq_file support
> --- a/net/x25/x25_route.c
> +++ b/net/x25/x25_route.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   *	X.25 Packet Layer release 002
>   *
> @@ -8,10 +9,6 @@
>   *	This code REQUIRES 2.1.15 or higher
>   *
>   *	This module:
> - *		This module 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; either version
> - *		2 of the License, or (at your option) any later version.
>   *
>   *	History
>   *	X.25 001	Jonathan Naylor	Started coding.
> --- a/net/x25/x25_subr.c
> +++ b/net/x25/x25_subr.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   *	X.25 Packet Layer release 002
>   *
> @@ -8,10 +9,6 @@
>   *	This code REQUIRES 2.1.15 or higher
>   *
>   *	This module:
> - *		This module 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; either version
> - *		2 of the License, or (at your option) any later version.
>   *
>   *	History
>   *	X.25 001	Jonathan Naylor	  Started coding.
> --- a/net/x25/x25_timer.c
> +++ b/net/x25/x25_timer.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   *	X.25 Packet Layer release 002
>   *
> @@ -8,10 +9,6 @@
>   *	This code REQUIRES 2.1.15 or higher
>   *
>   *	This module:
> - *		This module 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; either version
> - *		2 of the License, or (at your option) any later version.
>   *
>   *	History
>   *	X.25 001	Jonathan Naylor	Started coding.
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 85+ messages in thread

* Re: [patch 17/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 42
  2019-05-20 17:08 ` [patch 17/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 42 Thomas Gleixner
@ 2019-05-20 22:42   ` Allison Randal
  2019-05-21  0:42   ` Kate Stewart
  1 sibling, 0 replies; 85+ messages in thread
From: Allison Randal @ 2019-05-20 22:42 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

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 either version 2 of the license or at
>   your any later version
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>   GPL-2.0-or-later
> 
> has been chosen to replace the boilerplate/reference in 1 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: linux-spdx@vger.kernel.org
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=c38ce37dd339
> ---
>  crypto/ansi_cprng.c |    8 +-------
>  1 file changed, 1 insertion(+), 7 deletions(-)
> 
> --- a/crypto/ansi_cprng.c
> +++ b/crypto/ansi_cprng.c
> @@ -1,16 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * PRNG: Pseudo Random Number Generator
>   *       Based on NIST Recommended PRNG From ANSI X9.31 Appendix A.2.4 using
>   *       AES 128 cipher
>   *
>   *  (C) Neil Horman <nhorman@tuxdriver.com>
> - *
> - *  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; either version 2 of the License, or (at your
> - *  any later version.
> - *
> - *
>   */
>  
>  #include <crypto/internal/rng.h>
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 85+ messages in thread

* Re: [patch 18/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 43
  2019-05-20 17:08 ` [patch 18/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 43 Thomas Gleixner
@ 2019-05-20 22:54   ` Allison Randal
  2019-05-21  0:45     ` Kate Stewart
  2019-05-21  7:29     ` Thomas Gleixner
  0 siblings, 2 replies; 85+ messages in thread
From: Allison Randal @ 2019-05-20 22:54 UTC (permalink / raw)
  To: linux-spdx

This one contains some BSD warranty text, but less than the previous
example (16/25 from first batch). Maybe hold until we decide what to do
with that one?

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 either version 2 of the license or at
>   your option any later version the software is provided as is without
>   warranty of any kind express or implied including but not limited to
>   the warranties of merchantability fitness for a particular purpose
>   and noninfringement in no event shall the authors or copyright
>   holders be liable for any claim damages or other liability whether
>   in an action of contract tort or otherwise arising from out of or in
>   connection with the software or the use or other dealings in the
>   software
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>   GPL-2.0-or-later
> 
> has been chosen to replace the boilerplate/reference in 5 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: linux-spdx@vger.kernel.org
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=3d34feaa2366
> ---
>  arch/x86/crypto/crct10dif-pclmul_glue.c |   16 +---------------
>  arch/x86/crypto/sha256_ssse3_glue.c     |   15 +--------------
>  arch/x86/crypto/sha512_ssse3_glue.c     |   16 +---------------
>  crypto/crct10dif_common.c               |   16 +---------------
>  crypto/crct10dif_generic.c              |   16 +---------------
>  5 files changed, 5 insertions(+), 74 deletions(-)
> 
> --- a/arch/x86/crypto/crct10dif-pclmul_glue.c
> +++ b/arch/x86/crypto/crct10dif-pclmul_glue.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Cryptographic API.
>   *
> @@ -5,21 +6,6 @@
>   *
>   * Copyright (C) 2013 Intel Corporation
>   * Author: Tim Chen <tim.c.chen@linux.intel.com>
> - *
> - * 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; either version 2 of the License, or (at your option)
> - * any later version.
> - *
> - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
> - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
> - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
> - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
> - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
> - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
> - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
> - * SOFTWARE.
> - *
>   */
>  
>  #include <linux/types.h>
> --- a/arch/x86/crypto/sha256_ssse3_glue.c
> +++ b/arch/x86/crypto/sha256_ssse3_glue.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Cryptographic API.
>   *
> @@ -10,20 +11,6 @@
>   *
>   * Author:
>   *     Tim Chen <tim.c.chen@linux.intel.com>
> - *
> - * 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; either version 2 of the License, or (at your option)
> - * any later version.
> - *
> - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
> - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
> - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
> - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
> - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
> - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
> - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
> - * SOFTWARE.
>   */
>  
>  
> --- a/arch/x86/crypto/sha512_ssse3_glue.c
> +++ b/arch/x86/crypto/sha512_ssse3_glue.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Cryptographic API.
>   *
> @@ -8,21 +9,6 @@
>   *
>   * Copyright (C) 2013 Intel Corporation
>   * Author: Tim Chen <tim.c.chen@linux.intel.com>
> - *
> - * 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; either version 2 of the License, or (at your option)
> - * any later version.
> - *
> - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
> - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
> - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
> - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
> - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
> - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
> - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
> - * SOFTWARE.
> - *
>   */
>  
>  #define pr_fmt(fmt)	KBUILD_MODNAME ": " fmt
> --- a/crypto/crct10dif_common.c
> +++ b/crypto/crct10dif_common.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Cryptographic API.
>   *
> @@ -7,21 +8,6 @@
>   * Written by Martin K. Petersen <martin.petersen@oracle.com>
>   * Copyright (C) 2013 Intel Corporation
>   * Author: Tim Chen <tim.c.chen@linux.intel.com>
> - *
> - * 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; either version 2 of the License, or (at your option)
> - * any later version.
> - *
> - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
> - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
> - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
> - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
> - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
> - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
> - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
> - * SOFTWARE.
> - *
>   */
>  
>  #include <linux/crc-t10dif.h>
> --- a/crypto/crct10dif_generic.c
> +++ b/crypto/crct10dif_generic.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Cryptographic API.
>   *
> @@ -7,21 +8,6 @@
>   * Written by Martin K. Petersen <martin.petersen@oracle.com>
>   * Copyright (C) 2013 Intel Corporation
>   * Author: Tim Chen <tim.c.chen@linux.intel.com>
> - *
> - * 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; either version 2 of the License, or (at your option)
> - * any later version.
> - *
> - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
> - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
> - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
> - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
> - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
> - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
> - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
> - * SOFTWARE.
> - *
>   */
>  
>  #include <linux/module.h>
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 85+ messages in thread

* Re: [patch 19/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 44
  2019-05-20 17:08 ` [patch 19/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 44 Thomas Gleixner
@ 2019-05-20 22:56   ` Allison Randal
  2019-05-21  0:46   ` Kate Stewart
  1 sibling, 0 replies; 85+ messages in thread
From: Allison Randal @ 2019-05-20 22:56 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

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 gnu general public license as published by the
>   free software foundation either version 2 of the license or at your
>   option any later version
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>   GPL-2.0-or-later
> 
> has been chosen to replace the boilerplate/reference in 1 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: linux-spdx@vger.kernel.org
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=5dfa3cc12874
> ---
>  crypto/cast_common.c |    7 +------
>  1 file changed, 1 insertion(+), 6 deletions(-)
> 
> --- a/crypto/cast_common.c
> +++ b/crypto/cast_common.c
> @@ -1,15 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Common lookup tables for CAST-128 (cast5) and CAST-256 (cast6)
>   *
>   * Copyright © 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
>   * Copyright © 2003 Kartikey Mahendra Bhatt <kartik_me@hotmail.com>
>   * Copyright © 2012 Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
> - *
> - * This program is free software; you can redistribute it and/or modify it
> - * under the terms of GNU General Public License as published by the Free
> - * Software Foundation; either version 2 of the License, or (at your option)
> - * any later version.
> - *
>   */
>  
>  #include <linux/module.h>
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 85+ messages in thread

* Re: [patch 20/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 45
  2019-05-20 17:08 ` [patch 20/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 45 Thomas Gleixner
@ 2019-05-20 22:58   ` Allison Randal
  2019-05-21  0:47   ` Kate Stewart
  1 sibling, 0 replies; 85+ messages in thread
From: Allison Randal @ 2019-05-20 22:58 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

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 either version 2 or at your option any
>   later version
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>   GPL-2.0-or-later
> 
> has been chosen to replace the boilerplate/reference in 11 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: linux-spdx@vger.kernel.org
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=1e1d6a5564f4
> ---
>  arch/mips/cavium-octeon/crypto/octeon-sha512.c |    6 +-----
>  crypto/sha512_generic.c                        |    7 +------
>  drivers/ata/ahci_da850.c                       |    6 +-----
>  drivers/ata/ahci_dm816.c                       |    6 +-----
>  drivers/ata/ahci_platform.c                    |    6 +-----
>  drivers/ata/ahci_qoriq.c                       |    6 +-----
>  drivers/ata/libahci_platform.c                 |    6 +-----
>  drivers/md/md-cluster.c                        |    7 +------
>  drivers/scsi/scsi_debug.c                      |    7 +------
>  drivers/scsi/sg.c                              |    7 +------
>  include/linux/ahci_platform.h                  |    6 +-----
>  11 files changed, 11 insertions(+), 59 deletions(-)
> 
> --- a/arch/mips/cavium-octeon/crypto/octeon-sha512.c
> +++ b/arch/mips/cavium-octeon/crypto/octeon-sha512.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Cryptographic API.
>   *
> @@ -10,11 +11,6 @@
>   * Copyright (c) Jean-Luc Cooke <jlcooke@certainkey.com>
>   * Copyright (c) Andrew McDonald <andrew@mcdonald.org.uk>
>   * Copyright (c) 2003 Kyle McMartin <kyle@debian.org>
> - *
> - * 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; either version 2, or (at your option) any
> - * later version.
>   */
>  
>  #include <linux/mm.h>
> --- a/crypto/sha512_generic.c
> +++ b/crypto/sha512_generic.c
> @@ -1,14 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SHA-512 code by Jean-Luc Cooke <jlcooke@certainkey.com>
>   *
>   * Copyright (c) Jean-Luc Cooke <jlcooke@certainkey.com>
>   * Copyright (c) Andrew McDonald <andrew@mcdonald.org.uk>
>   * Copyright (c) 2003 Kyle McMartin <kyle@debian.org>
> - *
> - * 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; either version 2, or (at your option) any
> - * later version.
> - *
>   */
>  #include <crypto/internal/hash.h>
>  #include <linux/kernel.h>
> --- a/drivers/ata/ahci_da850.c
> +++ b/drivers/ata/ahci_da850.c
> @@ -1,10 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * DaVinci DA850 AHCI SATA platform driver
> - *
> - * 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; either version 2, or (at your option)
> - * any later version.
>   */
>  
>  #include <linux/kernel.h>
> --- a/drivers/ata/ahci_dm816.c
> +++ b/drivers/ata/ahci_dm816.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * DaVinci DM816 AHCI SATA platform driver
>   *
>   * Copyright (C) 2017 BayLibre SAS
> - *
> - * 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; either version 2, or (at your option)
> - * any later version.
>   */
>  
>  #include <linux/kernel.h>
> --- a/drivers/ata/ahci_platform.c
> +++ b/drivers/ata/ahci_platform.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * AHCI SATA platform driver
>   *
> @@ -5,11 +6,6 @@
>   *   Jeff Garzik <jgarzik@pobox.com>
>   * Copyright 2010  MontaVista Software, LLC.
>   *   Anton Vorontsov <avorontsov@ru.mvista.com>
> - *
> - * 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; either version 2, or (at your option)
> - * any later version.
>   */
>  
>  #include <linux/kernel.h>
> --- a/drivers/ata/ahci_qoriq.c
> +++ b/drivers/ata/ahci_qoriq.c
> @@ -1,13 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Freescale QorIQ AHCI SATA platform driver
>   *
>   * Copyright 2015 Freescale, Inc.
>   *   Tang Yuantian <Yuantian.Tang@freescale.com>
> - *
> - * 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; either version 2, or (at your option)
> - * any later version.
>   */
>  
>  #include <linux/kernel.h>
> --- a/drivers/ata/libahci_platform.c
> +++ b/drivers/ata/libahci_platform.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * AHCI SATA platform library
>   *
> @@ -5,11 +6,6 @@
>   *   Jeff Garzik <jgarzik@pobox.com>
>   * Copyright 2010  MontaVista Software, LLC.
>   *   Anton Vorontsov <avorontsov@ru.mvista.com>
> - *
> - * 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; either version 2, or (at your option)
> - * any later version.
>   */
>  
>  #include <linux/clk.h>
> --- a/drivers/md/md-cluster.c
> +++ b/drivers/md/md-cluster.c
> @@ -1,11 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2015, SUSE
> - *
> - * 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; either version 2, or (at your option)
> - * any later version.
> - *
>   */
>  
>  
> --- a/drivers/scsi/scsi_debug.c
> +++ b/drivers/scsi/scsi_debug.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * vvvvvvvvvvvvvvvvvvvvvvv Original vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
>   *  Copyright (C) 1992  Eric Youngdale
> @@ -8,13 +9,7 @@
>   *
>   * Copyright (C) 2001 - 2018 Douglas Gilbert
>   *
> - * 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; either version 2, or (at your option)
> - * any later version.
> - *
>   *  For documentation see http://sg.danny.cz/sg/sdebug26.html
> - *
>   */
>  
>  
> --- a/drivers/scsi/sg.c
> +++ b/drivers/scsi/sg.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   *  History:
>   *  Started: Aug 9 by Lawrence Foard (entropy@world.std.com),
> @@ -8,12 +9,6 @@
>   *        Copyright (C) 1992 Lawrence Foard
>   * Version 2 and 3 extensions to driver:
>   *        Copyright (C) 1998 - 2014 Douglas Gilbert
> - *
> - * 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; either version 2, or (at your option)
> - * any later version.
> - *
>   */
>  
>  static int sg_version_num = 30536;	/* 2 digits for each component */
> --- a/include/linux/ahci_platform.h
> +++ b/include/linux/ahci_platform.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * AHCI SATA platform driver
>   *
> @@ -5,11 +6,6 @@
>   *   Jeff Garzik <jgarzik@pobox.com>
>   * Copyright 2010  MontaVista Software, LLC.
>   *   Anton Vorontsov <avorontsov@ru.mvista.com>
> - *
> - * 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; either version 2, or (at your option)
> - * any later version.
>   */
>  
>  #ifndef _AHCI_PLATFORM_H
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 85+ messages in thread

* Re: [patch 21/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 46
  2019-05-20 17:08 ` [patch 21/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 46 Thomas Gleixner
@ 2019-05-20 22:59   ` Allison Randal
  2019-05-21  0:47   ` Kate Stewart
  1 sibling, 0 replies; 85+ messages in thread
From: Allison Randal @ 2019-05-20 22:59 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

On 5/20/19 6:08 PM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
> 
>   this driver 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 either version 2 of the license or at
>   your option any later version
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>   GPL-2.0-or-later
> 
> has been chosen to replace the boilerplate/reference in 5 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: linux-spdx@vger.kernel.org
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=1fc8e3659661
> ---
>  sound/pci/hda/hda_auto_parser.c |    6 +-----
>  sound/pci/hda/hda_auto_parser.h |    6 +-----
>  sound/pci/hda/hda_generic.h     |    6 +-----
>  sound/pci/hda/hda_jack.c        |    6 +-----
>  sound/pci/hda/hda_jack.h        |    6 +-----
>  5 files changed, 5 insertions(+), 25 deletions(-)
> 
> --- a/sound/pci/hda/hda_auto_parser.c
> +++ b/sound/pci/hda/hda_auto_parser.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * BIOS auto-parser helper functions for HD-audio
>   *
>   * Copyright (c) 2012 Takashi Iwai <tiwai@suse.de>
> - *
> - * This driver 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; either version 2 of the License, or
> - * (at your option) any later version.
>   */
>  
>  #include <linux/slab.h>
> --- a/sound/pci/hda/hda_auto_parser.h
> +++ b/sound/pci/hda/hda_auto_parser.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * BIOS auto-parser helper functions for HD-audio
>   *
>   * Copyright (c) 2012 Takashi Iwai <tiwai@suse.de>
> - *
> - * This driver 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; either version 2 of the License, or
> - * (at your option) any later version.
>   */
>  
>  #ifndef __SOUND_HDA_AUTO_PARSER_H
> --- a/sound/pci/hda/hda_generic.h
> +++ b/sound/pci/hda/hda_generic.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Generic BIOS auto-parser helper functions for HD-audio
>   *
>   * Copyright (c) 2012 Takashi Iwai <tiwai@suse.de>
> - *
> - * This driver 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; either version 2 of the License, or
> - * (at your option) any later version.
>   */
>  
>  #ifndef __SOUND_HDA_GENERIC_H
> --- a/sound/pci/hda/hda_jack.c
> +++ b/sound/pci/hda/hda_jack.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Jack-detection handling for HD-audio
>   *
>   * Copyright (c) 2011 Takashi Iwai <tiwai@suse.de>
> - *
> - * This driver 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; either version 2 of the License, or
> - * (at your option) any later version.
>   */
>  
>  #include <linux/init.h>
> --- a/sound/pci/hda/hda_jack.h
> +++ b/sound/pci/hda/hda_jack.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Jack-detection handling for HD-audio
>   *
>   * Copyright (c) 2011 Takashi Iwai <tiwai@suse.de>
> - *
> - * This driver 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; either version 2 of the License, or
> - * (at your option) any later version.
>   */
>  
>  #ifndef __SOUND_HDA_JACK_H
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 85+ messages in thread

* Re: [patch 22/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 47
  2019-05-20 17:08 ` [patch 22/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 47 Thomas Gleixner
@ 2019-05-20 23:00   ` Allison Randal
  2019-05-21  0:48   ` Kate Stewart
  1 sibling, 0 replies; 85+ messages in thread
From: Allison Randal @ 2019-05-20 23:00 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

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 either version 2 or at your option any
>   later version you should have received a copy of the gnu general
>   public license for example usr src linux copying if not write to the
>   free software foundation inc 675 mass ave cambridge ma 02139 usa
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>   GPL-2.0-or-later
> 
> has been chosen to replace the boilerplate/reference in 20 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: linux-spdx@vger.kernel.org
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=6db9aef3d74f
> ---
>  arch/alpha/include/asm/xor.h    |   10 +---------
>  arch/ia64/include/asm/xor.h     |   10 +---------
>  arch/ia64/lib/xor.S             |   10 +---------
>  arch/sparc/include/asm/xor_32.h |   10 +---------
>  arch/sparc/include/asm/xor_64.h |   10 +---------
>  arch/x86/include/asm/xor.h      |   10 +---------
>  arch/x86/include/asm/xor_32.h   |   10 +---------
>  crypto/xor.c                    |   10 +---------
>  drivers/ide/ide-pnp.c           |   10 +---------
>  drivers/md/md-faulty.c          |   11 +----------
>  drivers/md/md-linear.c          |    9 +--------
>  drivers/md/md-multipath.c       |   10 +---------
>  drivers/md/md.c                 |    9 +--------
>  drivers/md/md.h                 |    9 +--------
>  drivers/md/raid0.c              |    9 +--------
>  drivers/md/raid1.c              |   10 +---------
>  drivers/md/raid10.c             |   11 +----------
>  drivers/md/raid5.c              |   10 +---------
>  include/asm-generic/xor.h       |   10 +---------
>  include/linux/raid/md_u.h       |    9 +--------
>  20 files changed, 20 insertions(+), 177 deletions(-)
> 
> --- a/arch/alpha/include/asm/xor.h
> +++ b/arch/alpha/include/asm/xor.h
> @@ -1,16 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * include/asm-alpha/xor.h
>   *
>   * Optimized RAID-5 checksumming functions for alpha EV5 and EV6
> - *
> - * 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; either version 2, or (at your option)
> - * any later version.
> - *
> - * You should have received a copy of the GNU General Public License
> - * (for example /usr/src/linux/COPYING); if not, write to the Free
> - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
>   */
>  
>  extern void xor_alpha_2(unsigned long, unsigned long *, unsigned long *);
> --- a/arch/ia64/include/asm/xor.h
> +++ b/arch/ia64/include/asm/xor.h
> @@ -1,14 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Optimized RAID-5 checksumming functions for IA-64.
> - *
> - * 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; either version 2, or (at your option)
> - * any later version.
> - *
> - * You should have received a copy of the GNU General Public License
> - * (for example /usr/src/linux/COPYING); if not, write to the Free
> - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
>   */
>  
>  
> --- a/arch/ia64/lib/xor.S
> +++ b/arch/ia64/lib/xor.S
> @@ -1,16 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * arch/ia64/lib/xor.S
>   *
>   * Optimized RAID-5 checksumming functions for IA-64.
> - *
> - * 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; either version 2, or (at your option)
> - * any later version.
> - *
> - * You should have received a copy of the GNU General Public License
> - * (for example /usr/src/linux/COPYING); if not, write to the Free
> - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
>   */
>  
>  #include <asm/asmmacro.h>
> --- a/arch/sparc/include/asm/xor_32.h
> +++ b/arch/sparc/include/asm/xor_32.h
> @@ -1,16 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * include/asm/xor.h
>   *
>   * Optimized RAID-5 checksumming functions for 32-bit Sparc.
> - *
> - * 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; either version 2, or (at your option)
> - * any later version.
> - *
> - * You should have received a copy of the GNU General Public License
> - * (for example /usr/src/linux/COPYING); if not, write to the Free
> - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
>   */
>  
>  /*
> --- a/arch/sparc/include/asm/xor_64.h
> +++ b/arch/sparc/include/asm/xor_64.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * include/asm/xor.h
>   *
> @@ -7,15 +8,6 @@
>   *
>   * Copyright (C) 1997, 1999 Jakub Jelinek (jj@ultra.linux.cz)
>   * Copyright (C) 2006 David S. Miller <davem@davemloft.net>
> - *
> - * 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; either version 2, or (at your option)
> - * any later version.
> - *
> - * You should have received a copy of the GNU General Public License
> - * (for example /usr/src/linux/COPYING); if not, write to the Free
> - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
>   */
>  
>  #include <asm/spitfire.h>
> --- a/arch/x86/include/asm/xor.h
> +++ b/arch/x86/include/asm/xor.h
> @@ -1,17 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  #ifndef _ASM_X86_XOR_H
>  #define _ASM_X86_XOR_H
>  
>  /*
>   * Optimized RAID-5 checksumming functions for SSE.
> - *
> - * 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; either version 2, or (at your option)
> - * any later version.
> - *
> - * You should have received a copy of the GNU General Public License
> - * (for example /usr/src/linux/COPYING); if not, write to the Free
> - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
>   */
>  
>  /*
> --- a/arch/x86/include/asm/xor_32.h
> +++ b/arch/x86/include/asm/xor_32.h
> @@ -1,17 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  #ifndef _ASM_X86_XOR_32_H
>  #define _ASM_X86_XOR_32_H
>  
>  /*
>   * Optimized RAID-5 checksumming functions for MMX.
> - *
> - * 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; either version 2, or (at your option)
> - * any later version.
> - *
> - * You should have received a copy of the GNU General Public License
> - * (for example /usr/src/linux/COPYING); if not, write to the Free
> - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
>   */
>  
>  /*
> --- a/crypto/xor.c
> +++ b/crypto/xor.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * xor.c : Multiple Devices driver for Linux
>   *
> @@ -5,15 +6,6 @@
>   * Ingo Molnar, Matti Aarnio, Jakub Jelinek, Richard Henderson.
>   *
>   * Dispatch optimized RAID-5 checksumming functions.
> - *
> - * 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; either version 2, or (at your option)
> - * any later version.
> - *
> - * You should have received a copy of the GNU General Public License
> - * (for example /usr/src/linux/COPYING); if not, write to the Free
> - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
>   */
>  
>  #define BH_TRACE 0
> --- a/drivers/ide/ide-pnp.c
> +++ b/drivers/ide/ide-pnp.c
> @@ -1,17 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * This file provides autodetection for ISA PnP IDE interfaces.
>   * It was tested with "ESS ES1868 Plug and Play AudioDrive" IDE interface.
>   *
>   * Copyright (C) 2000 Andrey Panin <pazke@donpac.ru>
> - *
> - * 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; either version 2, or (at your option)
> - * any later version.
> - *
> - * You should have received a copy of the GNU General Public License
> - * (for example /usr/src/linux/COPYING); if not, write to the Free
> - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
>   */
>  
>  #include <linux/init.h>
> --- a/drivers/md/md-faulty.c
> +++ b/drivers/md/md-faulty.c
> @@ -1,19 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * faulty.c : Multiple Devices driver for Linux
>   *
>   * Copyright (C) 2004 Neil Brown
>   *
>   * fautly-device-simulator personality for md
> - *
> - *
> - * 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; either version 2, or (at your option)
> - * any later version.
> - *
> - * You should have received a copy of the GNU General Public License
> - * (for example /usr/src/linux/COPYING); if not, write to the Free
> - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
>   */
>  
>  
> --- a/drivers/md/md-linear.c
> +++ b/drivers/md/md-linear.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>     linear.c : Multiple Devices driver for Linux
>  	      Copyright (C) 1994-96 Marc ZYNGIER
> @@ -6,14 +7,6 @@
>  
>     Linear mode management functions.
>  
> -   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; either version 2, or (at your option)
> -   any later version.
> -
> -   You should have received a copy of the GNU General Public License
> -   (for example /usr/src/linux/COPYING); if not, write to the Free
> -   Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
>  */
>  
>  #include <linux/blkdev.h>
> --- a/drivers/md/md-multipath.c
> +++ b/drivers/md/md-multipath.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * multipath.c : Multiple Devices driver for Linux
>   *
> @@ -8,15 +9,6 @@
>   * MULTIPATH management functions.
>   *
>   * derived from raid1.c.
> - *
> - * 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; either version 2, or (at your option)
> - * any later version.
> - *
> - * You should have received a copy of the GNU General Public License
> - * (for example /usr/src/linux/COPYING); if not, write to the Free
> - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
>   */
>  
>  #include <linux/blkdev.h>
> --- a/drivers/md/md.c
> +++ b/drivers/md/md.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>     md.c : Multiple Devices driver for Linux
>       Copyright (C) 1998, 1999, 2000 Ingo Molnar
> @@ -22,14 +23,6 @@
>     - persistent bitmap code
>       Copyright (C) 2003-2004, Paul Clements, SteelEye Technology, Inc.
>  
> -   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; either version 2, or (at your option)
> -   any later version.
> -
> -   You should have received a copy of the GNU General Public License
> -   (for example /usr/src/linux/COPYING); if not, write to the Free
> -   Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
>  
>     Errors, Warnings, etc.
>     Please use:
> --- a/drivers/md/md.h
> +++ b/drivers/md/md.h
> @@ -1,15 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>     md.h : kernel internal structure of the Linux MD driver
>            Copyright (C) 1996-98 Ingo Molnar, Gadi Oxman
>  
> -   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; either version 2, or (at your option)
> -   any later version.
> -
> -   You should have received a copy of the GNU General Public License
> -   (for example /usr/src/linux/COPYING); if not, write to the Free
> -   Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
>  */
>  
>  #ifndef _MD_MD_H
> --- a/drivers/md/raid0.c
> +++ b/drivers/md/raid0.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>     raid0.c : Multiple Devices driver for Linux
>  	     Copyright (C) 1994-96 Marc ZYNGIER
> @@ -7,14 +8,6 @@
>  
>     RAID-0 management functions.
>  
> -   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; either version 2, or (at your option)
> -   any later version.
> -
> -   You should have received a copy of the GNU General Public License
> -   (for example /usr/src/linux/COPYING); if not, write to the Free
> -   Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
>  */
>  
>  #include <linux/blkdev.h>
> --- a/drivers/md/raid1.c
> +++ b/drivers/md/raid1.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * raid1.c : Multiple Devices driver for Linux
>   *
> @@ -20,15 +21,6 @@
>   *
>   * Additions to bitmap code, (C) 2003-2004 Paul Clements, SteelEye Technology:
>   * - persistent bitmap code
> - *
> - * 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; either version 2, or (at your option)
> - * any later version.
> - *
> - * You should have received a copy of the GNU General Public License
> - * (for example /usr/src/linux/COPYING); if not, write to the Free
> - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
>   */
>  
>  #include <linux/slab.h>
> --- a/drivers/md/raid10.c
> +++ b/drivers/md/raid10.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * raid10.c : Multiple Devices driver for Linux
>   *
> @@ -6,16 +7,6 @@
>   * RAID-10 support for md.
>   *
>   * Base on code in raid1.c.  See raid1.c for further copyright information.
> - *
> - *
> - * 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; either version 2, or (at your option)
> - * any later version.
> - *
> - * You should have received a copy of the GNU General Public License
> - * (for example /usr/src/linux/COPYING); if not, write to the Free
> - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
>   */
>  
>  #include <linux/slab.h>
> --- a/drivers/md/raid5.c
> +++ b/drivers/md/raid5.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * raid5.c : Multiple Devices driver for Linux
>   *	   Copyright (C) 1996, 1997 Ingo Molnar, Miguel de Icaza, Gadi Oxman
> @@ -7,15 +8,6 @@
>   * RAID-4/5/6 management functions.
>   * Thanks to Penguin Computing for making the RAID-6 development possible
>   * by donating a test server!
> - *
> - * 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; either version 2, or (at your option)
> - * any later version.
> - *
> - * You should have received a copy of the GNU General Public License
> - * (for example /usr/src/linux/COPYING); if not, write to the Free
> - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
>   */
>  
>  /*
> --- a/include/asm-generic/xor.h
> +++ b/include/asm-generic/xor.h
> @@ -1,16 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * include/asm-generic/xor.h
>   *
>   * Generic optimized RAID-5 checksumming functions.
> - *
> - * 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; either version 2, or (at your option)
> - * any later version.
> - *
> - * You should have received a copy of the GNU General Public License
> - * (for example /usr/src/linux/COPYING); if not, write to the Free
> - * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
>   */
>  
>  #include <linux/prefetch.h>
> --- a/include/linux/raid/md_u.h
> +++ b/include/linux/raid/md_u.h
> @@ -1,15 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>     md_u.h : user <=> kernel API between Linux raidtools and RAID drivers
>            Copyright (C) 1998 Ingo Molnar
>  	  
> -   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; either version 2, or (at your option)
> -   any later version.
> -   
> -   You should have received a copy of the GNU General Public License
> -   (for example /usr/src/linux/COPYING); if not, write to the Free
> -   Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  
>  */
>  #ifndef _MD_U_H
>  #define _MD_U_H
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 85+ messages in thread

* Re: [patch 23/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 48
  2019-05-20 17:08 ` [patch 23/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 48 Thomas Gleixner
@ 2019-05-20 23:02   ` Allison Randal
  2019-05-21  0:49   ` Kate Stewart
  1 sibling, 0 replies; 85+ messages in thread
From: Allison Randal @ 2019-05-20 23:02 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

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@linutronix.de>
> Cc: linux-spdx@vger.kernel.org
> 
> ---
> 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.
> - *
>   * ----------------------------------------------------------------------- */
>  
>  /*
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 85+ messages in thread

* Re: [patch 24/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 49
  2019-05-20 17:08 ` [patch 24/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 49 Thomas Gleixner
@ 2019-05-20 23:04   ` Allison Randal
  2019-05-21  0:49   ` Kate Stewart
  1 sibling, 0 replies; 85+ messages in thread
From: Allison Randal @ 2019-05-20 23:04 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

On 5/20/19 6:08 PM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
> 
>   this file 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 either version 2 or at your option any
>   later version this file is distributed in the hope that it will be
>   useful but without any warranty without even the implied warranty of
>   merchantability or fitness for a particular purpose see the gnu
>   general public license for more details you should have received a
>   copy of the gnu general public license along with this file if not
>   write to the free software foundation inc 59 temple place suite 330
>   boston ma 02111 1307 usa
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>   GPL-2.0-or-later
> 
> has been chosen to replace the boilerplate/reference in 2 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: linux-spdx@vger.kernel.org
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=227a01c02eb7
> ---
>  drivers/mtd/nand/raw/nand_bch.c |   15 +--------------
>  drivers/mtd/nand/raw/nand_ecc.c |   16 +---------------
>  2 files changed, 2 insertions(+), 29 deletions(-)
> 
> --- a/drivers/mtd/nand/raw/nand_bch.c
> +++ b/drivers/mtd/nand/raw/nand_bch.c
> @@ -1,22 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * This file provides ECC correction for more than 1 bit per block of data,
>   * using binary BCH codes. It relies on the generic BCH library lib/bch.c.
>   *
>   * Copyright © 2011 Ivan Djelic <ivan.djelic@parrot.com>
> - *
> - * This file 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; either version 2 or (at your option) any
> - * later version.
> - *
> - * This file is distributed in the hope that it will be useful, but WITHOUT
> - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
> - * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
> - * for more details.
> - *
> - * You should have received a copy of the GNU General Public License along
> - * with this file; if not, write to the Free Software Foundation, Inc.,
> - * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
>   */
>  
>  #include <linux/types.h>
> --- a/drivers/mtd/nand/raw/nand_ecc.c
> +++ b/drivers/mtd/nand/raw/nand_ecc.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * This file contains an ECC algorithm that detects and corrects 1 bit
>   * errors in a 256 byte block of data.
> @@ -11,21 +12,6 @@
>   *
>   * Information on how this algorithm works and how it was developed
>   * can be found in Documentation/mtd/nand_ecc.txt
> - *
> - * This file 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; either version 2 or (at your option) any
> - * later version.
> - *
> - * This file is distributed in the hope that it will be useful, but WITHOUT
> - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
> - * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
> - * for more details.
> - *
> - * You should have received a copy of the GNU General Public License along
> - * with this file; if not, write to the Free Software Foundation, Inc.,
> - * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
> - *
>   */
>  
>  #include <linux/types.h>
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 85+ messages in thread

* Re: [patch 25/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 50
  2019-05-20 17:08 ` [patch 25/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 50 Thomas Gleixner
@ 2019-05-20 23:05   ` Allison Randal
  2019-05-21  0:50   ` Kate Stewart
  1 sibling, 0 replies; 85+ messages in thread
From: Allison Randal @ 2019-05-20 23:05 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

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 either version 2 or at your option any
>   later version this program is distributed in the hope that it will
>   be useful but without any warranties or representations without even
>   the implied warranty of merchantability or fitness for a particular
>   purpose see the gnu general public license for more details you
>   should have received a copy of the gnu general public license along
>   with this program if not write to the free software foundation inc
>   59 temple place suite 330 boston ma 02111 1307 usa
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>   GPL-2.0-or-later
> 
> has been chosen to replace the boilerplate/reference in 43 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: linux-spdx@vger.kernel.org
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=b11aacd961c1
> ---
>  drivers/video/fbdev/via/accel.c           |   16 +---------------
>  drivers/video/fbdev/via/accel.h           |   16 +---------------
>  drivers/video/fbdev/via/chip.h            |   16 +---------------
>  drivers/video/fbdev/via/debug.h           |   16 +---------------
>  drivers/video/fbdev/via/dvi.c             |   16 +---------------
>  drivers/video/fbdev/via/dvi.h             |   16 +---------------
>  drivers/video/fbdev/via/global.c          |   16 +---------------
>  drivers/video/fbdev/via/global.h          |   16 +---------------
>  drivers/video/fbdev/via/hw.c              |   16 +---------------
>  drivers/video/fbdev/via/hw.h              |   16 +---------------
>  drivers/video/fbdev/via/ioctl.c           |   16 +---------------
>  drivers/video/fbdev/via/ioctl.h           |   16 +---------------
>  drivers/video/fbdev/via/lcd.c             |   16 +---------------
>  drivers/video/fbdev/via/lcd.h             |   16 +---------------
>  drivers/video/fbdev/via/share.h           |   16 +---------------
>  drivers/video/fbdev/via/tblDPASetting.c   |   16 +---------------
>  drivers/video/fbdev/via/tblDPASetting.h   |   16 +---------------
>  drivers/video/fbdev/via/via_aux.c         |   17 +----------------
>  drivers/video/fbdev/via/via_aux.h         |   17 +----------------
>  drivers/video/fbdev/via/via_aux_ch7301.c  |   17 +----------------
>  drivers/video/fbdev/via/via_aux_edid.c    |   17 +----------------
>  drivers/video/fbdev/via/via_aux_sii164.c  |   17 +----------------
>  drivers/video/fbdev/via/via_aux_vt1621.c  |   17 +----------------
>  drivers/video/fbdev/via/via_aux_vt1622.c  |   17 +----------------
>  drivers/video/fbdev/via/via_aux_vt1625.c  |   17 +----------------
>  drivers/video/fbdev/via/via_aux_vt1631.c  |   17 +----------------
>  drivers/video/fbdev/via/via_aux_vt1632.c  |   17 +----------------
>  drivers/video/fbdev/via/via_aux_vt1636.c  |   17 +----------------
>  drivers/video/fbdev/via/via_clock.c       |   17 +----------------
>  drivers/video/fbdev/via/via_clock.h       |   17 +----------------
>  drivers/video/fbdev/via/via_i2c.c         |   16 +---------------
>  drivers/video/fbdev/via/via_modesetting.c |   17 +----------------
>  drivers/video/fbdev/via/via_modesetting.h |   17 +----------------
>  drivers/video/fbdev/via/via_utility.c     |   16 +---------------
>  drivers/video/fbdev/via/via_utility.h     |   16 +---------------
>  drivers/video/fbdev/via/viafbdev.c        |   16 +---------------
>  drivers/video/fbdev/via/viafbdev.h        |   16 +---------------
>  drivers/video/fbdev/via/viamode.c         |   16 +---------------
>  drivers/video/fbdev/via/viamode.h         |   16 +---------------
>  drivers/video/fbdev/via/vt1636.c          |   16 +---------------
>  drivers/video/fbdev/via/vt1636.h          |   16 +---------------
>  include/linux/via-core.h                  |   17 +----------------
>  include/linux/via_i2c.h                   |   16 +---------------
>  43 files changed, 43 insertions(+), 661 deletions(-)
> 
> --- a/drivers/video/fbdev/via/accel.c
> +++ b/drivers/video/fbdev/via/accel.c
> @@ -1,22 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
>   * Copyright 2001-2008 S3 Graphics, Inc. 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;
> - * either version 2, or (at your option) any later version.
> -
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> -
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  #include <linux/via-core.h>
>  #include "global.h"
> --- a/drivers/video/fbdev/via/accel.h
> +++ b/drivers/video/fbdev/via/accel.h
> @@ -1,22 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
>   * Copyright 2001-2008 S3 Graphics, Inc. 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;
> - * either version 2, or (at your option) any later version.
> -
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> -
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  
>  #ifndef __ACCEL_H__
> --- a/drivers/video/fbdev/via/chip.h
> +++ b/drivers/video/fbdev/via/chip.h
> @@ -1,22 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
>   * Copyright 2001-2008 S3 Graphics, Inc. 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;
> - * either version 2, or (at your option) any later version.
> -
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> -
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  #ifndef __CHIP_H__
>  #define __CHIP_H__
> --- a/drivers/video/fbdev/via/debug.h
> +++ b/drivers/video/fbdev/via/debug.h
> @@ -1,22 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
>   * Copyright 2001-2008 S3 Graphics, Inc. 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;
> - * either version 2, or (at your option) any later version.
> -
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> -
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  #ifndef __DEBUG_H__
>  #define __DEBUG_H__
> --- a/drivers/video/fbdev/via/dvi.c
> +++ b/drivers/video/fbdev/via/dvi.c
> @@ -1,22 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
>   * Copyright 2001-2008 S3 Graphics, Inc. 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;
> - * either version 2, or (at your option) any later version.
> -
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> -
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  #include <linux/via-core.h>
>  #include <linux/via_i2c.h>
> --- a/drivers/video/fbdev/via/dvi.h
> +++ b/drivers/video/fbdev/via/dvi.h
> @@ -1,22 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
>   * Copyright 2001-2008 S3 Graphics, Inc. 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;
> - * either version 2, or (at your option) any later version.
> -
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> -
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  
>  #ifndef __DVI_H__
> --- a/drivers/video/fbdev/via/global.c
> +++ b/drivers/video/fbdev/via/global.c
> @@ -1,22 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
>   * Copyright 2001-2008 S3 Graphics, Inc. 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;
> - * either version 2, or (at your option) any later version.
> -
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> -
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  #include "global.h"
>  int viafb_platform_epia_dvi = STATE_OFF;
> --- a/drivers/video/fbdev/via/global.h
> +++ b/drivers/video/fbdev/via/global.h
> @@ -1,22 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
>   * Copyright 2001-2008 S3 Graphics, Inc. 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;
> - * either version 2, or (at your option) any later version.
> -
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> -
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  
>  #ifndef __GLOBAL_H__
> --- a/drivers/video/fbdev/via/hw.c
> +++ b/drivers/video/fbdev/via/hw.c
> @@ -1,22 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
>   * Copyright 2001-2008 S3 Graphics, Inc. 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;
> - * either version 2, or (at your option) any later version.
> -
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> -
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  
>  #include <linux/via-core.h>
> --- a/drivers/video/fbdev/via/hw.h
> +++ b/drivers/video/fbdev/via/hw.h
> @@ -1,22 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
>   * Copyright 2001-2008 S3 Graphics, Inc. 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;
> - * either version 2, or (at your option) any later version.
> -
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> -
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  
>  #ifndef __HW_H__
> --- a/drivers/video/fbdev/via/ioctl.c
> +++ b/drivers/video/fbdev/via/ioctl.c
> @@ -1,22 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
>   * Copyright 2001-2008 S3 Graphics, Inc. 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;
> - * either version 2, or (at your option) any later version.
> -
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> -
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  
>  #include "global.h"
> --- a/drivers/video/fbdev/via/ioctl.h
> +++ b/drivers/video/fbdev/via/ioctl.h
> @@ -1,22 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
>   * Copyright 2001-2008 S3 Graphics, Inc. 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;
> - * either version 2, or (at your option) any later version.
> -
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> -
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  
>  #ifndef __IOCTL_H__
> --- a/drivers/video/fbdev/via/lcd.c
> +++ b/drivers/video/fbdev/via/lcd.c
> @@ -1,22 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
>   * Copyright 2001-2008 S3 Graphics, Inc. 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;
> - * either version 2, or (at your option) any later version.
> -
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> -
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  #include <linux/via-core.h>
>  #include <linux/via_i2c.h>
> --- a/drivers/video/fbdev/via/lcd.h
> +++ b/drivers/video/fbdev/via/lcd.h
> @@ -1,22 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
>   * Copyright 2001-2008 S3 Graphics, Inc. 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;
> - * either version 2, or (at your option) any later version.
> -
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> -
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  #ifndef __LCD_H__
>  #define __LCD_H__
> --- a/drivers/video/fbdev/via/share.h
> +++ b/drivers/video/fbdev/via/share.h
> @@ -1,22 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
>   * Copyright 2001-2008 S3 Graphics, Inc. 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;
> - * either version 2, or (at your option) any later version.
> -
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> -
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  
>  #ifndef __SHARE_H__
> --- a/drivers/video/fbdev/via/tblDPASetting.c
> +++ b/drivers/video/fbdev/via/tblDPASetting.c
> @@ -1,22 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
>   * Copyright 2001-2008 S3 Graphics, Inc. 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;
> - * either version 2, or (at your option) any later version.
> -
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> -
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  
>  #include "global.h"
> --- a/drivers/video/fbdev/via/tblDPASetting.h
> +++ b/drivers/video/fbdev/via/tblDPASetting.h
> @@ -1,22 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
>   * Copyright 2001-2008 S3 Graphics, Inc. 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;
> - * either version 2, or (at your option) any later version.
> -
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> -
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  
>  #ifndef _TBLDPASETTING_H_
> --- a/drivers/video/fbdev/via/via_aux.c
> +++ b/drivers/video/fbdev/via/via_aux.c
> @@ -1,21 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright 2011 Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
> - *
> - * 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;
> - * either version 2, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  /*
>   * infrastructure for devices connected via I2C
> --- a/drivers/video/fbdev/via/via_aux.h
> +++ b/drivers/video/fbdev/via/via_aux.h
> @@ -1,21 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright 2011 Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
> - *
> - * 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;
> - * either version 2, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  /*
>   * infrastructure for devices connected via I2C
> --- a/drivers/video/fbdev/via/via_aux_ch7301.c
> +++ b/drivers/video/fbdev/via/via_aux_ch7301.c
> @@ -1,21 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright 2011 Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
> - *
> - * 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;
> - * either version 2, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  /*
>   * driver for Chrontel CH7301 DVI Transmitter
> --- a/drivers/video/fbdev/via/via_aux_edid.c
> +++ b/drivers/video/fbdev/via/via_aux_edid.c
> @@ -1,21 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright 2011 Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
> - *
> - * 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;
> - * either version 2, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  /*
>   * generic EDID driver
> --- a/drivers/video/fbdev/via/via_aux_sii164.c
> +++ b/drivers/video/fbdev/via/via_aux_sii164.c
> @@ -1,21 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright 2011 Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
> - *
> - * 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;
> - * either version 2, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  /*
>   * driver for Silicon Image SiI 164 PanelLink Transmitter
> --- a/drivers/video/fbdev/via/via_aux_vt1621.c
> +++ b/drivers/video/fbdev/via/via_aux_vt1621.c
> @@ -1,21 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright 2011 Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
> - *
> - * 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;
> - * either version 2, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  /*
>   * driver for VIA VT1621(M) TV Encoder
> --- a/drivers/video/fbdev/via/via_aux_vt1622.c
> +++ b/drivers/video/fbdev/via/via_aux_vt1622.c
> @@ -1,21 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright 2011 Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
> - *
> - * 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;
> - * either version 2, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  /*
>   * driver for VIA VT1622(M) Digital TV Encoder
> --- a/drivers/video/fbdev/via/via_aux_vt1625.c
> +++ b/drivers/video/fbdev/via/via_aux_vt1625.c
> @@ -1,21 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright 2011 Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
> - *
> - * 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;
> - * either version 2, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  /*
>   * driver for VIA VT1625(M) HDTV Encoder
> --- a/drivers/video/fbdev/via/via_aux_vt1631.c
> +++ b/drivers/video/fbdev/via/via_aux_vt1631.c
> @@ -1,21 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright 2011 Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
> - *
> - * 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;
> - * either version 2, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  /*
>   * driver for VIA VT1631 LVDS Transmitter
> --- a/drivers/video/fbdev/via/via_aux_vt1632.c
> +++ b/drivers/video/fbdev/via/via_aux_vt1632.c
> @@ -1,21 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright 2011 Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
> - *
> - * 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;
> - * either version 2, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  /*
>   * driver for VIA VT1632 DVI Transmitter
> --- a/drivers/video/fbdev/via/via_aux_vt1636.c
> +++ b/drivers/video/fbdev/via/via_aux_vt1636.c
> @@ -1,21 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright 2011 Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
> - *
> - * 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;
> - * either version 2, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  /*
>   * driver for VIA VT1636 LVDS Transmitter
> --- a/drivers/video/fbdev/via/via_clock.c
> +++ b/drivers/video/fbdev/via/via_clock.c
> @@ -1,23 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
>   * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved.
>   * Copyright 2011 Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
> - *
> - * 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;
> - * either version 2, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  /*
>   * clock and PLL management functions
> --- a/drivers/video/fbdev/via/via_clock.h
> +++ b/drivers/video/fbdev/via/via_clock.h
> @@ -1,23 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
>   * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved.
>   * Copyright 2011 Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
> - *
> - * 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;
> - * either version 2, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  /*
>   * clock and PLL management functions
> --- a/drivers/video/fbdev/via/via_i2c.c
> +++ b/drivers/video/fbdev/via/via_i2c.c
> @@ -1,22 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright 1998-2009 VIA Technologies, Inc. All Rights Reserved.
>   * Copyright 2001-2008 S3 Graphics, Inc. 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;
> - * either version 2, or (at your option) any later version.
> -
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> -
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  
>  #include <linux/platform_device.h>
> --- a/drivers/video/fbdev/via/via_modesetting.c
> +++ b/drivers/video/fbdev/via/via_modesetting.c
> @@ -1,23 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
>   * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved.
>   * Copyright 2010 Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
> - *
> - * 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;
> - * either version 2, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  /*
>   * basic modesetting functions
> --- a/drivers/video/fbdev/via/via_modesetting.h
> +++ b/drivers/video/fbdev/via/via_modesetting.h
> @@ -1,23 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
>   * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved.
>   * Copyright 2010 Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
> - *
> - * 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;
> - * either version 2, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  /*
>   * basic modesetting functions
> --- a/drivers/video/fbdev/via/via_utility.c
> +++ b/drivers/video/fbdev/via/via_utility.c
> @@ -1,22 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
>   * Copyright 2001-2008 S3 Graphics, Inc. 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;
> - * either version 2, or (at your option) any later version.
> -
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> -
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  
>  #include <linux/via-core.h>
> --- a/drivers/video/fbdev/via/via_utility.h
> +++ b/drivers/video/fbdev/via/via_utility.h
> @@ -1,22 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
>   * Copyright 2001-2008 S3 Graphics, Inc. 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;
> - * either version 2, or (at your option) any later version.
> -
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> -
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  #ifndef __VIAUTILITY_H__
>  #define __VIAUTILITY_H__
> --- a/drivers/video/fbdev/via/viafbdev.c
> +++ b/drivers/video/fbdev/via/viafbdev.c
> @@ -1,22 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright 1998-2009 VIA Technologies, Inc. All Rights Reserved.
>   * Copyright 2001-2008 S3 Graphics, Inc. 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;
> - * either version 2, or (at your option) any later version.
> -
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> -
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  
>  #include <linux/compiler.h>
> --- a/drivers/video/fbdev/via/viafbdev.h
> +++ b/drivers/video/fbdev/via/viafbdev.h
> @@ -1,22 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
>   * Copyright 2001-2008 S3 Graphics, Inc. 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;
> - * either version 2, or (at your option) any later version.
> -
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> -
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  
>  #ifndef __VIAFBDEV_H__
> --- a/drivers/video/fbdev/via/viamode.c
> +++ b/drivers/video/fbdev/via/viamode.c
> @@ -1,22 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
>   * Copyright 2001-2008 S3 Graphics, Inc. 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;
> - * either version 2, or (at your option) any later version.
> -
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> -
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  
>  #include <linux/via-core.h>
> --- a/drivers/video/fbdev/via/viamode.h
> +++ b/drivers/video/fbdev/via/viamode.h
> @@ -1,22 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
>   * Copyright 2001-2008 S3 Graphics, Inc. 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;
> - * either version 2, or (at your option) any later version.
> -
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> -
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  
>  #ifndef __VIAMODE_H__
> --- a/drivers/video/fbdev/via/vt1636.c
> +++ b/drivers/video/fbdev/via/vt1636.c
> @@ -1,22 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
>   * Copyright 2001-2008 S3 Graphics, Inc. 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;
> - * either version 2, or (at your option) any later version.
> -
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> -
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  
>  #include <linux/via-core.h>
> --- a/drivers/video/fbdev/via/vt1636.h
> +++ b/drivers/video/fbdev/via/vt1636.h
> @@ -1,22 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
>   * Copyright 2001-2008 S3 Graphics, Inc. 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;
> - * either version 2, or (at your option) any later version.
> -
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> -
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  
>  #ifndef _VT1636_H_
> --- a/include/linux/via-core.h
> +++ b/include/linux/via-core.h
> @@ -1,24 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright 1998-2009 VIA Technologies, Inc. All Rights Reserved.
>   * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved.
>   * Copyright 2009-2010 Jonathan Corbet <corbet@lwn.net>
>   * Copyright 2010 Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
> - *
> - * 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;
> - * either version 2, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  
>  #ifndef __VIA_CORE_H__
> --- a/include/linux/via_i2c.h
> +++ b/include/linux/via_i2c.h
> @@ -1,22 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright 1998-2009 VIA Technologies, Inc. All Rights Reserved.
>   * Copyright 2001-2008 S3 Graphics, Inc. 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;
> - * either version 2, or (at your option) any later version.
> -
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
> - * the implied warranty of MERCHANTABILITY or FITNESS FOR
> - * A PARTICULAR PURPOSE.See the GNU General Public License
> - * for more details.
> -
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>   */
>  #ifndef __VIA_I2C_H__
>  #define __VIA_I2C_H__
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 85+ messages in thread

* Re: [patch 07/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 32
  2019-05-20 17:07 ` [patch 07/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 32 Thomas Gleixner
  2019-05-20 22:09   ` Allison Randal
@ 2019-05-20 23:42   ` Kate Stewart
  1 sibling, 0 replies; 85+ messages in thread
From: Kate Stewart @ 2019-05-20 23:42 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>

On Mon, May 20, 2019 at 12:10 PM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
>   this driver 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 either version 2 of the license or at
>   your option any later version this driver is distributed in the hope
>   that it will be useful but without any warranty without even the
>   implied warranty of merchantability or fitness for a particular
>   purpose see the gnu general public license for more details you
>   should have received a copy of the gnu general public license along
>   with this program if not write to the free software foundation inc
>   59 temple place suite 330 boston ma 02111 1307 usa
>
> extracted by the scancode license scanner the SPDX license identifier
>
>   GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 18 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: linux-spdx@vger.kernel.org
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=a8a27be6da30
> ---
>  include/sound/hda_hwdep.h      |   15 +--------------
>  sound/pci/bt87x.c              |   16 +---------------
>  sound/pci/hda/ca0132_regs.h    |   15 +--------------
>  sound/pci/hda/hda_codec.c      |   16 +---------------
>  sound/pci/hda/hda_eld.c        |   15 +--------------
>  sound/pci/hda/hda_generic.c    |   15 +--------------
>  sound/pci/hda/hda_hwdep.c      |   15 +--------------
>  sound/pci/hda/hda_proc.c       |   16 +---------------
>  sound/pci/hda/patch_analog.c   |   15 +--------------
>  sound/pci/hda/patch_ca0110.c   |   15 +--------------
>  sound/pci/hda/patch_ca0132.c   |   15 +--------------
>  sound/pci/hda/patch_cirrus.c   |   15 +--------------
>  sound/pci/hda/patch_cmedia.c   |   16 +---------------
>  sound/pci/hda/patch_conexant.c |   15 +--------------
>  sound/pci/hda/patch_realtek.c  |   15 +--------------
>  sound/pci/hda/patch_si3054.c   |   16 +---------------
>  sound/pci/hda/patch_sigmatel.c |   15 +--------------
>  sound/pci/hda/patch_via.c      |   15 +--------------
>  18 files changed, 18 insertions(+), 257 deletions(-)
>
> --- a/include/sound/hda_hwdep.h
> +++ b/include/sound/hda_hwdep.h
> @@ -1,21 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * HWDEP Interface for HD-audio codec
>   *
>   * Copyright (c) 2007 Takashi Iwai <tiwai@suse.de>
> - *
> - *  This driver 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; either version 2 of the License, or
> - *  (at your option) any later version.
> - *
> - *  This driver is distributed in the hope that it will be useful,
> - *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - *  GNU General Public License for more details.
> - *
> - *  You should have received a copy of the GNU General Public License
> - *  along with this program; if not, write to the Free Software
> - *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
>   */
>
>  #ifndef __SOUND_HDA_HWDEP_H
> --- a/sound/pci/bt87x.c
> +++ b/sound/pci/bt87x.c
> @@ -1,24 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * bt87x.c - Brooktree Bt878/Bt879 driver for ALSA
>   *
>   * Copyright (c) Clemens Ladisch <clemens@ladisch.de>
>   *
>   * based on btaudio.c by Gerd Knorr <kraxel@bytesex.org>
> - *
> - *
> - *  This driver 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; either version 2 of the License, or
> - *  (at your option) any later version.
> - *
> - *  This driver is distributed in the hope that it will be useful,
> - *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - *  GNU General Public License for more details.
> - *
> - *  You should have received a copy of the GNU General Public License
> - *  along with this program; if not, write to the Free Software
> - *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
>   */
>
>  #include <linux/init.h>
> --- a/sound/pci/hda/ca0132_regs.h
> +++ b/sound/pci/hda/ca0132_regs.h
> @@ -1,22 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * HD audio interface patch for Creative CA0132 chip.
>   * CA0132 registers defines.
>   *
>   * Copyright (c) 2011, Creative Technology Ltd.
> - *
> - *  This driver 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; either version 2 of the License, or
> - *  (at your option) any later version.
> - *
> - *  This driver is distributed in the hope that it will be useful,
> - *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - *  GNU General Public License for more details.
> - *
> - *  You should have received a copy of the GNU General Public License
> - *  along with this program; if not, write to the Free Software
> - *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
>   */
>
>  #ifndef __CA0132_REGS_H
> --- a/sound/pci/hda/hda_codec.c
> +++ b/sound/pci/hda/hda_codec.c
> @@ -1,22 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Universal Interface for Intel High Definition Audio Codec
>   *
>   * Copyright (c) 2004 Takashi Iwai <tiwai@suse.de>
> - *
> - *
> - *  This driver 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; either version 2 of the License, or
> - *  (at your option) any later version.
> - *
> - *  This driver is distributed in the hope that it will be useful,
> - *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - *  GNU General Public License for more details.
> - *
> - *  You should have received a copy of the GNU General Public License
> - *  along with this program; if not, write to the Free Software
> - *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
>   */
>
>  #include <linux/init.h>
> --- a/sound/pci/hda/hda_eld.c
> +++ b/sound/pci/hda/hda_eld.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Generic routines and proc interface for ELD(EDID Like Data) information
>   *
> @@ -6,20 +7,6 @@
>   *
>   * Authors:
>   *             Wu Fengguang <wfg@linux.intel.com>
> - *
> - *  This driver 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; either version 2 of the License, or
> - *  (at your option) any later version.
> - *
> - *  This driver is distributed in the hope that it will be useful,
> - *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - *  GNU General Public License for more details.
> - *
> - *  You should have received a copy of the GNU General Public License
> - *  along with this program; if not, write to the Free Software
> - *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
>   */
>
>  #include <linux/init.h>
> --- a/sound/pci/hda/hda_generic.c
> +++ b/sound/pci/hda/hda_generic.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Universal Interface for Intel High Definition Audio Codec
>   *
>   * Generic widget tree parser
>   *
>   * Copyright (c) 2004 Takashi Iwai <tiwai@suse.de>
> - *
> - *  This driver 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; either version 2 of the License, or
> - *  (at your option) any later version.
> - *
> - *  This driver is distributed in the hope that it will be useful,
> - *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - *  GNU General Public License for more details.
> - *
> - *  You should have received a copy of the GNU General Public License
> - *  along with this program; if not, write to the Free Software
> - *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
>   */
>
>  #include <linux/init.h>
> --- a/sound/pci/hda/hda_hwdep.c
> +++ b/sound/pci/hda/hda_hwdep.c
> @@ -1,21 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * HWDEP Interface for HD-audio codec
>   *
>   * Copyright (c) 2007 Takashi Iwai <tiwai@suse.de>
> - *
> - *  This driver 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; either version 2 of the License, or
> - *  (at your option) any later version.
> - *
> - *  This driver is distributed in the hope that it will be useful,
> - *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - *  GNU General Public License for more details.
> - *
> - *  You should have received a copy of the GNU General Public License
> - *  along with this program; if not, write to the Free Software
> - *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
>   */
>
>  #include <linux/init.h>
> --- a/sound/pci/hda/hda_proc.c
> +++ b/sound/pci/hda/hda_proc.c
> @@ -1,24 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Universal Interface for Intel High Definition Audio Codec
>   *
>   * Generic proc interface
>   *
>   * Copyright (c) 2004 Takashi Iwai <tiwai@suse.de>
> - *
> - *
> - *  This driver 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; either version 2 of the License, or
> - *  (at your option) any later version.
> - *
> - *  This driver is distributed in the hope that it will be useful,
> - *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - *  GNU General Public License for more details.
> - *
> - *  You should have received a copy of the GNU General Public License
> - *  along with this program; if not, write to the Free Software
> - *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
>   */
>
>  #include <linux/init.h>
> --- a/sound/pci/hda/patch_analog.c
> +++ b/sound/pci/hda/patch_analog.c
> @@ -1,22 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * HD audio interface patch for AD1882, AD1884, AD1981HD, AD1983, AD1984,
>   *   AD1986A, AD1988
>   *
>   * Copyright (c) 2005-2007 Takashi Iwai <tiwai@suse.de>
> - *
> - *  This driver 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; either version 2 of the License, or
> - *  (at your option) any later version.
> - *
> - *  This driver is distributed in the hope that it will be useful,
> - *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - *  GNU General Public License for more details.
> - *
> - *  You should have received a copy of the GNU General Public License
> - *  along with this program; if not, write to the Free Software
> - *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
>   */
>
>  #include <linux/init.h>
> --- a/sound/pci/hda/patch_ca0110.c
> +++ b/sound/pci/hda/patch_ca0110.c
> @@ -1,21 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * HD audio interface patch for Creative X-Fi CA0110-IBG chip
>   *
>   * Copyright (c) 2008 Takashi Iwai <tiwai@suse.de>
> - *
> - *  This driver 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; either version 2 of the License, or
> - *  (at your option) any later version.
> - *
> - *  This driver is distributed in the hope that it will be useful,
> - *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - *  GNU General Public License for more details.
> - *
> - *  You should have received a copy of the GNU General Public License
> - *  along with this program; if not, write to the Free Software
> - *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
>   */
>
>  #include <linux/init.h>
> --- a/sound/pci/hda/patch_ca0132.c
> +++ b/sound/pci/hda/patch_ca0132.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * HD audio interface patch for Creative CA0132 chip
>   *
> @@ -5,20 +6,6 @@
>   *
>   * Based on patch_ca0110.c
>   * Copyright (c) 2008 Takashi Iwai <tiwai@suse.de>
> - *
> - *  This driver 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; either version 2 of the License, or
> - *  (at your option) any later version.
> - *
> - *  This driver is distributed in the hope that it will be useful,
> - *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - *  GNU General Public License for more details.
> - *
> - *  You should have received a copy of the GNU General Public License
> - *  along with this program; if not, write to the Free Software
> - *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
>   */
>
>  #include <linux/init.h>
> --- a/sound/pci/hda/patch_cirrus.c
> +++ b/sound/pci/hda/patch_cirrus.c
> @@ -1,21 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * HD audio interface patch for Cirrus Logic CS420x chip
>   *
>   * Copyright (c) 2009 Takashi Iwai <tiwai@suse.de>
> - *
> - *  This driver 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; either version 2 of the License, or
> - *  (at your option) any later version.
> - *
> - *  This driver is distributed in the hope that it will be useful,
> - *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - *  GNU General Public License for more details.
> - *
> - *  You should have received a copy of the GNU General Public License
> - *  along with this program; if not, write to the Free Software
> - *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
>   */
>
>  #include <linux/init.h>
> --- a/sound/pci/hda/patch_cmedia.c
> +++ b/sound/pci/hda/patch_cmedia.c
> @@ -1,24 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Universal Interface for Intel High Definition Audio Codec
>   *
>   * HD audio interface patch for C-Media CMI9880
>   *
>   * Copyright (c) 2004 Takashi Iwai <tiwai@suse.de>
> - *
> - *
> - *  This driver 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; either version 2 of the License, or
> - *  (at your option) any later version.
> - *
> - *  This driver is distributed in the hope that it will be useful,
> - *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - *  GNU General Public License for more details.
> - *
> - *  You should have received a copy of the GNU General Public License
> - *  along with this program; if not, write to the Free Software
> - *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
>   */
>
>  #include <linux/init.h>
> --- a/sound/pci/hda/patch_conexant.c
> +++ b/sound/pci/hda/patch_conexant.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * HD audio interface patch for Conexant HDA audio codec
>   *
>   * Copyright (c) 2006 Pototskiy Akex <alex.pototskiy@gmail.com>
>   *                   Takashi Iwai <tiwai@suse.de>
>   *                   Tobin Davis  <tdavis@dsl-only.net>
> - *
> - *  This driver 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; either version 2 of the License, or
> - *  (at your option) any later version.
> - *
> - *  This driver is distributed in the hope that it will be useful,
> - *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - *  GNU General Public License for more details.
> - *
> - *  You should have received a copy of the GNU General Public License
> - *  along with this program; if not, write to the Free Software
> - *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
>   */
>
>  #include <linux/init.h>
> --- a/sound/pci/hda/patch_realtek.c
> +++ b/sound/pci/hda/patch_realtek.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Universal Interface for Intel High Definition Audio Codec
>   *
> @@ -7,20 +8,6 @@
>   *                    PeiSen Hou <pshou@realtek.com.tw>
>   *                    Takashi Iwai <tiwai@suse.de>
>   *                    Jonathan Woithe <jwoithe@just42.net>
> - *
> - *  This driver 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; either version 2 of the License, or
> - *  (at your option) any later version.
> - *
> - *  This driver is distributed in the hope that it will be useful,
> - *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - *  GNU General Public License for more details.
> - *
> - *  You should have received a copy of the GNU General Public License
> - *  along with this program; if not, write to the Free Software
> - *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
>   */
>
>  #include <linux/init.h>
> --- a/sound/pci/hda/patch_si3054.c
> +++ b/sound/pci/hda/patch_si3054.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Universal Interface for Intel High Definition Audio Codec
>   *
> @@ -5,21 +6,6 @@
>   *
>   * Copyright (c) 2005 Sasha Khapyorsky <sashak@alsa-project.org>
>   *                    Takashi Iwai <tiwai@suse.de>
> - *
> - *
> - *  This driver 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; either version 2 of the License, or
> - *  (at your option) any later version.
> - *
> - *  This driver is distributed in the hope that it will be useful,
> - *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - *  GNU General Public License for more details.
> - *
> - *  You should have received a copy of the GNU General Public License
> - *  along with this program; if not, write to the Free Software
> - *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
>   */
>
>  #include <linux/init.h>
> --- a/sound/pci/hda/patch_sigmatel.c
> +++ b/sound/pci/hda/patch_sigmatel.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Universal Interface for Intel High Definition Audio Codec
>   *
> @@ -8,20 +9,6 @@
>   *
>   * Based on patch_cmedia.c and patch_realtek.c
>   * Copyright (c) 2004 Takashi Iwai <tiwai@suse.de>
> - *
> - *  This driver 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; either version 2 of the License, or
> - *  (at your option) any later version.
> - *
> - *  This driver is distributed in the hope that it will be useful,
> - *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - *  GNU General Public License for more details.
> - *
> - *  You should have received a copy of the GNU General Public License
> - *  along with this program; if not, write to the Free Software
> - *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
>   */
>
>  #include <linux/init.h>
> --- a/sound/pci/hda/patch_via.c
> +++ b/sound/pci/hda/patch_via.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Universal Interface for Intel High Definition Audio Codec
>   *
> @@ -5,20 +6,6 @@
>   *
>   *  (C) 2006-2009 VIA Technology, Inc.
>   *  (C) 2006-2008 Takashi Iwai <tiwai@suse.de>
> - *
> - *  This driver 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; either version 2 of the License, or
> - *  (at your option) any later version.
> - *
> - *  This driver is distributed in the hope that it will be useful,
> - *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - *  GNU General Public License for more details.
> - *
> - *  You should have received a copy of the GNU General Public License
> - *  along with this program; if not, write to the Free Software
> - *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
>   */
>
>  /* * * * * * * * * * * * * * Release History * * * * * * * * * * * * * * * * */
>
>
>
>

^ permalink raw reply	[flat|nested] 85+ messages in thread

* Re: [patch 01/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 26
  2019-05-20 17:07 ` [patch 01/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 26 Thomas Gleixner
  2019-05-20 21:57   ` Allison Randal
@ 2019-05-20 23:46   ` Kate Stewart
  1 sibling, 0 replies; 85+ messages in thread
From: Kate Stewart @ 2019-05-20 23:46 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>


On Mon, May 20, 2019 at 12:10 PM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
>   gnupg 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 either version 2 of the license or at
>   your option any later version gnupg is distributed in the hope that
>   it will be useful but without any warranty without even the implied
>   warranty of merchantability or fitness for a particular purpose see
>   the gnu general public license for more details you should have
>   received a copy of the gnu general public license along with this
>   program if not write to the free software foundation inc 59 temple
>   place suite 330 boston ma 02111 1307 usa note this code is heavily
>   based on the gnu mp library actually it s the same code with only
>   minor changes in the way the data is stored this is to support the
>   abstraction of an optional secure memory allocation which may be
>   used to avoid revealing of sensitive data due to paging etc the gnu
>   mp library itself is published under the lgpl however i decided to
>   publish this code under the plain gpl
>
> extracted by the scancode license scanner the SPDX license identifier
>
>   GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 14 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: linux-spdx@vger.kernel.org
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=f3e4b7c812d3
> ---
>  include/linux/mpi.h           |   15 +--------------
>  lib/mpi/generic_mpih-add1.c   |   15 +--------------
>  lib/mpi/generic_mpih-lshift.c |   15 +--------------
>  lib/mpi/generic_mpih-mul1.c   |   15 +--------------
>  lib/mpi/generic_mpih-mul2.c   |   15 +--------------
>  lib/mpi/generic_mpih-mul3.c   |   15 +--------------
>  lib/mpi/generic_mpih-rshift.c |   15 +--------------
>  lib/mpi/generic_mpih-sub1.c   |   15 +--------------
>  lib/mpi/mpi-inline.h          |   15 +--------------
>  lib/mpi/mpi-internal.h        |   15 +--------------
>  lib/mpi/mpi-pow.c             |   15 +--------------
>  lib/mpi/mpih-cmp.c            |   15 +--------------
>  lib/mpi/mpih-div.c            |   15 +--------------
>  lib/mpi/mpih-mul.c            |   15 +--------------
>  14 files changed, 14 insertions(+), 196 deletions(-)
>
> --- a/include/linux/mpi.h
> +++ b/include/linux/mpi.h
> @@ -1,23 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* mpi.h  -  Multi Precision Integers
>   *     Copyright (C) 1994, 1996, 1998, 1999,
>   *                    2000, 2001 Free Software Foundation, Inc.
>   *
>   * This file is part of GNUPG.
>   *
> - * GNUPG 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * GNUPG is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
> - *
>   * Note: This code is heavily based on the GNU MP Library.
>   *      Actually it's the same code with only minor changes in the
>   *      way the data is stored; this is to support the abstraction
> --- a/lib/mpi/generic_mpih-add1.c
> +++ b/lib/mpi/generic_mpih-add1.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* mpihelp-add_1.c  -  MPI helper functions
>   * Copyright (C) 1994, 1996, 1997, 1998,
>   *               2000 Free Software Foundation, Inc.
>   *
>   * This file is part of GnuPG.
>   *
> - * GnuPG 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * GnuPG is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
> - *
>   * Note: This code is heavily based on the GNU MP Library.
>   *      Actually it's the same code with only minor changes in the
>   *      way the data is stored; this is to support the abstraction
> --- a/lib/mpi/generic_mpih-lshift.c
> +++ b/lib/mpi/generic_mpih-lshift.c
> @@ -1,22 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* mpihelp-lshift.c  - MPI helper functions
>   * Copyright (C) 1994, 1996, 1998, 2001 Free Software Foundation, Inc.
>   *
>   * This file is part of GnuPG.
>   *
> - * GnuPG 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * GnuPG is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
> - *
>   * Note: This code is heavily based on the GNU MP Library.
>   *      Actually it's the same code with only minor changes in the
>   *      way the data is stored; this is to support the abstraction
> --- a/lib/mpi/generic_mpih-mul1.c
> +++ b/lib/mpi/generic_mpih-mul1.c
> @@ -1,22 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* mpihelp-mul_1.c  -  MPI helper functions
>   * Copyright (C) 1994, 1996, 1997, 1998, 2001 Free Software Foundation, Inc.
>   *
>   * This file is part of GnuPG.
>   *
> - * GnuPG 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * GnuPG is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
> - *
>   * Note: This code is heavily based on the GNU MP Library.
>   *      Actually it's the same code with only minor changes in the
>   *      way the data is stored; this is to support the abstraction
> --- a/lib/mpi/generic_mpih-mul2.c
> +++ b/lib/mpi/generic_mpih-mul2.c
> @@ -1,22 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* mpihelp-mul_2.c  -  MPI helper functions
>   * Copyright (C) 1994, 1996, 1997, 1998, 2001 Free Software Foundation, Inc.
>   *
>   * This file is part of GnuPG.
>   *
> - * GnuPG 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * GnuPG is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
> - *
>   * Note: This code is heavily based on the GNU MP Library.
>   *      Actually it's the same code with only minor changes in the
>   *      way the data is stored; this is to support the abstraction
> --- a/lib/mpi/generic_mpih-mul3.c
> +++ b/lib/mpi/generic_mpih-mul3.c
> @@ -1,22 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* mpihelp-mul_3.c  -  MPI helper functions
>   * Copyright (C) 1994, 1996, 1997, 1998, 2001 Free Software Foundation, Inc.
>   *
>   * This file is part of GnuPG.
>   *
> - * GnuPG 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * GnuPG is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
> - *
>   * Note: This code is heavily based on the GNU MP Library.
>   *      Actually it's the same code with only minor changes in the
>   *      way the data is stored; this is to support the abstraction
> --- a/lib/mpi/generic_mpih-rshift.c
> +++ b/lib/mpi/generic_mpih-rshift.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* mpih-rshift.c  -  MPI helper functions
>   * Copyright (C) 1994, 1996, 1998, 1999,
>   *               2000, 2001 Free Software Foundation, Inc.
>   *
>   * This file is part of GNUPG
>   *
> - * GNUPG 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * GNUPG is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
> - *
>   * Note: This code is heavily based on the GNU MP Library.
>   *      Actually it's the same code with only minor changes in the
>   *      way the data is stored; this is to support the abstraction
> --- a/lib/mpi/generic_mpih-sub1.c
> +++ b/lib/mpi/generic_mpih-sub1.c
> @@ -1,22 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* mpihelp-add_2.c  -  MPI helper functions
>   * Copyright (C) 1994, 1996, 1997, 1998, 2001 Free Software Foundation, Inc.
>   *
>   * This file is part of GnuPG.
>   *
> - * GnuPG 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * GnuPG is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
> - *
>   * Note: This code is heavily based on the GNU MP Library.
>   *      Actually it's the same code with only minor changes in the
>   *      way the data is stored; this is to support the abstraction
> --- a/lib/mpi/mpi-inline.h
> +++ b/lib/mpi/mpi-inline.h
> @@ -1,22 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* mpi-inline.h  -  Internal to the Multi Precision Integers
>   *     Copyright (C) 1994, 1996, 1998, 1999 Free Software Foundation, Inc.
>   *
>   * This file is part of GnuPG.
>   *
> - * GnuPG 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * GnuPG is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
> - *
>   * Note: This code is heavily based on the GNU MP Library.
>   *      Actually it's the same code with only minor changes in the
>   *      way the data is stored; this is to support the abstraction
> --- a/lib/mpi/mpi-internal.h
> +++ b/lib/mpi/mpi-internal.h
> @@ -1,23 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* mpi-internal.h  -  Internal to the Multi Precision Integers
>   *     Copyright (C) 1994, 1996 Free Software Foundation, Inc.
>   *     Copyright (C) 1998, 2000 Free Software Foundation, Inc.
>   *
>   * This file is part of GnuPG.
>   *
> - * GnuPG 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * GnuPG is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
> - *
>   * Note: This code is heavily based on the GNU MP Library.
>   *      Actually it's the same code with only minor changes in the
>   *      way the data is stored; this is to support the abstraction
> --- a/lib/mpi/mpi-pow.c
> +++ b/lib/mpi/mpi-pow.c
> @@ -1,22 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* mpi-pow.c  -  MPI functions
>   *     Copyright (C) 1994, 1996, 1998, 2000 Free Software Foundation, Inc.
>   *
>   * This file is part of GnuPG.
>   *
> - * GnuPG 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * GnuPG is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
> - *
>   * Note: This code is heavily based on the GNU MP Library.
>   *      Actually it's the same code with only minor changes in the
>   *      way the data is stored; this is to support the abstraction
> --- a/lib/mpi/mpih-cmp.c
> +++ b/lib/mpi/mpih-cmp.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* mpihelp-sub.c  -  MPI helper functions
>   *     Copyright (C) 1994, 1996 Free Software Foundation, Inc.
>   *     Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
>   *
>   * This file is part of GnuPG.
>   *
> - * GnuPG 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * GnuPG is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
> - *
>   * Note: This code is heavily based on the GNU MP Library.
>   *      Actually it's the same code with only minor changes in the
>   *      way the data is stored; this is to support the abstraction
> --- a/lib/mpi/mpih-div.c
> +++ b/lib/mpi/mpih-div.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* mpihelp-div.c  -  MPI helper functions
>   *     Copyright (C) 1994, 1996 Free Software Foundation, Inc.
>   *     Copyright (C) 1998, 1999 Free Software Foundation, Inc.
>   *
>   * This file is part of GnuPG.
>   *
> - * GnuPG 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * GnuPG is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
> - *
>   * Note: This code is heavily based on the GNU MP Library.
>   *      Actually it's the same code with only minor changes in the
>   *      way the data is stored; this is to support the abstraction
> --- a/lib/mpi/mpih-mul.c
> +++ b/lib/mpi/mpih-mul.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* mpihelp-mul.c  -  MPI helper functions
>   * Copyright (C) 1994, 1996, 1998, 1999,
>   *               2000 Free Software Foundation, Inc.
>   *
>   * This file is part of GnuPG.
>   *
> - * GnuPG 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * GnuPG is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
> - *
>   * Note: This code is heavily based on the GNU MP Library.
>   *      Actually it's the same code with only minor changes in the
>   *      way the data is stored; this is to support the abstraction
>
>
>
>

^ permalink raw reply	[flat|nested] 85+ messages in thread

* Re: [patch 02/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 27
  2019-05-20 17:07 ` [patch 02/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 27 Thomas Gleixner
  2019-05-20 21:58   ` Allison Randal
@ 2019-05-20 23:47   ` Kate Stewart
  1 sibling, 0 replies; 85+ messages in thread
From: Kate Stewart @ 2019-05-20 23:47 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>

On Mon, May 20, 2019 at 12:10 PM Thomas Gleixner <tglx@linutronix.de> 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 either version 2 of the named license
>   or any later version this program is distributed in the hope that it
>   will be useful but without any warranty without even the implied
>   warranty of merchantability or fitness for a particular purpose see
>   the gnu general public license for more details you should have
>   received a copy of the gnu general public license along with this
>   program if not write to the free software foundation inc 59 temple
>   place suite 330 boston ma 02111 1307 usa
>
> extracted by the scancode license scanner the SPDX license identifier
>
>   GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 7 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: linux-spdx@vger.kernel.org
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=5a6f88a6c50b
> ---
>  drivers/video/fbdev/sis/initextlfb.c |   15 +--------------
>  drivers/video/fbdev/sis/sis.h        |   15 +--------------
>  drivers/video/fbdev/sis/sis_accel.c  |   15 +--------------
>  drivers/video/fbdev/sis/sis_accel.h  |   15 +--------------
>  drivers/video/fbdev/sis/sis_main.c   |   16 +---------------
>  drivers/video/fbdev/sis/sis_main.h   |   15 +--------------
>  include/video/sisfb.h                |   15 +--------------
>  7 files changed, 7 insertions(+), 99 deletions(-)
>
> --- a/drivers/video/fbdev/sis/initextlfb.c
> +++ b/drivers/video/fbdev/sis/initextlfb.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * SiS 300/540/630[S]/730[S]
>   * SiS 315[E|PRO]/550/[M]65x/[M]66x[F|M|G]X/[M]74x[GX]/330/[M]76x[GX]
> @@ -8,20 +9,6 @@
>   *
>   * Copyright (C) 2001-2005 Thomas Winischhofer, Vienna, Austria.
>   *
> - * 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; either version 2 of the named License,
> - * or any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
> - *
>   * Author:     Thomas Winischhofer <thomas@winischhofer.net>
>   */
>
> --- a/drivers/video/fbdev/sis/sis.h
> +++ b/drivers/video/fbdev/sis/sis.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * SiS 300/540/630[S]/730[S],
>   * SiS 315[E|PRO]/550/[M]65x/[M]661[F|M]X/740/[M]741[GX]/330/[M]76x[GX],
> @@ -5,20 +6,6 @@
>   * frame buffer driver for Linux kernels >=2.4.14 and >=2.6.3
>   *
>   * Copyright (C) 2001-2005 Thomas Winischhofer, Vienna, Austria.
> - *
> - * 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; either version 2 of the named License,
> - * or any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
>   */
>
>  #ifndef _SIS_H_
> --- a/drivers/video/fbdev/sis/sis_accel.c
> +++ b/drivers/video/fbdev/sis/sis_accel.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * SiS 300/540/630[S]/730[S],
>   * SiS 315[E|PRO]/550/[M]650/651/[M]661[F|M]X/740/[M]741[GX]/330/[M]760[GX],
> @@ -6,20 +7,6 @@
>   *
>   * 2D acceleration part
>   *
> - * 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; either version 2 of the named License,
> - * or any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
> - *
>   * Based on the XFree86/X.org driver which is
>   *     Copyright (C) 2001-2005 by Thomas Winischhofer, Vienna, Austria
>   *
> --- a/drivers/video/fbdev/sis/sis_accel.h
> +++ b/drivers/video/fbdev/sis/sis_accel.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * SiS 300/540/630[S]/730[S],
>   * SiS 315[E|PRO]/550/[M]650/651/[M]661[F|M]X/740/[M]741[GX]/330/[M]760[GX],
> @@ -6,20 +7,6 @@
>   *
>   * 2D acceleration part
>   *
> - * 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; either version 2 of the named License,
> - * or any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
> - *
>   * Based on the X driver's sis300_accel.h which is
>   *     Copyright (C) 2001-2004 by Thomas Winischhofer, Vienna, Austria
>   * and sis310_accel.h which is
> --- a/drivers/video/fbdev/sis/sis_main.c
> +++ b/drivers/video/fbdev/sis/sis_main.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * SiS 300/540/630[S]/730[S],
>   * SiS 315[E|PRO]/550/[M]65x/[M]66x[F|M|G]X/[M]74x[GX]/330/[M]76x[GX],
> @@ -6,20 +7,6 @@
>   *
>   * Copyright (C) 2001-2005 Thomas Winischhofer, Vienna, Austria.
>   *
> - * 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; either version 2 of the named License,
> - * or any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
> - *
>   * Author:     Thomas Winischhofer <thomas@winischhofer.net>
>   *
>   * Author of (practically wiped) code base:
> @@ -30,7 +17,6 @@
>   *
>   * Originally based on the VBE 2.0 compliant graphic boards framebuffer driver,
>   * which is (c) 1998 Gerd Knorr <kraxel@goldbach.in-berlin.de>
> - *
>   */
>
>  #include <linux/module.h>
> --- a/drivers/video/fbdev/sis/sis_main.h
> +++ b/drivers/video/fbdev/sis/sis_main.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * SiS 300/305/540/630(S)/730(S),
>   * SiS 315[E|PRO]/550/[M]65x/[M]66x[F|M|G]X/[M]74x[GX]/330/[M]76x[GX],
> @@ -5,20 +6,6 @@
>   * frame buffer driver for Linux kernels >=2.4.14 and >=2.6.3
>   *
>   * Copyright (C) 2001-2005 Thomas Winischhofer, Vienna, Austria.
> - *
> - * 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; either version 2 of the named License,
> - * or any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
>   */
>
>  #ifndef _SISFB_MAIN
> --- a/include/video/sisfb.h
> +++ b/include/video/sisfb.h
> @@ -1,21 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * sisfb.h - definitions for the SiS framebuffer driver
>   *
>   * Copyright (C) 2001-2005 by Thomas Winischhofer, Vienna, Austria.
> - *
> - * 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; either version 2 of the named License,
> - * or any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
>   */
>  #ifndef _LINUX_SISFB_H_
>  #define _LINUX_SISFB_H_
>
>
>
>

^ permalink raw reply	[flat|nested] 85+ messages in thread

* Re: [patch 03/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 28
  2019-05-20 17:07 ` [patch 03/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 28 Thomas Gleixner
  2019-05-20 21:59   ` Allison Randal
@ 2019-05-20 23:48   ` Kate Stewart
  1 sibling, 0 replies; 85+ messages in thread
From: Kate Stewart @ 2019-05-20 23:48 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>

On Mon, May 20, 2019 at 12:10 PM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
>   this program is free software you can redistribute it and or modify
>   it under the term of the gnu general public license as published by
>   the free software foundation either version 2 of the license or at
>   your option any later version this program is distributed in the
>   hope that it will be useful but without any warranty without even
>   the implied warranty of merchantability or fitness for a particular
>   purpose see the gnu general public license for more details you
>   should have received a copy of the gnu general public license along
>   with this program if not write to the free software foundation inc
>   59 temple place suite 330 boston ma 02111 1307 usa
>
> extracted by the scancode license scanner the SPDX license identifier
>
>   GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 1 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: linux-spdx@vger.kernel.org
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=4bc45d08a045
> ---
>  drivers/input/touchscreen/s3c2410_ts.c |   15 +--------------
>  1 file changed, 1 insertion(+), 14 deletions(-)
>
> --- a/drivers/input/touchscreen/s3c2410_ts.c
> +++ b/drivers/input/touchscreen/s3c2410_ts.c
> @@ -1,20 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Samsung S3C24XX touchscreen driver
>   *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the term of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> - *
>   * Copyright 2004 Arnaud Patard <arnaud.patard@rtp-net.org>
>   * Copyright 2008 Ben Dooks <ben-linux@fluff.org>
>   * Copyright 2009 Simtec Electronics <linux@simtec.co.uk>
>
>
>
>

^ permalink raw reply	[flat|nested] 85+ messages in thread

* Re: [patch 04/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 29
  2019-05-20 17:07 ` [patch 04/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 29 Thomas Gleixner
  2019-05-20 22:05   ` Allison Randal
@ 2019-05-20 23:49   ` Kate Stewart
  1 sibling, 0 replies; 85+ messages in thread
From: Kate Stewart @ 2019-05-20 23:49 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>

On Mon, May 20, 2019 at 12:10 PM Thomas Gleixner <tglx@linutronix.de> 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 either version 2 of the license or at
>   your option any later version this program is distributed in the
>   hope that it will be useful but without any warranty without even
>   the implied warranty of merchantability or fitness for a particular
>   purpose see the gnu general public license for more details you
>   should have received a copy of the gnu general public license along
>   with this program see the file copying if not write to the free
>   software foundation inc 59 temple place suite 330 boston ma 02111
>   1307 usa
>
> extracted by the scancode license scanner the SPDX license identifier
>
>   GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 5 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: linux-spdx@vger.kernel.org
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=0a851c6f11d4
> ---
>  sound/pci/lx6464es/lx6464es.c |   18 +-----------------
>  sound/pci/lx6464es/lx6464es.h |   18 +-----------------
>  sound/pci/lx6464es/lx_core.c  |   17 +----------------
>  sound/pci/lx6464es/lx_core.h  |   17 +----------------
>  sound/pci/lx6464es/lx_defs.h  |   17 +----------------
>  5 files changed, 5 insertions(+), 82 deletions(-)
>
> --- a/sound/pci/lx6464es/lx6464es.c
> +++ b/sound/pci/lx6464es/lx6464es.c
> @@ -1,25 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* -*- linux-c -*- *
>   *
>   * ALSA driver for the digigram lx6464es interface
>   *
>   * Copyright (c) 2008, 2009 Tim Blechmann <tim@klingt.org>
> - *
> - *
> - * 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; see the file COPYING.  If not, write to
> - * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
> - * Boston, MA 02111-1307, USA.
> - *
>   */
>
>  #include <linux/module.h>
> --- a/sound/pci/lx6464es/lx6464es.h
> +++ b/sound/pci/lx6464es/lx6464es.h
> @@ -1,25 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* -*- linux-c -*- *
>   *
>   * ALSA driver for the digigram lx6464es interface
>   *
>   * Copyright (c) 2009 Tim Blechmann <tim@klingt.org>
> - *
> - *
> - * 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; see the file COPYING.  If not, write to
> - * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
> - * Boston, MA 02111-1307, USA.
> - *
>   */
>
>  #ifndef LX6464ES_H
> --- a/sound/pci/lx6464es/lx_core.c
> +++ b/sound/pci/lx6464es/lx_core.c
> @@ -1,25 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* -*- linux-c -*- *
>   *
>   * ALSA driver for the digigram lx6464es interface
>   * low-level interface
>   *
>   * Copyright (c) 2009 Tim Blechmann <tim@klingt.org>
> - *
> - * 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; see the file COPYING.  If not, write to
> - * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
> - * Boston, MA 02111-1307, USA.
> - *
>   */
>
>  /* #define RMH_DEBUG 1 */
> --- a/sound/pci/lx6464es/lx_core.h
> +++ b/sound/pci/lx6464es/lx_core.h
> @@ -1,25 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* -*- linux-c -*- *
>   *
>   * ALSA driver for the digigram lx6464es interface
>   * low-level interface
>   *
>   * Copyright (c) 2009 Tim Blechmann <tim@klingt.org>
> - *
> - * 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; see the file COPYING.  If not, write to
> - * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
> - * Boston, MA 02111-1307, USA.
> - *
>   */
>
>  #ifndef LX_CORE_H
> --- a/sound/pci/lx6464es/lx_defs.h
> +++ b/sound/pci/lx6464es/lx_defs.h
> @@ -1,25 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* -*- linux-c -*- *
>   *
>   * ALSA driver for the digigram lx6464es interface
>   * adapted upstream headers
>   *
>   * Copyright (c) 2009 Tim Blechmann <tim@klingt.org>
> - *
> - * 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; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; see the file COPYING.  If not, write to
> - * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
> - * Boston, MA 02111-1307, USA.
> - *
>   */
>
>  #ifndef LX_DEFS_H
>
>
>
>

^ permalink raw reply	[flat|nested] 85+ messages in thread

* Re: [patch 05/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 30
  2019-05-20 17:07 ` [patch 05/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 30 Thomas Gleixner
  2019-05-20 22:06   ` Allison Randal
@ 2019-05-20 23:49   ` Kate Stewart
  1 sibling, 0 replies; 85+ messages in thread
From: Kate Stewart @ 2019-05-20 23:49 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>

On Mon, May 20, 2019 at 12:10 PM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
>   this module 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 either version 2 of the license or at
>   your option any later version this module is distributed in the hope
>   that it will be useful but without any warranty without even the
>   implied warranty of merchantability or fitness for a particular
>   purpose see the gnu general public license for more details you
>   should have received a copy of the gnu general public license along
>   with this module if not write to the free software foundation inc 59
>   temple place suite 330 boston ma 02111 1307 usa
>
> extracted by the scancode license scanner the SPDX license identifier
>
>   GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 1 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: linux-spdx@vger.kernel.org
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=853618d88ebd
> ---
>  drivers/block/cryptoloop.c |   14 +-------------
>  1 file changed, 1 insertion(+), 13 deletions(-)
>
> --- a/drivers/block/cryptoloop.c
> +++ b/drivers/block/cryptoloop.c
> @@ -1,22 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>     Linux loop encryption enabling module
>
>     Copyright (C)  2002 Herbert Valerio Riedel <hvr@gnu.org>
>     Copyright (C)  2003 Fruhwirth Clemens <clemens@endorphin.org>
>
> -   This module 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; either version 2 of the License, or
> -   (at your option) any later version.
> -
> -   This module is distributed in the hope that it will be useful,
> -   but WITHOUT ANY WARRANTY; without even the implied warranty of
> -   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> -   GNU General Public License for more details.
> -
> -   You should have received a copy of the GNU General Public License
> -   along with this module; if not, write to the Free Software
> -   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
>   */
>
>  #include <linux/module.h>
>
>
>
>

^ permalink raw reply	[flat|nested] 85+ messages in thread

* Re: [patch 06/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 31
  2019-05-20 17:07 ` [patch 06/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 31 Thomas Gleixner
  2019-05-20 22:07   ` Allison Randal
@ 2019-05-20 23:50   ` Kate Stewart
  1 sibling, 0 replies; 85+ messages in thread
From: Kate Stewart @ 2019-05-20 23:50 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>

On Mon, May 20, 2019 at 12:10 PM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
>   this program is free warftware you can redistribute it and or modify
>   it under the terms of the gnu general public license as published by
>   the free software foundation either version 2 of the license or at
>   your option any later version this program is distributed in the
>   hope that it will be useful but without any warranty without even
>   the implied warranty of merchantability or fitness for a particular
>   purpose see the gnu general public license for more details you
>   should have received a copy of the gnu general public license along
>   with this program if not write to the free software foundation inc
>   59 temple place suite 330 boston ma 02111 1307 usa
>
> extracted by the scancode license scanner the SPDX license identifier
>
>   GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 2 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: linux-spdx@vger.kernel.org
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=7695c45c41ae
> ---
>  drivers/input/joystick/stinger.c |   14 +-------------
>  drivers/input/joystick/warrior.c |   14 +-------------
>  2 files changed, 2 insertions(+), 26 deletions(-)
>
> --- a/drivers/input/joystick/stinger.c
> +++ b/drivers/input/joystick/stinger.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   *  Copyright (c) 2000-2001 Vojtech Pavlik
>   *  Copyright (c) 2000 Mark Fletcher
> @@ -8,19 +9,6 @@
>   */
>
>  /*
> - * This program is free warftware; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
>   */
>
>  #include <linux/kernel.h>
> --- a/drivers/input/joystick/warrior.c
> +++ b/drivers/input/joystick/warrior.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   *  Copyright (c) 1999-2001 Vojtech Pavlik
>   */
> @@ -7,19 +8,6 @@
>   */
>
>  /*
> - * This program is free warftware; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
>   */
>
>  #include <linux/kernel.h>
>
>
>
>

^ permalink raw reply	[flat|nested] 85+ messages in thread

* Re: [patch 09/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 34
  2019-05-20 17:07 ` [patch 09/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 34 Thomas Gleixner
  2019-05-20 22:31   ` Allison Randal
@ 2019-05-21  0:09   ` Kate Stewart
  1 sibling, 0 replies; 85+ messages in thread
From: Kate Stewart @ 2019-05-21  0:09 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>

On Mon, May 20, 2019 at 12:10 PM Thomas Gleixner <tglx@linutronix.de> 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 either version 2 of the license or at
>   your option any later version this program is distributed in the
>   hope that it will be useful but without any warranty without even
>   the implied warranty of merchantability or fitness for a particular
>   purpose see the gnu general public license for more details you
>   should have received a copy of the gnu general public license along
>   with this program if not write to the free software foundation inc
>   59 temple place suite 330 boston ma 02111 1307 usa or point your
>   browser to http www gnu org copyleft gpl html
>
> extracted by the scancode license scanner the SPDX license identifier
>
>   GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 1 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: linux-spdx@vger.kernel.org
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=f919fabb23ed
> ---
>  drivers/media/pci/bt8xx/bt878.c |   19 +------------------
>  1 file changed, 1 insertion(+), 18 deletions(-)
>
> --- a/drivers/media/pci/bt8xx/bt878.c
> +++ b/drivers/media/pci/bt8xx/bt878.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * bt878.c: part of the driver for the Pinnacle PCTV Sat DVB PCI card
>   *
> @@ -7,24 +8,6 @@
>   * Copyright (C) 1996,97,98 Ralph  Metzler (rjkm@metzlerbros.de)
>   *                        & Marcus Metzler (mocm@metzlerbros.de)
>   * (c) 1999,2000 Gerd Knorr <kraxel@goldbach.in-berlin.de>
> - *
> - * 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; either version 2
> - * of the License, or (at your option) any later version.
> - *
> -
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> -
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
> - * Or, point your browser to http://www.gnu.org/copyleft/gpl.html
> - *
>   */
>
>  #include <linux/module.h>
>
>
>
>

^ permalink raw reply	[flat|nested] 85+ messages in thread

* Re: [patch 10/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 35
  2019-05-20 17:08 ` [patch 10/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 35 Thomas Gleixner
  2019-05-20 22:35   ` Allison Randal
@ 2019-05-21  0:29   ` Kate Stewart
  1 sibling, 0 replies; 85+ messages in thread
From: Kate Stewart @ 2019-05-21  0:29 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>

On Mon, May 20, 2019 at 12:10 PM Thomas Gleixner <tglx@linutronix.de> 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 either version 2 or at your option any
>   later version this program is distributed in the hope that it will
>   be useful but without any warranty without even the implied warranty
>   of merchantability or fitness for a particular purpose see the gnu
>   general public license for more details you should have received a
>   copy of the gnu general public license along with this program if
>   not write to the free software foundation 51 franklin street fifth
>   floor boston ma 02110 1301 usa
>
> extracted by the scancode license scanner the SPDX license identifier
>
>   GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 23 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: linux-spdx@vger.kernel.org
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=f9cf9da4a4a1
> ---
>  fs/squashfs/block.c          |   15 +--------------
>  fs/squashfs/cache.c          |   15 +--------------
>  fs/squashfs/decompressor.c   |   15 +--------------
>  fs/squashfs/decompressor.h   |   15 +--------------
>  fs/squashfs/dir.c            |   15 +--------------
>  fs/squashfs/export.c         |   15 +--------------
>  fs/squashfs/file.c           |   15 +--------------
>  fs/squashfs/fragment.c       |   15 +--------------
>  fs/squashfs/id.c             |   15 +--------------
>  fs/squashfs/inode.c          |   15 +--------------
>  fs/squashfs/lzo_wrapper.c    |   15 +--------------
>  fs/squashfs/namei.c          |   15 +--------------
>  fs/squashfs/squashfs.h       |   15 +--------------
>  fs/squashfs/squashfs_fs.h    |   15 +--------------
>  fs/squashfs/squashfs_fs_i.h  |   15 +--------------
>  fs/squashfs/squashfs_fs_sb.h |   15 +--------------
>  fs/squashfs/super.c          |   15 +--------------
>  fs/squashfs/symlink.c        |   15 +--------------
>  fs/squashfs/xattr.c          |   15 +--------------
>  fs/squashfs/xattr.h          |   15 +--------------
>  fs/squashfs/xattr_id.c       |   15 +--------------
>  fs/squashfs/xz_wrapper.c     |   15 +--------------
>  fs/squashfs/zlib_wrapper.c   |   15 +--------------
>  23 files changed, 23 insertions(+), 322 deletions(-)
>
> --- a/fs/squashfs/block.c
> +++ b/fs/squashfs/block.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * block.c
>   */
>
> --- a/fs/squashfs/cache.c
> +++ b/fs/squashfs/cache.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * cache.c
>   */
>
> --- a/fs/squashfs/decompressor.c
> +++ b/fs/squashfs/decompressor.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * decompressor.c
>   */
>
> --- a/fs/squashfs/decompressor.h
> +++ b/fs/squashfs/decompressor.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  #ifndef DECOMPRESSOR_H
>  #define DECOMPRESSOR_H
>  /*
> @@ -6,20 +7,6 @@
>   * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * decompressor.h
>   */
>
> --- a/fs/squashfs/dir.c
> +++ b/fs/squashfs/dir.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * dir.c
>   */
>
> --- a/fs/squashfs/export.c
> +++ b/fs/squashfs/export.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * export.c
>   */
>
> --- a/fs/squashfs/file.c
> +++ b/fs/squashfs/file.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * file.c
>   */
>
> --- a/fs/squashfs/fragment.c
> +++ b/fs/squashfs/fragment.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * fragment.c
>   */
>
> --- a/fs/squashfs/id.c
> +++ b/fs/squashfs/id.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * id.c
>   */
>
> --- a/fs/squashfs/inode.c
> +++ b/fs/squashfs/inode.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * inode.c
>   */
>
> --- a/fs/squashfs/lzo_wrapper.c
> +++ b/fs/squashfs/lzo_wrapper.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2010 LG Electronics
>   * Chan Jeong <chan.jeong@lge.com>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * lzo_wrapper.c
>   */
>
> --- a/fs/squashfs/namei.c
> +++ b/fs/squashfs/namei.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * namei.c
>   */
>
> --- a/fs/squashfs/squashfs.h
> +++ b/fs/squashfs/squashfs.h
> @@ -1,23 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * squashfs.h
>   */
>
> --- a/fs/squashfs/squashfs_fs.h
> +++ b/fs/squashfs/squashfs_fs.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  #ifndef SQUASHFS_FS
>  #define SQUASHFS_FS
>  /*
> @@ -6,20 +7,6 @@
>   * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * squashfs_fs.h
>   */
>
> --- a/fs/squashfs/squashfs_fs_i.h
> +++ b/fs/squashfs/squashfs_fs_i.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  #ifndef SQUASHFS_FS_I
>  #define SQUASHFS_FS_I
>  /*
> @@ -6,20 +7,6 @@
>   * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * squashfs_fs_i.h
>   */
>
> --- a/fs/squashfs/squashfs_fs_sb.h
> +++ b/fs/squashfs/squashfs_fs_sb.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  #ifndef SQUASHFS_FS_SB
>  #define SQUASHFS_FS_SB
>  /*
> @@ -6,20 +7,6 @@
>   * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * squashfs_fs_sb.h
>   */
>
> --- a/fs/squashfs/super.c
> +++ b/fs/squashfs/super.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * super.c
>   */
>
> --- a/fs/squashfs/symlink.c
> +++ b/fs/squashfs/symlink.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * symlink.c
>   */
>
> --- a/fs/squashfs/xattr.c
> +++ b/fs/squashfs/xattr.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2010
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * xattr.c
>   */
>
> --- a/fs/squashfs/xattr.h
> +++ b/fs/squashfs/xattr.h
> @@ -1,23 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2010
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * xattr.h
>   */
>
> --- a/fs/squashfs/xattr_id.c
> +++ b/fs/squashfs/xattr_id.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2010
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * xattr_id.c
>   */
>
> --- a/fs/squashfs/xz_wrapper.c
> +++ b/fs/squashfs/xz_wrapper.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * xz_wrapper.c
>   */
>
> --- a/fs/squashfs/zlib_wrapper.c
> +++ b/fs/squashfs/zlib_wrapper.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
>   * Phillip Lougher <phillip@squashfs.org.uk>
>   *
> - * 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; either version 2,
> - * or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
> - *
>   * zlib_wrapper.c
>   */
>
>
>
>
>

^ permalink raw reply	[flat|nested] 85+ messages in thread

* Re: [patch 11/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 36
  2019-05-20 17:08 ` [patch 11/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 36 Thomas Gleixner
  2019-05-20 22:36   ` Allison Randal
@ 2019-05-21  0:30   ` Kate Stewart
  1 sibling, 0 replies; 85+ messages in thread
From: Kate Stewart @ 2019-05-21  0:30 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>

On Mon, May 20, 2019 at 12:10 PM Thomas Gleixner <tglx@linutronix.de> 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 licence as published by
>   the free software foundation either version 2 of the licence or at
>   your option any later version
>
> extracted by the scancode license scanner the SPDX license identifier
>
>   GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 114 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: linux-spdx@vger.kernel.org
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=005f80e9f871
> ---
>  arch/c6x/include/asm/irqflags.h           |    6 +-----
>  arch/riscv/include/asm/atomic.h           |    6 +-----
>  certs/blacklist.c                         |    6 +-----
>  certs/system_keyring.c                    |    6 +-----
>  crypto/asymmetric_keys/asymmetric_keys.h  |    6 +-----
>  crypto/asymmetric_keys/asymmetric_type.c  |    6 +-----
>  crypto/asymmetric_keys/mscode_parser.c    |    6 +-----
>  crypto/asymmetric_keys/pkcs7_key_type.c   |    6 +-----
>  crypto/asymmetric_keys/pkcs7_parser.c     |    6 +-----
>  crypto/asymmetric_keys/pkcs7_parser.h     |    6 +-----
>  crypto/asymmetric_keys/pkcs7_trust.c      |    6 +-----
>  crypto/asymmetric_keys/pkcs7_verify.c     |    6 +-----
>  crypto/asymmetric_keys/pkcs8_parser.c     |    6 +-----
>  crypto/asymmetric_keys/public_key.c       |    6 +-----
>  crypto/asymmetric_keys/restrict.c         |    6 +-----
>  crypto/asymmetric_keys/signature.c        |    6 +-----
>  crypto/asymmetric_keys/verify_pefile.c    |    6 +-----
>  crypto/asymmetric_keys/verify_pefile.h    |    6 +-----
>  crypto/asymmetric_keys/x509_cert_parser.c |    6 +-----
>  crypto/asymmetric_keys/x509_parser.h      |    6 +-----
>  crypto/asymmetric_keys/x509_public_key.c  |    6 +-----
>  crypto/rsa.c                              |    6 +-----
>  drivers/rtc/rtc-st-lpc.c                  |    6 +-----
>  fs/afs/addr_list.c                        |    6 +-----
>  fs/afs/dir_edit.c                         |    6 +-----
>  fs/afs/dir_silly.c                        |    6 +-----
>  fs/afs/dynroot.c                          |    6 +-----
>  fs/afs/fs_probe.c                         |    6 +-----
>  fs/afs/protocol_yfs.h                     |    6 +-----
>  fs/afs/rotate.c                           |    6 +-----
>  fs/afs/vl_probe.c                         |    6 +-----
>  fs/afs/vl_rotate.c                        |    6 +-----
>  fs/afs/xattr.c                            |    6 +-----
>  fs/afs/xdr_fs.h                           |    6 +-----
>  fs/afs/yfsclient.c                        |    6 +-----
>  fs/cachefiles/bind.c                      |    6 +-----
>  fs/cachefiles/daemon.c                    |    6 +-----
>  fs/cachefiles/interface.c                 |    6 +-----
>  fs/cachefiles/internal.h                  |    6 +-----
>  fs/cachefiles/key.c                       |    6 +-----
>  fs/cachefiles/main.c                      |    6 +-----
>  fs/cachefiles/namei.c                     |    6 +-----
>  fs/cachefiles/proc.c                      |    6 +-----
>  fs/cachefiles/rdwr.c                      |    6 +-----
>  fs/cachefiles/security.c                  |    6 +-----
>  fs/cachefiles/xattr.c                     |    6 +-----
>  fs/fs_context.c                           |    6 +-----
>  fs/fs_parser.c                            |    6 +-----
>  fs/fscache/histogram.c                    |    6 +-----
>  fs/fscache/netfs.c                        |    6 +-----
>  fs/fscache/object-list.c                  |    6 +-----
>  fs/fsopen.c                               |    6 +-----
>  fs/nfs/fscache-index.c                    |    6 +-----
>  fs/nfs/fscache.c                          |    6 +-----
>  fs/nfs/fscache.h                          |    6 +-----
>  include/asm-generic/atomic.h              |    6 +-----
>  include/asm-generic/barrier.h             |    6 +-----
>  include/asm-generic/exec.h                |    6 +-----
>  include/asm-generic/io.h                  |    6 +-----
>  include/asm-generic/switch_to.h           |    6 +-----
>  include/crypto/pkcs7.h                    |    6 +-----
>  include/crypto/public_key.h               |    6 +-----
>  include/keys/asymmetric-parser.h          |    6 +-----
>  include/keys/asymmetric-subtype.h         |    6 +-----
>  include/keys/asymmetric-type.h            |    6 +-----
>  include/keys/request_key_auth-type.h      |    6 +-----
>  include/keys/system_keyring.h             |    6 +-----
>  include/linux/asn1.h                      |    6 +-----
>  include/linux/asn1_ber_bytecode.h         |    6 +-----
>  include/linux/asn1_decoder.h              |    6 +-----
>  include/linux/assoc_array.h               |    6 +-----
>  include/linux/assoc_array_priv.h          |    6 +-----
>  include/linux/count_zeros.h               |    6 +-----
>  include/linux/cred.h                      |    6 +-----
>  include/linux/fs_context.h                |    6 +-----
>  include/linux/fs_parser.h                 |    6 +-----
>  include/linux/key-type.h                  |    6 +-----
>  include/linux/keyctl.h                    |    6 +-----
>  include/linux/oid_registry.h              |    6 +-----
>  include/linux/verification.h              |    6 +-----
>  include/trace/events/afs.h                |    6 +-----
>  include/trace/events/cachefiles.h         |    6 +-----
>  include/trace/events/fscache.h            |    6 +-----
>  include/trace/events/i2c.h                |    6 +-----
>  include/trace/events/rxrpc.h              |    6 +-----
>  include/trace/events/smbus.h              |    6 +-----
>  include/uapi/linux/rxrpc.h                |    6 +-----
>  kernel/cred.c                             |    6 +-----
>  kernel/module-internal.h                  |    6 +-----
>  kernel/module_signing.c                   |    6 +-----
>  lib/asn1_decoder.c                        |    6 +-----
>  lib/assoc_array.c                         |    6 +-----
>  lib/build_OID_registry                    |    6 +-----
>  lib/is_single_threaded.c                  |    6 +-----
>  lib/oid_registry.c                        |    6 +-----
>  net/rxrpc/conn_client.c                   |    7 +------
>  net/rxrpc/conn_service.c                  |    6 +-----
>  net/rxrpc/insecure.c                      |    6 +-----
>  net/rxrpc/local_object.c                  |    6 +-----
>  net/rxrpc/misc.c                          |    6 +-----
>  net/rxrpc/net_ns.c                        |    6 +-----
>  net/rxrpc/sendmsg.c                       |    6 +-----
>  net/rxrpc/sysctl.c                        |    6 +-----
>  net/rxrpc/utils.c                         |    6 +-----
>  samples/vfs/test-fsmount.c                |    6 +-----
>  samples/vfs/test-statx.c                  |    6 +-----
>  scripts/asn1_compiler.c                   |    6 +-----
>  security/keys/big_key.c                   |    6 +-----
>  security/keys/gc.c                        |    6 +-----
>  security/keys/keyctl_pkey.c               |    6 +-----
>  security/keys/persistent.c                |    6 +-----
>  security/keys/sysctl.c                    |    6 +-----
>  tools/include/asm-generic/barrier.h       |    6 +-----
>  113 files changed, 113 insertions(+), 566 deletions(-)
>
> --- a/arch/c6x/include/asm/irqflags.h
> +++ b/arch/c6x/include/asm/irqflags.h
> @@ -1,13 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   *  C6X IRQ flag handling
>   *
>   * Copyright (C) 2010 Texas Instruments Incorporated
>   * Written by Mark Salter (msalter@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #ifndef _ASM_IRQFLAGS_H
> --- a/arch/riscv/include/asm/atomic.h
> +++ b/arch/riscv/include/asm/atomic.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
>   * Copyright (C) 2012 Regents of the University of California
>   * Copyright (C) 2017 SiFive
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #ifndef _ASM_RISCV_ATOMIC_H
> --- a/certs/blacklist.c
> +++ b/certs/blacklist.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* System hash blacklist.
>   *
>   * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #define pr_fmt(fmt) "blacklist: "fmt
> --- a/certs/system_keyring.c
> +++ b/certs/system_keyring.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* System trusted keyring for trusted public keys
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <linux/export.h>
> --- a/crypto/asymmetric_keys/asymmetric_keys.h
> +++ b/crypto/asymmetric_keys/asymmetric_keys.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* Internal definitions for asymmetric key type
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <keys/asymmetric-type.h>
> --- a/crypto/asymmetric_keys/asymmetric_type.c
> +++ b/crypto/asymmetric_keys/asymmetric_type.c
> @@ -1,14 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Asymmetric public-key cryptography key type
>   *
>   * See Documentation/crypto/asymmetric-keys.txt
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  #include <keys/asymmetric-subtype.h>
>  #include <keys/asymmetric-parser.h>
> --- a/crypto/asymmetric_keys/mscode_parser.c
> +++ b/crypto/asymmetric_keys/mscode_parser.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Parse a Microsoft Individual Code Signing blob
>   *
>   * Copyright (C) 2014 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #define pr_fmt(fmt) "MSCODE: "fmt
> --- a/crypto/asymmetric_keys/pkcs7_key_type.c
> +++ b/crypto/asymmetric_keys/pkcs7_key_type.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Testing module to load key from trusted PKCS#7 message
>   *
>   * Copyright (C) 2014 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #define pr_fmt(fmt) "PKCS7key: "fmt
> --- a/crypto/asymmetric_keys/pkcs7_parser.c
> +++ b/crypto/asymmetric_keys/pkcs7_parser.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* PKCS#7 parser
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #define pr_fmt(fmt) "PKCS7: "fmt
> --- a/crypto/asymmetric_keys/pkcs7_parser.h
> +++ b/crypto/asymmetric_keys/pkcs7_parser.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* PKCS#7 crypto data parser internal definitions
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <linux/oid_registry.h>
> --- a/crypto/asymmetric_keys/pkcs7_trust.c
> +++ b/crypto/asymmetric_keys/pkcs7_trust.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Validate the trust chain of a PKCS#7 message.
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #define pr_fmt(fmt) "PKCS7: "fmt
> --- a/crypto/asymmetric_keys/pkcs7_verify.c
> +++ b/crypto/asymmetric_keys/pkcs7_verify.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Verify the signature on a PKCS#7 message.
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #define pr_fmt(fmt) "PKCS7: "fmt
> --- a/crypto/asymmetric_keys/pkcs8_parser.c
> +++ b/crypto/asymmetric_keys/pkcs8_parser.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* PKCS#8 Private Key parser [RFC 5208].
>   *
>   * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #define pr_fmt(fmt) "PKCS8: "fmt
> --- a/crypto/asymmetric_keys/public_key.c
> +++ b/crypto/asymmetric_keys/public_key.c
> @@ -1,14 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* In-software asymmetric public-key crypto subtype
>   *
>   * See Documentation/crypto/asymmetric-keys.txt
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #define pr_fmt(fmt) "PKEY: "fmt
> --- a/crypto/asymmetric_keys/restrict.c
> +++ b/crypto/asymmetric_keys/restrict.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Instantiate a public key crypto key from an X.509 Certificate
>   *
>   * Copyright (C) 2012, 2016 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #define pr_fmt(fmt) "ASYM: "fmt
> --- a/crypto/asymmetric_keys/signature.c
> +++ b/crypto/asymmetric_keys/signature.c
> @@ -1,14 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Signature verification with an asymmetric key
>   *
>   * See Documentation/crypto/asymmetric-keys.txt
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #define pr_fmt(fmt) "SIG: "fmt
> --- a/crypto/asymmetric_keys/verify_pefile.c
> +++ b/crypto/asymmetric_keys/verify_pefile.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Parse a signed PE binary
>   *
>   * Copyright (C) 2014 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #define pr_fmt(fmt) "PEFILE: "fmt
> --- a/crypto/asymmetric_keys/verify_pefile.h
> +++ b/crypto/asymmetric_keys/verify_pefile.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* PE Binary parser bits
>   *
>   * Copyright (C) 2014 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <crypto/pkcs7.h>
> --- a/crypto/asymmetric_keys/x509_cert_parser.c
> +++ b/crypto/asymmetric_keys/x509_cert_parser.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* X.509 certificate parser
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #define pr_fmt(fmt) "X.509: "fmt
> --- a/crypto/asymmetric_keys/x509_parser.h
> +++ b/crypto/asymmetric_keys/x509_parser.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* X.509 certificate parser internal definitions
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <linux/time.h>
> --- a/crypto/asymmetric_keys/x509_public_key.c
> +++ b/crypto/asymmetric_keys/x509_public_key.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Instantiate a public key crypto key from an X.509 Certificate
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #define pr_fmt(fmt) "X.509: "fmt
> --- a/crypto/rsa.c
> +++ b/crypto/rsa.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* RSA asymmetric public-key algorithm [RFC3447]
>   *
>   * Copyright (c) 2015, Intel Corporation
>   * Authors: Tadeusz Struk <tadeusz.struk@intel.com>
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <linux/module.h>
> --- a/drivers/rtc/rtc-st-lpc.c
> +++ b/drivers/rtc/rtc-st-lpc.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * rtc-st-lpc.c - ST's LPC RTC, powered by the Low Power Timer
>   *
> @@ -7,11 +8,6 @@
>   *         Lee Jones <lee.jones@linaro.org> for STMicroelectronics
>   *
>   * Based on the original driver written by Stuart Menefy.
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <linux/clk.h>
> --- a/fs/afs/addr_list.c
> +++ b/fs/afs/addr_list.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Server address list management
>   *
>   * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <linux/slab.h>
> --- a/fs/afs/dir_edit.c
> +++ b/fs/afs/dir_edit.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* AFS filesystem directory editing
>   *
>   * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <linux/kernel.h>
> --- a/fs/afs/dir_silly.c
> +++ b/fs/afs/dir_silly.c
> @@ -1,13 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* AFS silly rename handling
>   *
>   * Copyright (C) 2019 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
>   * - Derived from NFS's sillyrename.
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <linux/kernel.h>
> --- a/fs/afs/dynroot.c
> +++ b/fs/afs/dynroot.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* AFS dynamic root handling
>   *
>   * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <linux/fs.h>
> --- a/fs/afs/fs_probe.c
> +++ b/fs/afs/fs_probe.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* AFS fileserver probing
>   *
>   * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <linux/sched.h>
> --- a/fs/afs/protocol_yfs.h
> +++ b/fs/afs/protocol_yfs.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* YFS protocol bits
>   *
>   * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #define YFS_FS_SERVICE 2500
> --- a/fs/afs/rotate.c
> +++ b/fs/afs/rotate.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Handle fileserver selection and rotation.
>   *
>   * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <linux/kernel.h>
> --- a/fs/afs/vl_probe.c
> +++ b/fs/afs/vl_probe.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* AFS vlserver probing
>   *
>   * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <linux/sched.h>
> --- a/fs/afs/vl_rotate.c
> +++ b/fs/afs/vl_rotate.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Handle vlserver selection and rotation.
>   *
>   * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <linux/kernel.h>
> --- a/fs/afs/xattr.c
> +++ b/fs/afs/xattr.c
> @@ -1,13 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Extended attribute handling for AFS.  We use xattrs to get and set metadata
>   * instead of providing pioctl().
>   *
>   * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <linux/slab.h>
> --- a/fs/afs/xdr_fs.h
> +++ b/fs/afs/xdr_fs.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* AFS fileserver XDR types
>   *
>   * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #ifndef XDR_FS_H
> --- a/fs/afs/yfsclient.c
> +++ b/fs/afs/yfsclient.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* YFS File Server client stubs
>   *
>   * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <linux/init.h>
> --- a/fs/cachefiles/bind.c
> +++ b/fs/cachefiles/bind.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Bind and unbind a cache from the filesystem backing it
>   *
>   * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <linux/module.h>
> --- a/fs/cachefiles/daemon.c
> +++ b/fs/cachefiles/daemon.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Daemon interface
>   *
>   * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <linux/module.h>
> --- a/fs/cachefiles/interface.c
> +++ b/fs/cachefiles/interface.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* FS-Cache interface to CacheFiles
>   *
>   * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <linux/slab.h>
> --- a/fs/cachefiles/internal.h
> +++ b/fs/cachefiles/internal.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* General netfs cache on cache files internal defs
>   *
>   * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #ifdef pr_fmt
> --- a/fs/cachefiles/key.c
> +++ b/fs/cachefiles/key.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Key to pathname encoder
>   *
>   * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <linux/slab.h>
> --- a/fs/cachefiles/main.c
> +++ b/fs/cachefiles/main.c
> @@ -1,13 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Network filesystem caching backend to use cache files on a premounted
>   * filesystem
>   *
>   * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <linux/module.h>
> --- a/fs/cachefiles/namei.c
> +++ b/fs/cachefiles/namei.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* CacheFiles path walking and related routines
>   *
>   * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <linux/module.h>
> --- a/fs/cachefiles/proc.c
> +++ b/fs/cachefiles/proc.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* CacheFiles statistics
>   *
>   * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <linux/module.h>
> --- a/fs/cachefiles/rdwr.c
> +++ b/fs/cachefiles/rdwr.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Storage object read/write
>   *
>   * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <linux/mount.h>
> --- a/fs/cachefiles/security.c
> +++ b/fs/cachefiles/security.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* CacheFiles security management
>   *
>   * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <linux/fs.h>
> --- a/fs/cachefiles/xattr.c
> +++ b/fs/cachefiles/xattr.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* CacheFiles extended attribute management
>   *
>   * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <linux/module.h>
> --- a/fs/fs_context.c
> +++ b/fs/fs_context.c
> @@ -1,13 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Provide a way to create a superblock configuration context within the kernel
>   * that allows a superblock to be set up prior to mounting.
>   *
>   * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> --- a/fs/fs_parser.c
> +++ b/fs/fs_parser.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Filesystem parameter parser.
>   *
>   * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <linux/export.h>
> --- a/fs/fscache/histogram.c
> +++ b/fs/fscache/histogram.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* FS-Cache latency histogram
>   *
>   * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #define FSCACHE_DEBUG_LEVEL THREAD
> --- a/fs/fscache/netfs.c
> +++ b/fs/fscache/netfs.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* FS-Cache netfs (client) registration
>   *
>   * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #define FSCACHE_DEBUG_LEVEL COOKIE
> --- a/fs/fscache/object-list.c
> +++ b/fs/fscache/object-list.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Global fscache object list maintainer and viewer
>   *
>   * Copyright (C) 2009 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #define FSCACHE_DEBUG_LEVEL COOKIE
> --- a/fs/fsopen.c
> +++ b/fs/fsopen.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Filesystem access-by-fd.
>   *
>   * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <linux/fs_context.h>
> --- a/fs/nfs/fscache-index.c
> +++ b/fs/nfs/fscache-index.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* NFS FS-Cache index structure definition
>   *
>   * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <linux/init.h>
> --- a/fs/nfs/fscache.c
> +++ b/fs/nfs/fscache.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* NFS filesystem cache interface
>   *
>   * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <linux/init.h>
> --- a/fs/nfs/fscache.h
> +++ b/fs/nfs/fscache.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* NFS filesystem cache interface definitions
>   *
>   * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #ifndef _NFS_FSCACHE_H
> --- a/include/asm-generic/atomic.h
> +++ b/include/asm-generic/atomic.h
> @@ -1,14 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Generic C implementation of atomic counter operations. Usable on
>   * UP systems only. Do not include in machine independent code.
>   *
>   * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  #ifndef __ASM_GENERIC_ATOMIC_H
>  #define __ASM_GENERIC_ATOMIC_H
> --- a/include/asm-generic/barrier.h
> +++ b/include/asm-generic/barrier.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Generic barrier definitions.
>   *
> @@ -6,11 +7,6 @@
>   *
>   * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  #ifndef __ASM_GENERIC_BARRIER_H
>  #define __ASM_GENERIC_BARRIER_H
> --- a/include/asm-generic/exec.h
> +++ b/include/asm-generic/exec.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* Generic process execution definitions.
>   *
>   * It should be possible to use these on really simple architectures,
> @@ -5,11 +6,6 @@
>   *
>   * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  #ifndef __ASM_GENERIC_EXEC_H
>  #define __ASM_GENERIC_EXEC_H
> --- a/include/asm-generic/io.h
> +++ b/include/asm-generic/io.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* Generic I/O port emulation.
>   *
>   * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  #ifndef __ASM_GENERIC_IO_H
>  #define __ASM_GENERIC_IO_H
> --- a/include/asm-generic/switch_to.h
> +++ b/include/asm-generic/switch_to.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* Generic task switch macro wrapper.
>   *
>   * It should be possible to use these on really simple architectures,
> @@ -5,11 +6,6 @@
>   *
>   * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  #ifndef __ASM_GENERIC_SWITCH_TO_H
>  #define __ASM_GENERIC_SWITCH_TO_H
> --- a/include/crypto/pkcs7.h
> +++ b/include/crypto/pkcs7.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* PKCS#7 crypto data parser
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #ifndef _CRYPTO_PKCS7_H
> --- a/include/crypto/public_key.h
> +++ b/include/crypto/public_key.h
> @@ -1,14 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* Asymmetric public-key algorithm definitions
>   *
>   * See Documentation/crypto/asymmetric-keys.txt
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #ifndef _LINUX_PUBLIC_KEY_H
> --- a/include/keys/asymmetric-parser.h
> +++ b/include/keys/asymmetric-parser.h
> @@ -1,14 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* Asymmetric public-key cryptography data parser
>   *
>   * See Documentation/crypto/asymmetric-keys.txt
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #ifndef _KEYS_ASYMMETRIC_PARSER_H
> --- a/include/keys/asymmetric-subtype.h
> +++ b/include/keys/asymmetric-subtype.h
> @@ -1,14 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* Asymmetric public-key cryptography key subtype
>   *
>   * See Documentation/crypto/asymmetric-keys.txt
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #ifndef _KEYS_ASYMMETRIC_SUBTYPE_H
> --- a/include/keys/asymmetric-type.h
> +++ b/include/keys/asymmetric-type.h
> @@ -1,14 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* Asymmetric Public-key cryptography key type interface
>   *
>   * See Documentation/crypto/asymmetric-keys.txt
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #ifndef _KEYS_ASYMMETRIC_TYPE_H
> --- a/include/keys/request_key_auth-type.h
> +++ b/include/keys/request_key_auth-type.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* request_key authorisation token key type
>   *
>   * Copyright (C) 2005 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #ifndef _KEYS_REQUEST_KEY_AUTH_TYPE_H
> --- a/include/keys/system_keyring.h
> +++ b/include/keys/system_keyring.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* System keyring containing trusted public keys.
>   *
>   * Copyright (C) 2013 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #ifndef _KEYS_SYSTEM_KEYRING_H
> --- a/include/linux/asn1.h
> +++ b/include/linux/asn1.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* ASN.1 BER/DER/CER encoding definitions
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #ifndef _LINUX_ASN1_H
> --- a/include/linux/asn1_ber_bytecode.h
> +++ b/include/linux/asn1_ber_bytecode.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* ASN.1 BER/DER/CER parsing state machine internal definitions
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #ifndef _LINUX_ASN1_BER_BYTECODE_H
> --- a/include/linux/asn1_decoder.h
> +++ b/include/linux/asn1_decoder.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* ASN.1 decoder
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #ifndef _LINUX_ASN1_DECODER_H
> --- a/include/linux/assoc_array.h
> +++ b/include/linux/assoc_array.h
> @@ -1,14 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* Generic associative array implementation.
>   *
>   * See Documentation/core-api/assoc_array.rst for information.
>   *
>   * Copyright (C) 2013 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #ifndef _LINUX_ASSOC_ARRAY_H
> --- a/include/linux/assoc_array_priv.h
> +++ b/include/linux/assoc_array_priv.h
> @@ -1,14 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* Private definitions for the generic associative array implementation.
>   *
>   * See Documentation/core-api/assoc_array.rst for information.
>   *
>   * Copyright (C) 2013 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #ifndef _LINUX_ASSOC_ARRAY_PRIV_H
> --- a/include/linux/count_zeros.h
> +++ b/include/linux/count_zeros.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* Count leading and trailing zeros functions
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #ifndef _LINUX_BITOPS_COUNT_ZEROS_H_
> --- a/include/linux/cred.h
> +++ b/include/linux/cred.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* Credentials management - see Documentation/security/credentials.rst
>   *
>   * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #ifndef _LINUX_CRED_H
> --- a/include/linux/fs_context.h
> +++ b/include/linux/fs_context.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* Filesystem superblock creation and reconfiguration context.
>   *
>   * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #ifndef _LINUX_FS_CONTEXT_H
> --- a/include/linux/fs_parser.h
> +++ b/include/linux/fs_parser.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* Filesystem parameter description and parser
>   *
>   * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #ifndef _LINUX_FS_PARSER_H
> --- a/include/linux/key-type.h
> +++ b/include/linux/key-type.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* Definitions for key type implementations
>   *
>   * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #ifndef _LINUX_KEY_TYPE_H
> --- a/include/linux/keyctl.h
> +++ b/include/linux/keyctl.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* keyctl kernel bits
>   *
>   * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #ifndef __LINUX_KEYCTL_H
> --- a/include/linux/oid_registry.h
> +++ b/include/linux/oid_registry.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* ASN.1 Object identifier (OID) registry
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #ifndef _LINUX_OID_REGISTRY_H
> --- a/include/linux/verification.h
> +++ b/include/linux/verification.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* Signature verification
>   *
>   * Copyright (C) 2014 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #ifndef _LINUX_VERIFICATION_H
> --- a/include/trace/events/afs.h
> +++ b/include/trace/events/afs.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* AFS tracepoints
>   *
>   * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  #undef TRACE_SYSTEM
>  #define TRACE_SYSTEM afs
> --- a/include/trace/events/cachefiles.h
> +++ b/include/trace/events/cachefiles.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* CacheFiles tracepoints
>   *
>   * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  #undef TRACE_SYSTEM
>  #define TRACE_SYSTEM cachefiles
> --- a/include/trace/events/fscache.h
> +++ b/include/trace/events/fscache.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* FS-Cache tracepoints
>   *
>   * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  #undef TRACE_SYSTEM
>  #define TRACE_SYSTEM fscache
> --- a/include/trace/events/i2c.h
> +++ b/include/trace/events/i2c.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* I2C message transfer tracepoints
>   *
>   * Copyright (C) 2013 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  #undef TRACE_SYSTEM
>  #define TRACE_SYSTEM i2c
> --- a/include/trace/events/rxrpc.h
> +++ b/include/trace/events/rxrpc.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* AF_RXRPC tracepoints
>   *
>   * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  #undef TRACE_SYSTEM
>  #define TRACE_SYSTEM rxrpc
> --- a/include/trace/events/smbus.h
> +++ b/include/trace/events/smbus.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* SMBUS message transfer tracepoints
>   *
>   * Copyright (C) 2013 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  #undef TRACE_SYSTEM
>  #define TRACE_SYSTEM smbus
> --- a/include/uapi/linux/rxrpc.h
> +++ b/include/uapi/linux/rxrpc.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* Types and definitions for AF_RXRPC.
>   *
>   * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #ifndef _UAPI_LINUX_RXRPC_H
> --- a/kernel/cred.c
> +++ b/kernel/cred.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Task credentials management - see Documentation/security/credentials.rst
>   *
>   * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  #include <linux/export.h>
>  #include <linux/cred.h>
> --- a/kernel/module-internal.h
> +++ b/kernel/module-internal.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* Module internals
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <linux/elf.h>
> --- a/kernel/module_signing.c
> +++ b/kernel/module_signing.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Module signature checker
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <linux/kernel.h>
> --- a/lib/asn1_decoder.c
> +++ b/lib/asn1_decoder.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Decoder for ASN.1 BER/DER/CER encoded bytestream
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <linux/export.h>
> --- a/lib/assoc_array.c
> +++ b/lib/assoc_array.c
> @@ -1,14 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Generic associative array implementation.
>   *
>   * See Documentation/core-api/assoc_array.rst for information.
>   *
>   * Copyright (C) 2013 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  //#define DEBUG
>  #include <linux/rcupdate.h>
> --- a/lib/build_OID_registry
> +++ b/lib/build_OID_registry
> @@ -1,15 +1,11 @@
>  #!/usr/bin/perl -w
> +# SPDX-License-Identifier: GPL-2.0-or-later
>  #
>  # Build a static ASN.1 Object Identified (OID) registry
>  #
>  # Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>  # Written by David Howells (dhowells@redhat.com)
>  #
> -# This program is free software; you can redistribute it and/or
> -# modify it under the terms of the GNU General Public Licence
> -# as published by the Free Software Foundation; either version
> -# 2 of the Licence, or (at your option) any later version.
> -#
>
>  use strict;
>
> --- a/lib/is_single_threaded.c
> +++ b/lib/is_single_threaded.c
> @@ -1,13 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Function to determine if a thread group is single threaded or not
>   *
>   * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
>   * - Derived from security/selinux/hooks.c
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>  #include <linux/sched/signal.h>
>  #include <linux/sched/task.h>
> --- a/lib/oid_registry.c
> +++ b/lib/oid_registry.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* ASN.1 Object identifier (OID) registry
>   *
>   * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <linux/module.h>
> --- a/net/rxrpc/conn_client.c
> +++ b/net/rxrpc/conn_client.c
> @@ -1,14 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Client connection-specific management code.
>   *
>   * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
>   *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
> - *
> - *
>   * Client connections need to be cached for a little while after they've made a
>   * call so as to handle retransmitted DATA packets in case the server didn't
>   * receive the final ACK or terminating ABORT we sent it.
> --- a/net/rxrpc/conn_service.c
> +++ b/net/rxrpc/conn_service.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Service connection management
>   *
>   * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <linux/slab.h>
> --- a/net/rxrpc/insecure.c
> +++ b/net/rxrpc/insecure.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Null security operations.
>   *
>   * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <net/af_rxrpc.h>
> --- a/net/rxrpc/local_object.c
> +++ b/net/rxrpc/local_object.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Local endpoint object management
>   *
>   * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> --- a/net/rxrpc/misc.c
> +++ b/net/rxrpc/misc.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Miscellaneous bits
>   *
>   * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <linux/kernel.h>
> --- a/net/rxrpc/net_ns.c
> +++ b/net/rxrpc/net_ns.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* rxrpc network namespace handling.
>   *
>   * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <linux/proc_fs.h>
> --- a/net/rxrpc/sendmsg.c
> +++ b/net/rxrpc/sendmsg.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* AF_RXRPC sendmsg() implementation.
>   *
>   * Copyright (C) 2007, 2016 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> --- a/net/rxrpc/sysctl.c
> +++ b/net/rxrpc/sysctl.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* sysctls for configuring RxRPC operating parameters
>   *
>   * Copyright (C) 2014 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <linux/sysctl.h>
> --- a/net/rxrpc/utils.c
> +++ b/net/rxrpc/utils.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Utility routines
>   *
>   * Copyright (C) 2015 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <linux/ip.h>
> --- a/samples/vfs/test-fsmount.c
> +++ b/samples/vfs/test-fsmount.c
> @@ -1,12 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* fd-based mount test.
>   *
>   * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved.
>   * Written by David Howells (dhowells@redhat.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public Licence
> - * as published by the Free Software Foundation; either version
> - * 2 of the Licence, or (at your option) any later version.
>   */
>
>  #include <stdio.h>
> --- a/samples/vfs/test-statx.c
> +++ b/samples/vfs/test-statx.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Test the statx() system call.
>
>

^ permalink raw reply	[flat|nested] 85+ messages in thread

* Re: [patch 12/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 37
  2019-05-20 17:08 ` [patch 12/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 37 Thomas Gleixner
  2019-05-20 22:37   ` Allison Randal
@ 2019-05-21  0:33   ` Kate Stewart
  1 sibling, 0 replies; 85+ messages in thread
From: Kate Stewart @ 2019-05-21  0:33 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>

On Mon, May 20, 2019 at 12:10 PM Thomas Gleixner <tglx@linutronix.de> 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 either version 2 of the license or at
>   your option any later version this program is distributed in the
>   hope that it will be useful but without any warranty without even
>   the implied warranty of merchantability or fitness for a particular
>   purpose see the gnu general public license for more details you
>   should have received a copy of the gnu general public license along
>   with this program if not write to the free software foundation inc
>   59 temple place suite 330 boston ma 02111 1307 usa the gnu gpl is
>   contained in usr doc copyright gpl on a debian system and in the
>   file copying in the linux kernel source
>
> extracted by the scancode license scanner the SPDX license identifier
>
>   GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 6 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: linux-spdx@vger.kernel.org
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=d422fdd5bffd
> ---
>  drivers/atm/ambassador.c |   17 +----------------
>  drivers/atm/ambassador.h |   17 +----------------
>  drivers/atm/firestream.c |   17 +----------------
>  drivers/atm/firestream.h |   17 +----------------
>  drivers/atm/horizon.c    |   17 +----------------
>  drivers/atm/horizon.h    |   17 +----------------
>  6 files changed, 6 insertions(+), 96 deletions(-)
>
> --- a/drivers/atm/ambassador.c
> +++ b/drivers/atm/ambassador.c
> @@ -1,23 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>    Madge Ambassador ATM Adapter driver.
>    Copyright (C) 1995-1999  Madge Networks Ltd.
>
> -  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; either version 2 of the License, or
> -  (at your option) any later version.
> -
> -  This program is distributed in the hope that it will be useful,
> -  but WITHOUT ANY WARRANTY; without even the implied warranty of
> -  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> -  GNU General Public License for more details.
> -
> -  You should have received a copy of the GNU General Public License
> -  along with this program; if not, write to the Free Software
> -  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
> -
> -  The GNU GPL is contained in /usr/doc/copyright/GPL on a Debian
> -  system and in the file COPYING in the Linux kernel source.
>  */
>
>  /* * dedicated to the memory of Graham Gordon 1971-1998 * */
> --- a/drivers/atm/ambassador.h
> +++ b/drivers/atm/ambassador.h
> @@ -1,23 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>    Madge Ambassador ATM Adapter driver.
>    Copyright (C) 1995-1999  Madge Networks Ltd.
>
> -  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; either version 2 of the License, or
> -  (at your option) any later version.
> -
> -  This program is distributed in the hope that it will be useful,
> -  but WITHOUT ANY WARRANTY; without even the implied warranty of
> -  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> -  GNU General Public License for more details.
> -
> -  You should have received a copy of the GNU General Public License
> -  along with this program; if not, write to the Free Software
> -  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
> -
> -  The GNU GPL is contained in /usr/doc/copyright/GPL on a Debian
> -  system and in the file COPYING in the Linux kernel source.
>  */
>
>  #ifndef AMBASSADOR_H
> --- a/drivers/atm/firestream.c
> +++ b/drivers/atm/firestream.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>
>  /* drivers/atm/firestream.c - FireStream 155 (MB86697) and
>   *                            FireStream  50 (MB86695) device driver
> @@ -9,22 +10,6 @@
>   */
>
>  /*
> -  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; either version 2 of the License, or
> -  (at your option) any later version.
> -
> -  This program is distributed in the hope that it will be useful,
> -  but WITHOUT ANY WARRANTY; without even the implied warranty of
> -  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> -  GNU General Public License for more details.
> -
> -  You should have received a copy of the GNU General Public License
> -  along with this program; if not, write to the Free Software
> -  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
> -
> -  The GNU GPL is contained in /usr/doc/copyright/GPL on a Debian
> -  system and in the file COPYING in the Linux kernel source.
>  */
>
>
> --- a/drivers/atm/firestream.h
> +++ b/drivers/atm/firestream.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* drivers/atm/firestream.h - FireStream 155 (MB86697) and
>   *                            FireStream  50 (MB86695) device driver
>   */
> @@ -8,22 +9,6 @@
>   */
>
>  /*
> -  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; either version 2 of the License, or
> -  (at your option) any later version.
> -
> -  This program is distributed in the hope that it will be useful,
> -  but WITHOUT ANY WARRANTY; without even the implied warranty of
> -  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> -  GNU General Public License for more details.
> -
> -  You should have received a copy of the GNU General Public License
> -  along with this program; if not, write to the Free Software
> -  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
> -
> -  The GNU GPL is contained in /usr/doc/copyright/GPL on a Debian
> -  system and in the file COPYING in the Linux kernel source.
>  */
>
>
> --- a/drivers/atm/horizon.c
> +++ b/drivers/atm/horizon.c
> @@ -1,23 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>    Madge Horizon ATM Adapter driver.
>    Copyright (C) 1995-1999  Madge Networks Ltd.
>
> -  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; either version 2 of the License, or
> -  (at your option) any later version.
> -
> -  This program is distributed in the hope that it will be useful,
> -  but WITHOUT ANY WARRANTY; without even the implied warranty of
> -  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> -  GNU General Public License for more details.
> -
> -  You should have received a copy of the GNU General Public License
> -  along with this program; if not, write to the Free Software
> -  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
> -
> -  The GNU GPL is contained in /usr/doc/copyright/GPL on a Debian
> -  system and in the file COPYING in the Linux kernel source.
>  */
>
>  /*
> --- a/drivers/atm/horizon.h
> +++ b/drivers/atm/horizon.h
> @@ -1,23 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>    Madge Horizon ATM Adapter driver.
>    Copyright (C) 1995-1999  Madge Networks Ltd.
>
> -  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; either version 2 of the License, or
> -  (at your option) any later version.
> -
> -  This program is distributed in the hope that it will be useful,
> -  but WITHOUT ANY WARRANTY; without even the implied warranty of
> -  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> -  GNU General Public License for more details.
> -
> -  You should have received a copy of the GNU General Public License
> -  along with this program; if not, write to the Free Software
> -  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
> -
> -  The GNU GPL is contained in /usr/doc/copyright/GPL on a Debian
> -  system and in the file COPYING in the Linux kernel source.
>  */
>
>  /*
>
>
>
>

^ permalink raw reply	[flat|nested] 85+ messages in thread

* Re: [patch 13/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 38
  2019-05-20 17:08 ` [patch 13/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 38 Thomas Gleixner
  2019-05-20 22:39   ` Allison Randal
@ 2019-05-21  0:34   ` Kate Stewart
  1 sibling, 0 replies; 85+ messages in thre