Batch 17 of random GPL notices/references
Subsystems (103)
PATCH 43/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 494
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
copyright this file is distributed under the terms of the gnu general public license gpl copies of the gpl can be obtained from ftp prep ai mit edu pub gnu gpl each contributing author retains all rights to their own work
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 14 file(s).
--- fs/udf/balloc.c | 8 +------- fs/udf/dir.c | 7 +------ fs/udf/directory.c | 7 +------ fs/udf/file.c | 7 +------ fs/udf/ialloc.c | 8 +------- fs/udf/inode.c | 7 +------ fs/udf/lowlevel.c | 7 +------ fs/udf/misc.c | 7 +------ fs/udf/namei.c | 7 +------ fs/udf/partition.c | 8 +------- fs/udf/super.c | 7 +------ fs/udf/symlink.c | 8 +------- fs/udf/truncate.c | 8 +------- fs/udf/unicode.c | 7 +------ 14 files changed, 14 insertions(+), 89 deletions(-)
fs/udf/balloc.c +1 -7
@@ -1,22 +1,16 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * balloc.c * * PURPOSE * Block allocation handling routines for the OSTA-UDF(tm) filesystem. * -* COPYRIGHT -* This file is distributed under the terms of the GNU General Public -* License (GPL). Copies of the GPL can be obtained from: -* ftp://prep.ai.mit.edu/pub/gnu/GPL -* Each contributing author retains all rights to their own work. -* * (C) 1999-2001 Ben Fennema * (C) 1999 Stelias Computing Inc * * HISTORY * * 02/24/99 blf Created. -* */ #include "udfdecl.h"
fs/udf/dir.c +1 -6
@@ -1,15 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * dir.c * * PURPOSE * Directory handling routines for the OSTA-UDF(tm) filesystem. * -* COPYRIGHT -* This file is distributed under the terms of the GNU General Public -* License (GPL). Copies of the GPL can be obtained from: -* ftp://prep.ai.mit.edu/pub/gnu/GPL -* Each contributing author retains all rights to their own work. -* * (C) 1998-2004 Ben Fennema * * HISTORY
fs/udf/directory.c +1 -6
@@ -1,14 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * directory.c * * PURPOSE * Directory related functions -* -* COPYRIGHT -* This file is distributed under the terms of the GNU General Public -* License (GPL). Copies of the GPL can be obtained from: -* ftp://prep.ai.mit.edu/pub/gnu/GPL -* Each contributing author retains all rights to their own work. */ #include "udfdecl.h"
fs/udf/file.c +1 -6
@@ -1,15 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * file.c * * PURPOSE * File handling routines for the OSTA-UDF(tm) filesystem. * -* COPYRIGHT -* This file is distributed under the terms of the GNU General Public -* License (GPL). Copies of the GPL can be obtained from: -* ftp://prep.ai.mit.edu/pub/gnu/GPL -* Each contributing author retains all rights to their own work. -* * (C) 1998-1999 Dave Boynton * (C) 1998-2004 Ben Fennema * (C) 1999-2000 Stelias Computing Inc
fs/udf/ialloc.c +1 -7
@@ -1,21 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * ialloc.c * * PURPOSE * Inode allocation handling routines for the OSTA-UDF(tm) filesystem. * -* COPYRIGHT -* This file is distributed under the terms of the GNU General Public -* License (GPL). Copies of the GPL can be obtained from: -* ftp://prep.ai.mit.edu/pub/gnu/GPL -* Each contributing author retains all rights to their own work. -* * (C) 1998-2001 Ben Fennema * * HISTORY * * 02/24/99 blf Created. -* */ #include "udfdecl.h"
fs/udf/inode.c +1 -6
@@ -1,15 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * inode.c * * PURPOSE * Inode handling routines for the OSTA-UDF(tm) filesystem. * -* COPYRIGHT -* This file is distributed under the terms of the GNU General Public -* License (GPL). Copies of the GPL can be obtained from: -* ftp://prep.ai.mit.edu/pub/gnu/GPL -* Each contributing author retains all rights to their own work. -* * (C) 1998 Dave Boynton * (C) 1998-2004 Ben Fennema * (C) 1999-2000 Stelias Computing Inc
fs/udf/lowlevel.c +1 -6
@@ -1,15 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * lowlevel.c * * PURPOSE * Low Level Device Routines for the UDF filesystem * -* COPYRIGHT -* This file is distributed under the terms of the GNU General Public -* License (GPL). Copies of the GPL can be obtained from: -* ftp://prep.ai.mit.edu/pub/gnu/GPL -* Each contributing author retains all rights to their own work. -* * (C) 1999-2001 Ben Fennema * * HISTORY
fs/udf/misc.c +1 -6
@@ -1,15 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * misc.c * * PURPOSE * Miscellaneous routines for the OSTA-UDF(tm) filesystem. * -* COPYRIGHT -* This file is distributed under the terms of the GNU General Public -* License (GPL). Copies of the GPL can be obtained from: -* ftp://prep.ai.mit.edu/pub/gnu/GPL -* Each contributing author retains all rights to their own work. -* * (C) 1998 Dave Boynton * (C) 1998-2004 Ben Fennema * (C) 1999-2000 Stelias Computing Inc
fs/udf/namei.c +1 -6
@@ -1,15 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * namei.c * * PURPOSE * Inode name handling routines for the OSTA-UDF(tm) filesystem. * -* COPYRIGHT -* This file is distributed under the terms of the GNU General Public -* License (GPL). Copies of the GPL can be obtained from: -* ftp://prep.ai.mit.edu/pub/gnu/GPL -* Each contributing author retains all rights to their own work. -* * (C) 1998-2004 Ben Fennema * (C) 1999-2000 Stelias Computing Inc *
fs/udf/partition.c +1 -7
@@ -1,21 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * partition.c * * PURPOSE * Partition handling routines for the OSTA-UDF(tm) filesystem. * -* COPYRIGHT -* This file is distributed under the terms of the GNU General Public -* License (GPL). Copies of the GPL can be obtained from: -* ftp://prep.ai.mit.edu/pub/gnu/GPL -* Each contributing author retains all rights to their own work. -* * (C) 1998-2001 Ben Fennema * * HISTORY * * 12/06/98 blf Created file. -* */ #include "udfdecl.h"
fs/udf/super.c +1 -6
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * super.c *
@@ -14,12 +15,6 @@* http://www.ecma.ch/ * http://www.iso.org/ * -* COPYRIGHT -* This file is distributed under the terms of the GNU General Public -* License (GPL). Copies of the GPL can be obtained from: -* ftp://prep.ai.mit.edu/pub/gnu/GPL -* Each contributing author retains all rights to their own work. -* * (C) 1998 Dave Boynton * (C) 1998-2004 Ben Fennema * (C) 2000 Stelias Computing Inc
fs/udf/symlink.c +1 -7
@@ -1,22 +1,16 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * symlink.c * * PURPOSE * Symlink handling routines for the OSTA-UDF(tm) filesystem. * -* COPYRIGHT -* This file is distributed under the terms of the GNU General Public -* License (GPL). Copies of the GPL can be obtained from: -* ftp://prep.ai.mit.edu/pub/gnu/GPL -* Each contributing author retains all rights to their own work. -* * (C) 1998-2001 Ben Fennema * (C) 1999 Stelias Computing Inc * * HISTORY * * 04/16/99 blf Created. -* */ #include "udfdecl.h"
fs/udf/truncate.c +1 -7
@@ -1,22 +1,16 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * truncate.c * * PURPOSE * Truncate handling routines for the OSTA-UDF(tm) filesystem. * -* COPYRIGHT -* This file is distributed under the terms of the GNU General Public -* License (GPL). Copies of the GPL can be obtained from: -* ftp://prep.ai.mit.edu/pub/gnu/GPL -* Each contributing author retains all rights to their own work. -* * (C) 1999-2004 Ben Fennema * (C) 1999 Stelias Computing Inc * * HISTORY * * 02/24/99 blf Created. -* */ #include "udfdecl.h"
fs/udf/unicode.c +1 -6
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * unicode.c *
@@ -10,12 +11,6 @@* http://www.osta.org/ * UTF-8 is explained in the IETF RFC XXXX. * ftp://ftp.internic.net/rfc/rfcxxxx.txt -* -* COPYRIGHT -* This file is distributed under the terms of the GNU General Public -* License (GPL). Copies of the GPL can be obtained from: -* ftp://prep.ai.mit.edu/pub/gnu/GPL -* Each contributing author retains all rights to their own work. */ #include "udfdecl.h"
Re: [Batch 17 patch 43/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 494
Quoted 8 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
copyright this file is distributed under the terms of the gnu general public license gpl copies of the gpl can be obtained from ftp prep ai mit edu pub gnu gpl each contributing author retains all rights to their own work
That's definitely a bold claim to deduce v2 only. The ftp link does not exist and the wayback machine does not have it either.
Put on hold.
Thanks,
tglx
Re: [Batch 17 patch 43/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 494
Quoted 6 lines · Thomas Gleixner
Quoted 4 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
Quoted 7 lines
Quoted 4 lines
copyright this file is distributed under the terms of the gnu general public license gpl copies of the gpl can be obtained from ftp prep ai mit edu pub gnu gpl each contributing author retains all rights to their own work
That's definitely a bold claim to deduce v2 only. The ftp link does not exist and the wayback machine does not have it either.
How sad, older than git transition and no mail addresses given :(
Just found your history.git @kernel.org - does it contain the ancient history ? (cloning it seems to take a while ...)
--mtx
Signature · 3 lines
Enrico Weigelt, metux IT consult Free software and Linux embedded engineering [email protected] -- +49-151-27565287
Re: [Batch 17 patch 43/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 494
Quoted 12 lines · metux IT consult
Quoted 11 lines · Thomas Gleixner
Quoted 8 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
copyright this file is distributed under the terms of the gnu general public license gpl copies of the gpl can be obtained from ftp prep ai mit edu pub gnu gpl each contributing author retains all rights to their own work
Quoted 6 lines
Quoted 2 lines
That's definitely a bold claim to deduce v2 only. The ftp link does not exist and the wayback machine does not have it either.
How sad, older than git transition and no mail addresses given :(
Just found your history.git @kernel.org - does it contain the ancient history
Define ancient. It's a precise import of the bitkeeper repository and goes back to 2.5.x where the fine grained bitkeeper history starts. Everything before that is just available from the version to version delta patch imports. So some LKML archive detective work is due...
Thanks,
tglx
Re: [Batch 17 patch 43/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 494
Hi Thomas:
Quoted 10 lines · Thomas Gleixner
Quoted 7 lines · metux IT consult
Quoted 6 lines · Thomas Gleixner
Quoted 4 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
copyright this file is distributed under the terms of the gnu general public license gpl copies of the gpl can be obtained from ftp prep ai mit edu pub gnu gpl each contributing author retains all rights to their own work
That's definitely a bold claim to deduce v2 only. The ftp link does not exist and the wayback machine does not have it either.
We usually avoid making any bold claims in scancode license rules ;)
ftp://prep.ai.mit.edu/pub/gnu/GPL linked to a GPL-2.0 based on the wayback machine which is why that scancode-toolkit rule was tagged as a GPL-2.0.
You can see the notes I added back then in the license rule data file [1]:
notes: The GPL version is not specified in this notice BUT at
https://web-beta.archive.org/web/20020809115410/http://prep.ai.mit.edu:80/pub/gnu/GPL
text is a GPL 2.0 license text
Since then, the web-beta site when offline, and the correct URL should use FTP and not HTTP so you can check [2] which is exactly a GPL
I just pushed updated notes with the latest wayback URL [3]
[1] https://github.com/nexB/scancode-toolkit/blob/09d4b009d4377eb1fc6f8439fe564e0a2c28e641/src/licensedcode/data/rules/gpl-2.0_617.yml
[2] https://web.archive.org/web/20020809115410/ftp://prep.ai.mit.edu/pub/gnu/GPL
[3] https://github.com/nexB/scancode-toolkit/commit/4f5d5f3ddddafd9e7eba639f5718a976ca7fdefe
--
Cordially
Philippe Ombredanne
Re: [Batch 17 patch 43/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 494
Quoted 34 lines · Philippe Ombredanne
Hi Thomas:
Quoted 10 lines · Thomas Gleixner
Quoted 7 lines · metux IT consult
Quoted 6 lines · Thomas Gleixner
Quoted 4 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
copyright this file is distributed under the terms of the gnu general public license gpl copies of the gpl can be obtained from ftp prep ai mit edu pub gnu gpl each contributing author retains all rights to their own work
That's definitely a bold claim to deduce v2 only. The ftp link does not exist and the wayback machine does not have it either.
We usually avoid making any bold claims in scancode license rules ;)
ftp://prep.ai.mit.edu/pub/gnu/GPL linked to a GPL-2.0 based on the wayback machine which is why that scancode-toolkit rule was tagged as a GPL-2.0.
You can see the notes I added back then in the license rule data file [1]:
notes: The GPL version is not specified in this notice BUT at
https://web-beta.archive.org/web/20020809115410/http://prep.ai.mit.edu:80/pub/gnu/GPL
text is a GPL 2.0 license text
Quoted 8 lines
Since then, the web-beta site when offline, and the correct URL should use FTP and not HTTP so you can check [2] which is exactly a GPL
I just pushed updated notes with the latest wayback URL [3]
[1] https://github.com/nexB/scancode-toolkit/blob/09d4b009d4377eb1fc6f8439fe564e0a2c28e641/src/licensedcode/data/rules/gpl-2.0_617.yml
[2] https://web.archive.org/web/20020809115410/ftp://prep.ai.mit.edu/pub/gnu/GPL
[3] https://github.com/nexB/scancode-toolkit/commit/4f5d5f3ddddafd9e7eba639f5718a976ca7fdefe
This seems a bit similar to another case I commented on a while ago. Despite the fact that the URL pointed to GPLv2, I don't see the GPL-2.0-only conclusion as being justified (beyond the accepted understanding that you can distribute GPL-2.0-or-later code under GPL-2.0-only). The license notice does not express any view about GPL versions. It is not really interesting that it references a copy of the version of the GPL in wide use at the time.
In other words, it's like saying:
"This code is licensed under the GPL. You can find a copy of the GPL here <link to GPL version 2 text>". Nothing in that set of two sentences necessarily suggests an intention to limit the licensee to the specific version of the GPL that is referenced. It could be read
as: "This code is licensed under the GPL, a maintained license that has a past and likely future versions. You can find a copy of one version of the GPL, the version that happens to be most widely used today, here".
Richard
Greg KH
maintainerRe: [Batch 17 patch 43/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 494
Quoted 53 lines · Richard Fontana
Quoted 34 lines · Philippe Ombredanne
Hi Thomas:
Quoted 10 lines · Thomas Gleixner
Quoted 7 lines · metux IT consult
Quoted 6 lines · Thomas Gleixner
Quoted 4 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
copyright this file is distributed under the terms of the gnu general public license gpl copies of the gpl can be obtained from ftp prep ai mit edu pub gnu gpl each contributing author retains all rights to their own work
That's definitely a bold claim to deduce v2 only. The ftp link does not exist and the wayback machine does not have it either.
We usually avoid making any bold claims in scancode license rules ;)
ftp://prep.ai.mit.edu/pub/gnu/GPL linked to a GPL-2.0 based on the wayback machine which is why that scancode-toolkit rule was tagged as a GPL-2.0.
You can see the notes I added back then in the license rule data file [1]:
notes: The GPL version is not specified in this notice BUT at
https://web-beta.archive.org/web/20020809115410/http://prep.ai.mit.edu:80/pub/gnu/GPL
text is a GPL 2.0 license textQuoted 8 lines
Since then, the web-beta site when offline, and the correct URL should use FTP and not HTTP so you can check [2] which is exactly a GPL
I just pushed updated notes with the latest wayback URL [3]
[1] https://github.com/nexB/scancode-toolkit/blob/09d4b009d4377eb1fc6f8439fe564e0a2c28e641/src/licensedcode/data/rules/gpl-2.0_617.yml
[2] https://web.archive.org/web/20020809115410/ftp://prep.ai.mit.edu/pub/gnu/GPL
[3] https://github.com/nexB/scancode-toolkit/commit/4f5d5f3ddddafd9e7eba639f5718a976ca7fdefeThis seems a bit similar to another case I commented on a while ago. Despite the fact that the URL pointed to GPLv2, I don't see the GPL-2.0-only conclusion as being justified (beyond the accepted understanding that you can distribute GPL-2.0-or-later code under GPL-2.0-only). The license notice does not express any view about GPL versions. It is not really interesting that it references a copy of the version of the GPL in wide use at the time.
Quoted 9 lines
In other words, it's like saying:
"This code is licensed under the GPL. You can find a copy of the GPL here <link to GPL version 2 text>". Nothing in that set of two sentences necessarily suggests an intention to limit the licensee to the specific version of the GPL that is referenced. It could be read
as: "This code is licensed under the GPL, a maintained license that has a past and likely future versions. You can find a copy of one version of the GPL, the version that happens to be most widely used today, here".
If the URL pointed to a GPLv2, how can you say that "any version of the GPL applies"? At the point in time, it specifically said "this version", and "this version == GPLv2".
Also remember Linus, and other kernel developer's public statements (myself included) about the follies of people saying "any later version", and how the kernel itself is only released under v2 of the GPL.
So I really do not think that the fact that the link pointed to a v2 license, somehow saying that means that _any_ version of the license applies here at all.
thanks,
greg k-h
Re: [Batch 17 patch 43/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 494
Quoted 65 lines · Greg KH
Quoted 53 lines · Richard Fontana
Quoted 34 lines · Philippe Ombredanne
Hi Thomas:
Quoted 10 lines · Thomas Gleixner
Quoted 7 lines · metux IT consult
Quoted 6 lines · Thomas Gleixner
Quoted 4 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
copyright this file is distributed under the terms of the gnu general public license gpl copies of the gpl can be obtained from ftp prep ai mit edu pub gnu gpl each contributing author retains all rights to their own work
That's definitely a bold claim to deduce v2 only. The ftp link does not exist and the wayback machine does not have it either.
We usually avoid making any bold claims in scancode license rules ;)
ftp://prep.ai.mit.edu/pub/gnu/GPL linked to a GPL-2.0 based on the wayback machine which is why that scancode-toolkit rule was tagged as a GPL-2.0.
You can see the notes I added back then in the license rule data file [1]:
notes: The GPL version is not specified in this notice BUT at
https://web-beta.archive.org/web/20020809115410/http://prep.ai.mit.edu:80/pub/gnu/GPL
text is a GPL 2.0 license textQuoted 8 lines
Since then, the web-beta site when offline, and the correct URL should use FTP and not HTTP so you can check [2] which is exactly a GPL
I just pushed updated notes with the latest wayback URL [3]
[1] https://github.com/nexB/scancode-toolkit/blob/09d4b009d4377eb1fc6f8439fe564e0a2c28e641/src/licensedcode/data/rules/gpl-2.0_617.yml
[2] https://web.archive.org/web/20020809115410/ftp://prep.ai.mit.edu/pub/gnu/GPL
[3] https://github.com/nexB/scancode-toolkit/commit/4f5d5f3ddddafd9e7eba639f5718a976ca7fdefeThis seems a bit similar to another case I commented on a while ago. Despite the fact that the URL pointed to GPLv2, I don't see the GPL-2.0-only conclusion as being justified (beyond the accepted understanding that you can distribute GPL-2.0-or-later code under GPL-2.0-only). The license notice does not express any view about GPL versions. It is not really interesting that it references a copy of the version of the GPL in wide use at the time.
Quoted 9 lines
In other words, it's like saying:
"This code is licensed under the GPL. You can find a copy of the GPL here <link to GPL version 2 text>". Nothing in that set of two sentences necessarily suggests an intention to limit the licensee to the specific version of the GPL that is referenced. It could be read
as: "This code is licensed under the GPL, a maintained license that has a past and likely future versions. You can find a copy of one version of the GPL, the version that happens to be most widely used today, here".
Quoted 3 lines
If the URL pointed to a GPLv2, how can you say that "any version of the GPL applies"? At the point in time, it specifically said "this version", and "this version == GPLv2".
The notice in this case doesn't explicitly refer to a version apart from pointing to a copy of GPLv2, which obviously embodies one version.
If the notice had said:
"copyright this file is distributed under the terms of the version of the gnu general public license gpl obtained from ftp prep ai mit edu pub gnu gpl", for example, there'd be no question it would only be appropriate to treat it as GPL-2.0-only.
Quoted 4 lines
Also remember Linus, and other kernel developer's public statements (myself included) about the follies of people saying "any later version", and how the kernel itself is only released under v2 of the GPL.
Sure, but that's a different justification for treating it as GPL-2.0-only, certainly reasonable but I don't know how much weight to give that given all the explicit "or later" notices in the kernel we've seen. Of course the kernel developers ought to be free to treat arguably-GPL-2.0-or-later code as GPL-2.0-only anyway.
Quoted 3 lines
So I really do not think that the fact that the link pointed to a v2 license, somehow saying that means that _any_ version of the license applies here at all.
It's not that the link points to a v2 license but rather (for me) it's the absence of anything even hinting at a desire to limit versions to v2 in the license notice, beyond the mere fact that the version of the GPL referenced is GPLv2.
Richard
Re: [Batch 17 patch 43/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 494
On 10.06.19 18:49, Richard Fontana wrote:
<snip>
Befeore spending more time w/ guessing, why not just ask the authors ?
--mtx
Signature · 3 lines
Enrico Weigelt, metux IT consult Free software and Linux embedded engineering [email protected] -- +49-151-27565287
Re: [Batch 17 patch 43/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 494
Enrico,
Quoted 6 lines · metux IT consult
On 10.06.19 18:49, Richard Fontana wrote:
<snip>
Befeore spending more time w/ guessing, why not just ask the authors ?
First of all this is not about guessing. We are analysing the existing notice/reference and build up reasonable argumentation for coming to a conclusion.
Secondly, as I told you in a previous reply in this very same thread, the authorship is unclear as the code and the notice goes back to 2.3.17, i.e. Sept. 1999. I've already did the detective work to figure out who the original author is and where he's reachable. I just did not come around to contact him because I took the liberty to take a few days off.
Thanks,
tglx
Greg KH
maintainerRe: [Batch 17 patch 43/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 494
In reply to Richard FontanaQuoted 66 lines · Richard Fontana
Quoted 65 lines · Greg KH
Quoted 62 lines · Richard Fontana
Quoted 34 lines · Philippe Ombredanne
Hi Thomas:
Quoted 10 lines · Thomas Gleixner
Quoted 7 lines · metux IT consult
Quoted 6 lines · Thomas Gleixner
Quoted 4 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
copyright this file is distributed under the terms of the gnu general public license gpl copies of the gpl can be obtained from ftp prep ai mit edu pub gnu gpl each contributing author retains all rights to their own work
That's definitely a bold claim to deduce v2 only. The ftp link does not exist and the wayback machine does not have it either.
We usually avoid making any bold claims in scancode license rules ;)
ftp://prep.ai.mit.edu/pub/gnu/GPL linked to a GPL-2.0 based on the wayback machine which is why that scancode-toolkit rule was tagged as a GPL-2.0.
You can see the notes I added back then in the license rule data file [1]:
notes: The GPL version is not specified in this notice BUT at
https://web-beta.archive.org/web/20020809115410/http://prep.ai.mit.edu:80/pub/gnu/GPL
text is a GPL 2.0 license textQuoted 8 lines
Since then, the web-beta site when offline, and the correct URL should use FTP and not HTTP so you can check [2] which is exactly a GPL
I just pushed updated notes with the latest wayback URL [3]
[1] https://github.com/nexB/scancode-toolkit/blob/09d4b009d4377eb1fc6f8439fe564e0a2c28e641/src/licensedcode/data/rules/gpl-2.0_617.yml
[2] https://web.archive.org/web/20020809115410/ftp://prep.ai.mit.edu/pub/gnu/GPL
[3] https://github.com/nexB/scancode-toolkit/commit/4f5d5f3ddddafd9e7eba639f5718a976ca7fdefeThis seems a bit similar to another case I commented on a while ago. Despite the fact that the URL pointed to GPLv2, I don't see the GPL-2.0-only conclusion as being justified (beyond the accepted understanding that you can distribute GPL-2.0-or-later code under GPL-2.0-only). The license notice does not express any view about GPL versions. It is not really interesting that it references a copy of the version of the GPL in wide use at the time.
In other words, it's like saying:
"This code is licensed under the GPL. You can find a copy of the GPL here <link to GPL version 2 text>". Nothing in that set of two sentences necessarily suggests an intention to limit the licensee to the specific version of the GPL that is referenced. It could be read
as: "This code is licensed under the GPL, a maintained license that has a past and likely future versions. You can find a copy of one version of the GPL, the version that happens to be most widely used today, here".
Quoted 7 lines
Quoted 3 lines
If the URL pointed to a GPLv2, how can you say that "any version of the GPL applies"? At the point in time, it specifically said "this version", and "this version == GPLv2".
The notice in this case doesn't explicitly refer to a version apart from pointing to a copy of GPLv2, which obviously embodies one version.
Exactly. As you say, it "obviously embodies one version". How can anyone make the leap to say that the reference meant anything else?
Quoted 5 lines
If the notice had said:
"copyright this file is distributed under the terms of the version of the gnu general public license gpl obtained from ftp prep ai mit edu pub gnu gpl", for example, there'd be no question it would only be appropriate to treat it as GPL-2.0-only.
Huh? The FSF moved links around over time, so that if you pointed at the "latest" version of the gpl at one point in time, it would change later on, right?
But that is not what happened here, the text explicitly says "the license right here" is what to use. That file did not ever change it's text, it just moved locations, so the content there is not different.
Quoted 10 lines
Quoted 4 lines
Also remember Linus, and other kernel developer's public statements (myself included) about the follies of people saying "any later version", and how the kernel itself is only released under v2 of the GPL.
Sure, but that's a different justification for treating it as GPL-2.0-only, certainly reasonable but I don't know how much weight to give that given all the explicit "or later" notices in the kernel we've seen. Of course the kernel developers ought to be free to treat arguably-GPL-2.0-or-later code as GPL-2.0-only anyway.
Explicit "or later" notices should be treated just like that, "explicit or later notices" :)
But to say that somehow the fact that if I wrote:
The license of this file is to be found in LICENSES in the root of this project.
and that file was "GPLv2", I would strongly say that the license of that file is "GPLv2-only". To say "or later" is crazy, why not just say it also means "dual BSD"? :)
Quoted 8 lines
Quoted 3 lines
So I really do not think that the fact that the link pointed to a v2 license, somehow saying that means that _any_ version of the license applies here at all.
It's not that the link points to a v2 license but rather (for me) it's the absence of anything even hinting at a desire to limit versions to v2 in the license notice, beyond the mere fact that the version of the GPL referenced is GPLv2.
None of us thought you had to explicitly "limit" license changes to be "or later" if you did not actually say "or later". To not have that text in the file, means "this and only this", right?
thanks,
greg k-h
PATCH 44/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 495
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this program is free software you can redistribute it and or modify it under the terms of the version 2 of the gnu general public license as published by the free software foundation 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
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 10 file(s).
--- drivers/net/can/cc770/cc770.c | 10 +--------- drivers/net/can/cc770/cc770.h | 10 +--------- drivers/net/can/cc770/cc770_isa.c | 10 +--------- drivers/net/can/cc770/cc770_platform.c | 10 +--------- drivers/net/can/peak_canfd/peak_canfd.c | 10 +--------- drivers/net/can/peak_canfd/peak_pciefd_main.c | 10 +--------- drivers/net/can/sja1000/ems_pcmcia.c | 10 +--------- drivers/net/can/sja1000/peak_pci.c | 10 +--------- drivers/net/can/sja1000/peak_pcmcia.c | 10 +--------- include/linux/can/rx-offload.h | 10 +--------- 10 files changed, 10 insertions(+), 90 deletions(-)
drivers/net/can/cc770/cc770.c +1 -9
@@ -1,16 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Core driver for the CC770 and AN82527 CAN controllers * * Copyright (C) 2009, 2011 Wolfgang Grandegger <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the version 2 of the GNU General Public License -* as published by the Free Software Foundation -* -* 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. */ #define pr_fmt (fmt) KBUILD_MODNAME ": " fmt
drivers/net/can/cc770/cc770.h +1 -9
@@ -1,16 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Core driver for the CC770 and AN82527 CAN controllers * * Copyright (C) 2009, 2011 Wolfgang Grandegger <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the version 2 of the GNU General Public License -* as published by the Free Software Foundation -* -* 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. */ #ifndef CC770_DEV_H
drivers/net/can/cc770/cc770_isa.c +1 -9
@@ -1,16 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Driver for CC770 and AN82527 CAN controllers on the legacy ISA bus * * Copyright (C) 2009, 2011 Wolfgang Grandegger <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the version 2 of the GNU General Public License -* as published by the Free Software Foundation -* -* 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. */ /*
drivers/net/can/cc770/cc770_platform.c +1 -9
@@ -1,16 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Driver for CC770 and AN82527 CAN controllers on the platform bus * * Copyright (C) 2009, 2011 Wolfgang Grandegger <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the version 2 of the GNU General Public License -* as published by the Free Software Foundation -* -* 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. */ /*
drivers/net/can/peak_canfd/peak_canfd.c +1 -9
@@ -1,17 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2007, 2011 Wolfgang Grandegger <[email protected]> * Copyright (C) 2012 Stephane Grosjean <[email protected]> * * Copyright (C) 2016 PEAK System-Technik GmbH -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the version 2 of the GNU General Public License -* as published by the Free Software Foundation -* -* 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. */ #include <linux/can.h>
drivers/net/can/peak_canfd/peak_pciefd_main.c +1 -9
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2007, 2011 Wolfgang Grandegger <[email protected]> * Copyright (C) 2012 Stephane Grosjean <[email protected]>
@@ -5,15 +6,6 @@* Derived from the PCAN project file driver/src/pcan_pci.c: * * Copyright (C) 2001-2006 PEAK System-Technik GmbH -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the version 2 of the GNU General Public License -* as published by the Free Software Foundation -* -* 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. */ #include <linux/kernel.h>
drivers/net/can/sja1000/ems_pcmcia.c +1 -9
@@ -1,16 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2008 Sebastian Haas (initial chardev implementation) * Copyright (C) 2010 Markus Plessing <[email protected]> * Rework for mainline by Oliver Hartkopp <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the version 2 of the GNU General Public License -* as published by the Free Software Foundation -* -* 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. */ #include <linux/kernel.h>
drivers/net/can/sja1000/peak_pci.c +1 -9
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2007, 2011 Wolfgang Grandegger <[email protected]> * Copyright (C) 2012 Stephane Grosjean <[email protected]>
@@ -5,15 +6,6 @@* Derived from the PCAN project file driver/src/pcan_pci.c: * * Copyright (C) 2001-2006 PEAK System-Technik GmbH -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the version 2 of the GNU General Public License -* as published by the Free Software Foundation -* -* 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. */ #include <linux/kernel.h>
drivers/net/can/sja1000/peak_pcmcia.c +1 -9
@@ -1,18 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2010-2012 Stephane Grosjean <[email protected]> * * CAN driver for PEAK-System PCAN-PC Card * Derived from the PCAN project file driver/src/pcan_pccard.c * Copyright (C) 2006-2010 PEAK System-Technik GmbH -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the version 2 of the GNU General Public License -* as published by the Free Software Foundation -* -* 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. */ #include <linux/kernel.h> #include <linux/module.h>
include/linux/can/rx-offload.h +1 -9
@@ -1,17 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/can/rx-offload.h * * Copyright (c) 2014 David Jander, Protonic Holland * Copyright (c) 2014-2017 Pengutronix, Marc Kleine-Budde <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the version 2 of the GNU General Public License -* as published by the Free Software Foundation -* -* 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. */ #ifndef _CAN_RX_OFFLOAD_H
Re: [Batch 17 patch 44/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 495
Quoted 237 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this program is free software you can redistribute it and or modify it under the terms of the version 2 of the gnu general public license as published by the free software foundation 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
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-onlyhas been chosen to replace the boilerplate/reference in 10 file(s).
Signed-off-by Thomas Gleixner <[email protected]>--- drivers/net/can/cc770/cc770.c | 10 +--------- drivers/net/can/cc770/cc770.h | 10 +--------- drivers/net/can/cc770/cc770_isa.c | 10 +--------- drivers/net/can/cc770/cc770_platform.c | 10 +--------- drivers/net/can/peak_canfd/peak_canfd.c | 10 +--------- drivers/net/can/peak_canfd/peak_pciefd_main.c | 10 +--------- drivers/net/can/sja1000/ems_pcmcia.c | 10 +--------- drivers/net/can/sja1000/peak_pci.c | 10 +--------- drivers/net/can/sja1000/peak_pcmcia.c | 10 +--------- include/linux/can/rx-offload.h | 10 +--------- 10 files changed, 10 insertions(+), 90 deletions(-)drivers/net/can/cc770/cc770.c +1
-9@@ -1,16 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Core driver for the CC770 and AN82527 CAN controllers * * Copyright (C) 2009, 2011 Wolfgang Grandegger <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the version 2 of the GNU General Public License -* as published by the Free Software Foundation -* -* 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. */ #define pr_fmt (fmt) KBUILD_MODNAME ": " fmtdrivers/net/can/cc770/cc770.h +1
-9@@ -1,16 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Core driver for the CC770 and AN82527 CAN controllers * * Copyright (C) 2009, 2011 Wolfgang Grandegger <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the version 2 of the GNU General Public License -* as published by the Free Software Foundation -* -* 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. */ #ifndef CC770_DEV_H drivers/net/can/cc770/cc770_isa.c +1
-9@@ -1,16 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Driver for CC770 and AN82527 CAN controllers on the legacy ISA bus * * Copyright (C) 2009, 2011 Wolfgang Grandegger <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the version 2 of the GNU General Public License -* as published by the Free Software Foundation -* -* 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. */ /* drivers/net/can/cc770/cc770_platform.c +1
-9@@ -1,16 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Driver for CC770 and AN82527 CAN controllers on the platform bus * * Copyright (C) 2009, 2011 Wolfgang Grandegger <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the version 2 of the GNU General Public License -* as published by the Free Software Foundation -* -* 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. */ /* drivers/net/can/peak_canfd/peak_canfd.c +1
-9@@ -1,17 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2007, 2011 Wolfgang Grandegger <[email protected]> * Copyright (C) 2012 Stephane Grosjean <[email protected]> * * Copyright (C) 2016 PEAK System-Technik GmbH -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the version 2 of the GNU General Public License -* as published by the Free Software Foundation -* -* 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. */ #include <linux/can.h> drivers/net/can/peak_canfd/peak_pciefd_main.c +1
-9@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2007, 2011 Wolfgang Grandegger <[email protected]> * Copyright (C) 2012 Stephane Grosjean <[email protected]> @@ -5,15 +6,6 @@* Derived from the PCAN project file driver/src/pcan_pci.c: * * Copyright (C) 2001-2006 PEAK System-Technik GmbH -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the version 2 of the GNU General Public License -* as published by the Free Software Foundation -* -* 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. */ #include <linux/kernel.h> drivers/net/can/sja1000/ems_pcmcia.c +1
-9@@ -1,16 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2008 Sebastian Haas (initial chardev implementation) * Copyright (C) 2010 Markus Plessing <[email protected]> * Rework for mainline by Oliver Hartkopp <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the version 2 of the GNU General Public License -* as published by the Free Software Foundation -* -* 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. */ #include <linux/kernel.h> drivers/net/can/sja1000/peak_pci.c +1
-9@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2007, 2011 Wolfgang Grandegger <[email protected]> * Copyright (C) 2012 Stephane Grosjean <[email protected]> @@ -5,15 +6,6 @@* Derived from the PCAN project file driver/src/pcan_pci.c: * * Copyright (C) 2001-2006 PEAK System-Technik GmbH -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the version 2 of the GNU General Public License -* as published by the Free Software Foundation -* -* 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. */ #include <linux/kernel.h> drivers/net/can/sja1000/peak_pcmcia.c +1
-9@@ -1,18 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2010-2012 Stephane Grosjean <[email protected]> * * CAN driver for PEAK-System PCAN-PC Card * Derived from the PCAN project file driver/src/pcan_pccard.c * Copyright (C) 2006-2010 PEAK System-Technik GmbH -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the version 2 of the GNU General Public License -* as published by the Free Software Foundation -* -* 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. */ #include <linux/kernel.h> #include <linux/module.h> include/linux/can/rx-offload.h +1
-2@@ -1,17 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/can/rx-offload.h * * Copyright (c) 2014 David Jander, Protonic Holland * Copyright (c) 2014-2017 Pengutronix, Marc Kleine-Budde <[email protected]> -* -* This program is free software; you can redistribute it and/or modify
include/linux/can/rx-offload.h line 9
Quoted 10 lines
include/linux/can/rx-offload.h +0
-7-* it under the terms of the version 2 of the GNU General Public License -* as published by the Free Software Foundation -* -* 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. */ #ifndef _CAN_RX_OFFLOAD_H
Signature · 3 lines
Enrico Weigelt, metux IT consult Free software and Linux embedded engineering [email protected] -- +49-151-27565287
Re: [Batch 17 patch 44/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 495
In reply to Thomas GleixnerQuoted 12 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this program is free software you can redistribute it and or modify it under the terms of the version 2 of the gnu general public license as published by the free software foundation 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
Quoted 7 lines
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 10 file(s).
Signed-off-by Thomas Gleixner <[email protected]>
PATCH 45/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 496
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
licensed under gpl v2
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 1 file(s).
--- sound/soc/codecs/ics43432.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
sound/soc/codecs/ics43432.c +1 -2
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * I2S MEMS microphone driver for InvenSense ICS-43432 *
@@ -5,8 +6,6 @@* - I2S interface, 64 BCLs per frame, 32 bits per channel, 24 bit data * * Copyright (c) 2015 Axis Communications AB -* -* Licensed under GPL v2. */ #include <linux/module.h>
Re: [Batch 17 patch 45/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 496
Quoted 6 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
licensed under gpl v2
Quoted 7 lines
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 1 file(s).
Signed-off-by Thomas Gleixner <[email protected]>
Signature · 2 lines
Armijn Hemel, MSc Tjaldur Software Governance Solutions
Re: [Batch 17 patch 45/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 496
In reply to Thomas GleixnerQuoted 30 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
licensed under gpl v2
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-onlyhas been chosen to replace the boilerplate/reference in 1 file(s).
Signed-off-by Thomas Gleixner <[email protected]>--- sound/soc/codecs/ics43432.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)sound/soc/codecs/ics43432.c +1
-0@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * I2S MEMS microphone driver for InvenSense ICS-43432 *
sound/soc/codecs/ics43432.c line 11
Quoted 8 lines
sound/soc/codecs/ics43432.c +0
-2@@ -5,8 +6,6 @@* - I2S interface, 64 BCLs per frame, 32 bits per channel, 24 bit data * * Copyright (c) 2015 Axis Communications AB -* -* Licensed under GPL v2. */ #include <linux/module.h>
Signature · 3 lines
Enrico Weigelt, metux IT consult Free software and Linux embedded engineering [email protected] -- +49-151-27565287
Re: [Batch 17 patch 45/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 496
In reply to Thomas GleixnerQuoted 6 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
licensed under gpl v2
Quoted 7 lines
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 1 file(s).
Signed-off-by Thomas Gleixner <[email protected]>
PATCH 46/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 497
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this file is part of the linux kernel and is made available under the terms of the gnu general public license version 2
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 28 file(s).
--- arch/x86/boot/a20.c | 4 +--- arch/x86/boot/apm.c | 4 +--- arch/x86/boot/bitops.h | 4 +--- arch/x86/boot/boot.h | 4 +--- arch/x86/boot/cmdline.c | 4 +--- arch/x86/boot/compressed/eboot.c | 4 +--- arch/x86/boot/copy.S | 4 +--- arch/x86/boot/cpu.c | 4 +--- arch/x86/boot/cpucheck.c | 4 +--- arch/x86/boot/edd.c | 4 +--- arch/x86/boot/main.c | 4 +--- arch/x86/boot/memory.c | 4 +--- arch/x86/boot/pm.c | 4 +--- arch/x86/boot/pmjump.S | 4 +--- arch/x86/boot/printf.c | 4 +--- arch/x86/boot/string.c | 4 +--- arch/x86/boot/tty.c | 4 +--- arch/x86/boot/version.c | 4 +--- arch/x86/boot/video-bios.c | 4 +--- arch/x86/boot/video-mode.c | 4 +--- arch/x86/boot/video-vesa.c | 4 +--- arch/x86/boot/video-vga.c | 4 +--- arch/x86/boot/video.c | 4 +--- arch/x86/boot/video.h | 4 +--- arch/x86/lib/cmdline.c | 3 +-- drivers/block/skd_main.c | 4 +--- drivers/block/skd_s1120.h | 4 +--- drivers/firmware/efi/libstub/arm-stub.c | 5 +---- 28 files changed, 28 insertions(+), 84 deletions(-)
arch/x86/boot/a20.c +1 -3
@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007-2008 rPath, Inc. - All Rights Reserved * Copyright 2009 Intel Corporation; author H. Peter Anvin * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/apm.c +1 -3
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds
@@ -7,9 +8,6 @@* Original APM BIOS checking by Stephen Rothwell, May 1994 * ([email protected]) * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/bitops.h +1 -3
@@ -1,11 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/boot.h +1 -3
@@ -1,12 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * Copyright 2009 Intel Corporation; author H. Peter Anvin * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/cmdline.c +1 -3
@@ -1,11 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/compressed/eboot.c +1 -3
@@ -1,11 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* ----------------------------------------------------------------------- * * Copyright 2011 Intel Corporation; author Matt Fleming * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ #include <linux/efi.h>
arch/x86/boot/copy.S +1 -3
@@ -1,11 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* ----------------------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * - * This file is part of the Linux kernel, and is made available under - * the terms of the GNU General Public License version 2. - * * ----------------------------------------------------------------------- */ #include <linux/linkage.h>
arch/x86/boot/cpu.c +1 -3
@@ -1,11 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007-2008 rPath, Inc. - All Rights Reserved * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/cpucheck.c +1 -3
@@ -1,11 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/edd.c +1 -3
@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * Copyright 2009 Intel Corporation; author H. Peter Anvin * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/main.c +1 -3
@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * Copyright 2009 Intel Corporation; author H. Peter Anvin * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/memory.c +1 -3
@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * Copyright 2009 Intel Corporation; author H. Peter Anvin * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/pm.c +1 -3
@@ -1,11 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/pmjump.S +1 -3
@@ -1,11 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* ----------------------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * - * This file is part of the Linux kernel, and is made available under - * the terms of the GNU General Public License version 2. - * * ----------------------------------------------------------------------- */ /*
arch/x86/boot/printf.c +1 -3
@@ -1,11 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/string.c +1 -3
@@ -1,11 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/tty.c +1 -3
@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * Copyright 2009 Intel Corporation; author H. Peter Anvin * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/version.c +1 -3
@@ -1,11 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/video-bios.c +1 -3
@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * Copyright 2009 Intel Corporation; author H. Peter Anvin * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/video-mode.c +1 -3
@@ -1,11 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007-2008 rPath, Inc. - All Rights Reserved * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/video-vesa.c +1 -3
@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * Copyright 2009 Intel Corporation; author H. Peter Anvin * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/video-vga.c +1 -3
@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * Copyright 2009 Intel Corporation; author H. Peter Anvin * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/video.c +1 -3
@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * Copyright 2009 Intel Corporation; author H. Peter Anvin * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/video.h +1 -3
@@ -1,11 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/lib/cmdline.c +1 -2
@@ -1,6 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. * * Misc librarized functions for cmdline poking. */
drivers/block/skd_main.c +1 -3
@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Driver for sTec s1120 PCIe SSDs. sTec was acquired in 2013 by HGST and HGST * was acquired by Western Digital in 2012. * * Copyright 2012 sTec, Inc. * Copyright (c) 2017 Western Digital Corporation or its affiliates. -* -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. */ #include <linux/kernel.h>
drivers/block/skd_s1120.h +1 -3
@@ -1,9 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2012 STEC, Inc. * Copyright (c) 2017 Western Digital Corporation or its affiliates. -* -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. */
drivers/firmware/efi/libstub/arm-stub.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * EFI stub implementation that is shared by arm and arm64 architectures. * This should be #included by the EFI stub implementation files.
@@ -6,10 +7,6 @@* Roy Franz <[email protected] * Copyright (C) 2013 Red Hat, Inc. * Mark Salter <[email protected]> -* -* This file is part of the Linux kernel, and is made available under the -* terms of the GNU General Public License version 2. -* */ #include <linux/efi.h>
Re: [Batch 17 patch 46/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 497
Quoted 469 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this file is part of the linux kernel and is made available under the terms of the gnu general public license version 2
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-onlyhas been chosen to replace the boilerplate/reference in 28 file(s).
Signed-off-by Thomas Gleixner <[email protected]>--- arch/x86/boot/a20.c | 4 +--- arch/x86/boot/apm.c | 4 +--- arch/x86/boot/bitops.h | 4 +--- arch/x86/boot/boot.h | 4 +--- arch/x86/boot/cmdline.c | 4 +--- arch/x86/boot/compressed/eboot.c | 4 +--- arch/x86/boot/copy.S | 4 +--- arch/x86/boot/cpu.c | 4 +--- arch/x86/boot/cpucheck.c | 4 +--- arch/x86/boot/edd.c | 4 +--- arch/x86/boot/main.c | 4 +--- arch/x86/boot/memory.c | 4 +--- arch/x86/boot/pm.c | 4 +--- arch/x86/boot/pmjump.S | 4 +--- arch/x86/boot/printf.c | 4 +--- arch/x86/boot/string.c | 4 +--- arch/x86/boot/tty.c | 4 +--- arch/x86/boot/version.c | 4 +--- arch/x86/boot/video-bios.c | 4 +--- arch/x86/boot/video-mode.c | 4 +--- arch/x86/boot/video-vesa.c | 4 +--- arch/x86/boot/video-vga.c | 4 +--- arch/x86/boot/video.c | 4 +--- arch/x86/boot/video.h | 4 +--- arch/x86/lib/cmdline.c | 3 +-- drivers/block/skd_main.c | 4 +--- drivers/block/skd_s1120.h | 4 +--- drivers/firmware/efi/libstub/arm-stub.c | 5 +---- 28 files changed, 28 insertions(+), 84 deletions(-)arch/x86/boot/a20.c +1
-3@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007-2008 rPath, Inc. - All Rights Reserved * Copyright 2009 Intel Corporation; author H. Peter Anvin * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /* arch/x86/boot/apm.c +1
-3@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds @@ -7,9 +8,6 @@* Original APM BIOS checking by Stephen Rothwell, May 1994 * ([email protected]) * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /* arch/x86/boot/bitops.h +1
-3@@ -1,11 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /* arch/x86/boot/boot.h +1
-3@@ -1,12 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * Copyright 2009 Intel Corporation; author H. Peter Anvin * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /* arch/x86/boot/cmdline.c +1
-3@@ -1,11 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /* arch/x86/boot/compressed/eboot.c +1
-3@@ -1,11 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* ----------------------------------------------------------------------- * * Copyright 2011 Intel Corporation; author Matt Fleming * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ #include <linux/efi.h> arch/x86/boot/copy.S +1
-3@@ -1,11 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* ----------------------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * - * This file is part of the Linux kernel, and is made available under - * the terms of the GNU General Public License version 2. - * * ----------------------------------------------------------------------- */ #include <linux/linkage.h>arch/x86/boot/cpu.c +1
-3@@ -1,11 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007-2008 rPath, Inc. - All Rights Reserved * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /* arch/x86/boot/cpucheck.c +1
-3@@ -1,11 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /* arch/x86/boot/edd.c +1
-3@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * Copyright 2009 Intel Corporation; author H. Peter Anvin * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /* arch/x86/boot/main.c +1
-3@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * Copyright 2009 Intel Corporation; author H. Peter Anvin * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /* arch/x86/boot/memory.c +1
-3@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * Copyright 2009 Intel Corporation; author H. Peter Anvin * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /* arch/x86/boot/pm.c +1
-3@@ -1,11 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /* arch/x86/boot/pmjump.S +1
-3@@ -1,11 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* ----------------------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * - * This file is part of the Linux kernel, and is made available under - * the terms of the GNU General Public License version 2. - * * ----------------------------------------------------------------------- */ /*arch/x86/boot/printf.c +1
-3@@ -1,11 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /* arch/x86/boot/string.c +1
-3@@ -1,11 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /* arch/x86/boot/tty.c +1
-3@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * Copyright 2009 Intel Corporation; author H. Peter Anvin * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /* arch/x86/boot/version.c +1
-3@@ -1,11 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /* arch/x86/boot/video-bios.c +1
-3@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * Copyright 2009 Intel Corporation; author H. Peter Anvin * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /* arch/x86/boot/video-mode.c +1
-3@@ -1,11 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007-2008 rPath, Inc. - All Rights Reserved * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /* arch/x86/boot/video-vesa.c +1
-3@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * Copyright 2009 Intel Corporation; author H. Peter Anvin * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /* arch/x86/boot/video-vga.c +1
-3@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * Copyright 2009 Intel Corporation; author H. Peter Anvin * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /* arch/x86/boot/video.c +1
-3@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * Copyright 2009 Intel Corporation; author H. Peter Anvin * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /* arch/x86/boot/video.h +1
-3@@ -1,11 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /* arch/x86/lib/cmdline.c +1
-2@@ -1,6 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. * * Misc librarized functions for cmdline poking. */ drivers/block/skd_main.c +1
-3@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Driver for sTec s1120 PCIe SSDs. sTec was acquired in 2013 by HGST and HGST * was acquired by Western Digital in 2012. * * Copyright 2012 sTec, Inc. * Copyright (c) 2017 Western Digital Corporation or its affiliates. -* -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. */ #include <linux/kernel.h> drivers/block/skd_s1120.h +1
-3@@ -1,9 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2012 STEC, Inc. * Copyright (c) 2017 Western Digital Corporation or its affiliates. -* -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. */ drivers/firmware/efi/libstub/arm-stub.c +1
-0@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * EFI stub implementation that is shared by arm and arm64 architectures. * This should be #included by the EFI stub implementation files.
drivers/firmware/efi/libstub/arm-stub.c line 12
Quoted 10 lines
drivers/firmware/efi/libstub/arm-stub.c +0
-4@@ -6,10 +7,6 @@* Roy Franz <[email protected] * Copyright (C) 2013 Red Hat, Inc. * Mark Salter <[email protected]> -* -* This file is part of the Linux kernel, and is made available under the -* terms of the GNU General Public License version 2. -* */ #include <linux/efi.h>
Signature · 3 lines
Enrico Weigelt, metux IT consult Free software and Linux embedded engineering [email protected] -- +49-151-27565287
Re: [Batch 17 patch 46/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 497
In reply to Thomas GleixnerQuoted 7 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this file is part of the linux kernel and is made available under the terms of the gnu general public license version 2
Quoted 7 lines
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 28 file(s).
Signed-off-by Thomas Gleixner <[email protected]>
Re: [Batch 17 patch 46/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 497
In reply to Thomas GleixnerQuoted 10 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this file is part of the linux kernel and is made available under the terms of the gnu general public license version 2
extracted by the scancode license scanner the SPDX license identifier
Quoted 8 lines
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 28 file(s).
Signed-off-by Thomas Gleixner <[email protected]>
PATCH 47/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 498
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
gplv2 only
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 4 file(s).
--- include/dt-bindings/dma/at91.h | 3 +-- include/dt-bindings/i2c/i2c.h | 3 +-- include/dt-bindings/pinctrl/at91.h | 3 +-- include/dt-bindings/thermal/thermal.h | 3 +-- 4 files changed, 4 insertions(+), 8 deletions(-)
include/dt-bindings/dma/at91.h +1 -2
@@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * This header provides macros for at91 dma bindings. * * Copyright (C) 2013 Ludovic Desroches <[email protected]> -* -* GPLv2 only */ #ifndef __DT_BINDINGS_AT91_DMA_H__
include/dt-bindings/i2c/i2c.h +1 -2
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * This header provides constants for I2C bindings *
@@ -5,8 +6,6 @@* Copyright (C) 2015 by Renesas Electronics Corporation * * Wolfram Sang <[email protected]> -* -* GPLv2 only */ #ifndef _DT_BINDINGS_I2C_I2C_H
include/dt-bindings/pinctrl/at91.h +1 -2
@@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * This header provides constants for most at91 pinctrl bindings. * * Copyright (C) 2013 Jean-Christophe PLAGNIOL-VILLARD <[email protected]> -* -* GPLv2 only */ #ifndef __DT_BINDINGS_AT91_PINCTRL_H__
include/dt-bindings/thermal/thermal.h +1 -2
@@ -1,10 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * This header provides constants for most thermal bindings. * * Copyright (C) 2013 Texas Instruments * Eduardo Valentin <[email protected]> -* -* GPLv2 only */ #ifndef _DT_BINDINGS_THERMAL_THERMAL_H
Re: [Batch 17 patch 47/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 498
Quoted 6 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
gplv2 only
Quoted 7 lines
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 4 file(s).
Signed-off-by Thomas Gleixner <[email protected]>
Signature · 2 lines
Armijn Hemel, MSc Tjaldur Software Governance Solutions
Re: [Batch 17 patch 47/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 498
In reply to Thomas GleixnerQuoted 71 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
gplv2 only
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-onlyhas been chosen to replace the boilerplate/reference in 4 file(s).
Signed-off-by Thomas Gleixner <[email protected]>--- include/dt-bindings/dma/at91.h | 3 +-- include/dt-bindings/i2c/i2c.h | 3 +-- include/dt-bindings/pinctrl/at91.h | 3 +-- include/dt-bindings/thermal/thermal.h | 3 +-- 4 files changed, 4 insertions(+), 8 deletions(-)include/dt-bindings/dma/at91.h +1
-2@@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * This header provides macros for at91 dma bindings. * * Copyright (C) 2013 Ludovic Desroches <[email protected]> -* -* GPLv2 only */ #ifndef __DT_BINDINGS_AT91_DMA_H__include/dt-bindings/i2c/i2c.h +1
-2@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * This header provides constants for I2C bindings * @@ -5,8 +6,6 @@* Copyright (C) 2015 by Renesas Electronics Corporation * * Wolfram Sang <[email protected]> -* -* GPLv2 only */ #ifndef _DT_BINDINGS_I2C_I2C_Hinclude/dt-bindings/pinctrl/at91.h +1
-2@@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * This header provides constants for most at91 pinctrl bindings. * * Copyright (C) 2013 Jean-Christophe PLAGNIOL-VILLARD <[email protected]> -* -* GPLv2 only */ #ifndef __DT_BINDINGS_AT91_PINCTRL_H__include/dt-bindings/thermal/thermal.h +1
-0@@ -1,10 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */
include/dt-bindings/thermal/thermal.h line 9
Quoted 10 lines
include/dt-bindings/thermal/thermal.h +0
-2/* * This header provides constants for most thermal bindings. * * Copyright (C) 2013 Texas Instruments * Eduardo Valentin <[email protected]> -* -* GPLv2 only */ #ifndef _DT_BINDINGS_THERMAL_THERMAL_H
Signature · 3 lines
Enrico Weigelt, metux IT consult Free software and Linux embedded engineering [email protected] -- +49-151-27565287
Re: [Batch 17 patch 47/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 498
In reply to Thomas GleixnerQuoted 6 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
gplv2 only
Quoted 7 lines
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 4 file(s).
Signed-off-by Thomas Gleixner <[email protected]>
Re: [Batch 17 patch 47/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 498
In reply to Thomas GleixnerQuoted 7 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
gplv2 only
Quoted 7 lines
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 4 file(s).
Signed-off-by Thomas Gleixner <[email protected]>
PATCH 48/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 499
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this work is licensed under the terms of the gnu gpl version 2 see the copying file in the top level directory
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 35 file(s).
--- arch/x86/include/asm/kvm_host.h | 5 +---- arch/x86/include/asm/virtext.h | 4 +--- arch/x86/kvm/cpuid.c | 5 +---- arch/x86/kvm/debugfs.c | 5 +---- arch/x86/kvm/emulate.c | 4 +--- arch/x86/kvm/hyperv.c | 5 +---- arch/x86/kvm/hyperv.h | 5 +---- arch/x86/kvm/lapic.c | 4 +--- arch/x86/kvm/mmu.c | 5 +---- arch/x86/kvm/mmu_audit.c | 5 +---- arch/x86/kvm/mtrr.c | 4 +--- arch/x86/kvm/page_track.c | 4 +--- arch/x86/kvm/paging_tmpl.h | 5 +---- arch/x86/kvm/pmu.c | 5 +---- arch/x86/kvm/pmu_amd.c | 4 +--- arch/x86/kvm/svm.c | 5 +---- arch/x86/kvm/vmx/pmu_intel.c | 5 +---- arch/x86/kvm/vmx/vmx.c | 5 +---- arch/x86/kvm/x86.c | 5 +---- fs/squashfs/decompressor_multi.c | 4 +--- fs/squashfs/decompressor_multi_percpu.c | 4 +--- fs/squashfs/decompressor_single.c | 4 +--- fs/squashfs/file_cache.c | 4 +--- fs/squashfs/file_direct.c | 4 +--- fs/squashfs/lz4_wrapper.c | 4 +--- fs/squashfs/page_actor.c | 4 +--- fs/squashfs/page_actor.h | 4 +--- fs/userfaultfd.c | 4 +--- include/linux/kvm_host.h | 5 +---- mm/huge_memory.c | 4 +--- mm/mmu_notifier.c | 4 +--- mm/userfaultfd.c | 4 +--- tools/kvm/kvm_stat/kvm_stat | 3 +-- tools/testing/selftests/vm/userfaultfd.c | 4 +--- virt/kvm/kvm_main.c | 5 +---- 35 files changed, 35 insertions(+), 119 deletions(-)
arch/x86/include/asm/kvm_host.h +1 -4
@@ -1,11 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Kernel-based Virtual Machine driver for Linux * * This header defines architecture specific interfaces, x86 version -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ #ifndef _ASM_X86_KVM_HOST_H
arch/x86/include/asm/virtext.h +1 -3
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* CPU virtualization extensions handling * * This should carry the code for handling CPU virtualization extensions
@@ -8,9 +9,6 @@* Copyright (C) 2008, Red Hat Inc. * * Contains code from KVM, Copyright (C) 2006 Qumranet, Inc. -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #ifndef _ASM_X86_VIRTEX_H#define _ASM_X86_VIRTEX_H
arch/x86/kvm/cpuid.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Kernel-based Virtual Machine driver for Linux * cpuid support routines
@@ -6,10 +7,6 @@* * Copyright 2011 Red Hat, Inc. and/or its affiliates. * Copyright IBM Corporation, 2008 -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ #include <linux/kvm_host.h>
arch/x86/kvm/debugfs.c +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Kernel-based Virtual Machine driver for Linux * * Copyright 2016 Red Hat, Inc. and/or its affiliates. -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ #include <linux/kvm_host.h> #include <linux/debugfs.h>
arch/x86/kvm/emulate.c +1 -3
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /****************************************************************************** * emulate.c *
@@ -14,9 +15,6 @@* Avi Kivity <[email protected]> * Yaniv Kamay <[email protected]> * -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* * From: xen-unstable 10676:af9809f51f81a3c43f276f00c81a52ef558afda4 */
arch/x86/kvm/hyperv.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * KVM Microsoft Hyper-V emulation *
@@ -15,10 +16,6 @@* Amit Shah <[email protected]> * Ben-Ami Yassour <[email protected]> * Andrey Smetanin <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ #include "x86.h"
arch/x86/kvm/hyperv.h +1 -4
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * KVM Microsoft Hyper-V emulation *
@@ -15,10 +16,6 @@* Amit Shah <[email protected]> * Ben-Ami Yassour <[email protected]> * Andrey Smetanin <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ #ifndef __ARCH_X86_KVM_HYPERV_H__
arch/x86/kvm/lapic.c +1 -3
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Local APIC virtualization
@@ -13,9 +14,6 @@* Yaozu (Eddie) Dong <[email protected]> * * Based on Xen 3.1 code, Copyright (c) 2004, Intel Corporation. -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #include <linux/kvm_host.h>
arch/x86/kvm/mmu.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Kernel-based Virtual Machine driver for Linux *
@@ -12,10 +13,6 @@* Authors: * Yaniv Kamay <[email protected]> * Avi Kivity <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ #include "irq.h"
arch/x86/kvm/mmu_audit.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * mmu_audit.c: *
@@ -11,10 +12,6 @@* Avi Kivity <[email protected]> * Marcelo Tosatti <[email protected]> * Xiao Guangrong <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ #include <linux/ratelimit.h>
arch/x86/kvm/mtrr.c +1 -3
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * vMTRR implementation *
@@ -11,9 +12,6 @@* Marcelo Tosatti <[email protected]> * Paolo Bonzini <[email protected]> * Xiao Guangrong <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #include <linux/kvm_host.h>
arch/x86/kvm/page_track.c +1 -3
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Support KVM gust page tracking *
@@ -8,9 +9,6 @@* * Author: * Xiao Guangrong <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #include <linux/kvm_host.h>
arch/x86/kvm/paging_tmpl.h +1 -4
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Kernel-based Virtual Machine driver for Linux *
@@ -12,10 +13,6 @@* Authors: * Yaniv Kamay <[email protected]> * Avi Kivity <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ /*
arch/x86/kvm/pmu.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Kernel-based Virtual Machine -- Performance Monitoring Unit support *
@@ -7,10 +8,6 @@* Avi Kivity <[email protected]> * Gleb Natapov <[email protected]> * Wei Huang <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ #include <linux/types.h>
arch/x86/kvm/pmu_amd.c +1 -3
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * KVM PMU support for AMD *
@@ -6,9 +7,6 @@* Author: * Wei Huang <[email protected]> * -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* * Implementation is based on pmu_intel.c file */ #include <linux/types.h>
arch/x86/kvm/svm.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Kernel-based Virtual Machine driver for Linux *
@@ -9,10 +10,6 @@* Authors: * Yaniv Kamay <[email protected]> * Avi Kivity <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ #define pr_fmt (fmt) "SVM: " fmt
arch/x86/kvm/vmx/pmu_intel.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * KVM PMU support for Intel CPUs *
@@ -6,10 +7,6 @@* Authors: * Avi Kivity <[email protected]> * Gleb Natapov <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ #include <linux/types.h> #include <linux/kvm_host.h>
arch/x86/kvm/vmx/vmx.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Kernel-based Virtual Machine driver for Linux *
@@ -10,10 +11,6 @@* Authors: * Avi Kivity <[email protected]> * Yaniv Kamay <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ #include <linux/frame.h>
arch/x86/kvm/x86.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Kernel-based Virtual Machine driver for Linux *
@@ -13,10 +14,6 @@* Yaniv Kamay <[email protected]> * Amit Shah <[email protected]> * Ben-Ami Yassour <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ #include <linux/kvm_host.h>
fs/squashfs/decompressor_multi.c +1 -3
@@ -1,9 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2013 * Minchan Kim <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #include <linux/types.h> #include <linux/mutex.h>
fs/squashfs/decompressor_multi_percpu.c +1 -3
@@ -1,9 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2013 * Phillip Lougher <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #include <linux/types.h>
fs/squashfs/decompressor_single.c +1 -3
@@ -1,9 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2013 * Phillip Lougher <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #include <linux/types.h>
fs/squashfs/file_cache.c +1 -3
@@ -1,9 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2013 * Phillip Lougher <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #include <linux/fs.h>
fs/squashfs/file_direct.c +1 -3
@@ -1,9 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2013 * Phillip Lougher <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #include <linux/fs.h>
fs/squashfs/lz4_wrapper.c +1 -3
@@ -1,9 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2013, 2014 * Phillip Lougher <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #include <linux/buffer_head.h>
fs/squashfs/page_actor.c +1 -3
@@ -1,9 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2013 * Phillip Lougher <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #include <linux/kernel.h>
fs/squashfs/page_actor.h +1 -3
@@ -1,11 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ #ifndef PAGE_ACTOR_H #define PAGE_ACTOR_H /* * Copyright (c) 2013 * Phillip Lougher <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #ifndef CONFIG_SQUASHFS_FILE_DIRECT
fs/userfaultfd.c +1 -3
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * fs/userfaultfd.c *
@@ -5,9 +6,6 @@* Copyright (C) 2008-2009 Red Hat, Inc. * Copyright (C) 2015 Red Hat, Inc. * -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* * Some part derived from fs/eventfd.c (anon inode setup) and * mm/ksm.c (mm hashing). */
include/linux/kvm_host.h +1 -4
@@ -1,10 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ #ifndef __KVM_HOST_H#define __KVM_HOST_H -/* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -*/ #include <linux/types.h> #include <linux/hardirq.h>
mm/huge_memory.c +1 -3
@@ -1,8 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2009 Red Hat, Inc. -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #define pr_fmt (fmt) KBUILD_MODNAME ": " fmt
mm/mmu_notifier.c +1 -3
@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * linux/mm/mmu_notifier.c * * Copyright (C) 2008 Qumranet, Inc. * Copyright (C) 2008 SGI * Christoph Lameter <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #include <linux/rculist.h>
mm/userfaultfd.c +1 -3
@@ -1,10 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * mm/userfaultfd.c * * Copyright (C) 2015 Red Hat, Inc. -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #include <linux/mm.h>
tools/kvm/kvm_stat/kvm_stat +1 -2
@@ -1,4 +1,5 @@ #!/usr/bin/env python3 +# SPDX-License-Identifier: GPL-2.0-only # # top-like utility for displaying kvm statistics #
@@ -8,8 +9,6 @@ # Authors: # Avi Kivity <[email protected]> # -# This work is licensed under the terms of the GNU GPL, version 2. See -# the COPYING file in the top-level directory. """The kvm_stat module outputs statistics about running KVM VMs Three different ways of output formatting are available:
tools/testing/selftests/vm/userfaultfd.c +1 -3
@@ -1,11 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Stress userfaultfd syscall. * * Copyright (C) 2015 Red Hat, Inc. * -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* * This test allocates two virtual areas and bounces the physical * memory across the two virtual areas (from area_src to area_dst) * using userfaultfd.
virt/kvm/kvm_main.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Kernel-based Virtual Machine driver for Linux *
@@ -10,10 +11,6 @@* Authors: * Avi Kivity <[email protected]> * Yaniv Kamay <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ #include <kvm/iodev.h>
Re: [Batch 17 patch 48/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 499
Quoted 606 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this work is licensed under the terms of the gnu gpl version 2 see the copying file in the top level directory
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-onlyhas been chosen to replace the boilerplate/reference in 35 file(s).
Signed-off-by Thomas Gleixner <[email protected]>--- arch/x86/include/asm/kvm_host.h | 5 +---- arch/x86/include/asm/virtext.h | 4 +--- arch/x86/kvm/cpuid.c | 5 +---- arch/x86/kvm/debugfs.c | 5 +---- arch/x86/kvm/emulate.c | 4 +--- arch/x86/kvm/hyperv.c | 5 +---- arch/x86/kvm/hyperv.h | 5 +---- arch/x86/kvm/lapic.c | 4 +--- arch/x86/kvm/mmu.c | 5 +---- arch/x86/kvm/mmu_audit.c | 5 +---- arch/x86/kvm/mtrr.c | 4 +--- arch/x86/kvm/page_track.c | 4 +--- arch/x86/kvm/paging_tmpl.h | 5 +---- arch/x86/kvm/pmu.c | 5 +---- arch/x86/kvm/pmu_amd.c | 4 +--- arch/x86/kvm/svm.c | 5 +---- arch/x86/kvm/vmx/pmu_intel.c | 5 +---- arch/x86/kvm/vmx/vmx.c | 5 +---- arch/x86/kvm/x86.c | 5 +---- fs/squashfs/decompressor_multi.c | 4 +--- fs/squashfs/decompressor_multi_percpu.c | 4 +--- fs/squashfs/decompressor_single.c | 4 +--- fs/squashfs/file_cache.c | 4 +--- fs/squashfs/file_direct.c | 4 +--- fs/squashfs/lz4_wrapper.c | 4 +--- fs/squashfs/page_actor.c | 4 +--- fs/squashfs/page_actor.h | 4 +--- fs/userfaultfd.c | 4 +--- include/linux/kvm_host.h | 5 +---- mm/huge_memory.c | 4 +--- mm/mmu_notifier.c | 4 +--- mm/userfaultfd.c | 4 +--- tools/kvm/kvm_stat/kvm_stat | 3 +-- tools/testing/selftests/vm/userfaultfd.c | 4 +--- virt/kvm/kvm_main.c | 5 +---- 35 files changed, 35 insertions(+), 119 deletions(-)arch/x86/include/asm/kvm_host.h +1
-4@@ -1,11 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Kernel-based Virtual Machine driver for Linux * * This header defines architecture specific interfaces, x86 version -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ #ifndef _ASM_X86_KVM_HOST_Harch/x86/include/asm/virtext.h +1
-3@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* CPU virtualization extensions handling * * This should carry the code for handling CPU virtualization extensions @@ -8,9 +9,6 @@* Copyright (C) 2008, Red Hat Inc. * * Contains code from KVM, Copyright (C) 2006 Qumranet, Inc. -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #ifndef _ASM_X86_VIRTEX_H#define _ASM_X86_VIRTEX_Harch/x86/kvm/cpuid.c +1
-4@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Kernel-based Virtual Machine driver for Linux * cpuid support routines @@ -6,10 +7,6 @@* * Copyright 2011 Red Hat, Inc. and/or its affiliates. * Copyright IBM Corporation, 2008 -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ #include <linux/kvm_host.h> arch/x86/kvm/debugfs.c +1
-4@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Kernel-based Virtual Machine driver for Linux * * Copyright 2016 Red Hat, Inc. and/or its affiliates. -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ #include <linux/kvm_host.h> #include <linux/debugfs.h> arch/x86/kvm/emulate.c +1
-3@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /****************************************************************************** * emulate.c * @@ -14,9 +15,6 @@* Avi Kivity <[email protected]> * Yaniv Kamay <[email protected]> * -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* * From: xen-unstable 10676:af9809f51f81a3c43f276f00c81a52ef558afda4 */ arch/x86/kvm/hyperv.c +1
-4@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * KVM Microsoft Hyper-V emulation * @@ -15,10 +16,6 @@* Amit Shah <[email protected]> * Ben-Ami Yassour <[email protected]> * Andrey Smetanin <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ #include "x86.h" arch/x86/kvm/hyperv.h +1
-4@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * KVM Microsoft Hyper-V emulation * @@ -15,10 +16,6 @@* Amit Shah <[email protected]> * Ben-Ami Yassour <[email protected]> * Andrey Smetanin <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ #ifndef __ARCH_X86_KVM_HYPERV_H__arch/x86/kvm/lapic.c +1
-3@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Local APIC virtualization @@ -13,9 +14,6 @@* Yaozu (Eddie) Dong <[email protected]> * * Based on Xen 3.1 code, Copyright (c) 2004, Intel Corporation. -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #include <linux/kvm_host.h> arch/x86/kvm/mmu.c +1
-4@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Kernel-based Virtual Machine driver for Linux * @@ -12,10 +13,6 @@* Authors: * Yaniv Kamay <[email protected]> * Avi Kivity <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ #include "irq.h" arch/x86/kvm/mmu_audit.c +1
-4@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * mmu_audit.c: * @@ -11,10 +12,6 @@* Avi Kivity <[email protected]> * Marcelo Tosatti <[email protected]> * Xiao Guangrong <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ #include <linux/ratelimit.h> arch/x86/kvm/mtrr.c +1
-3@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * vMTRR implementation * @@ -11,9 +12,6 @@* Marcelo Tosatti <[email protected]> * Paolo Bonzini <[email protected]> * Xiao Guangrong <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #include <linux/kvm_host.h> arch/x86/kvm/page_track.c +1
-3@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Support KVM gust page tracking * @@ -8,9 +9,6 @@* * Author: * Xiao Guangrong <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #include <linux/kvm_host.h> arch/x86/kvm/paging_tmpl.h +1
-4@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Kernel-based Virtual Machine driver for Linux * @@ -12,10 +13,6 @@* Authors: * Yaniv Kamay <[email protected]> * Avi Kivity <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ /* arch/x86/kvm/pmu.c +1
-4@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Kernel-based Virtual Machine -- Performance Monitoring Unit support * @@ -7,10 +8,6 @@* Avi Kivity <[email protected]> * Gleb Natapov <[email protected]> * Wei Huang <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ #include <linux/types.h> arch/x86/kvm/pmu_amd.c +1
-3@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * KVM PMU support for AMD * @@ -6,9 +7,6 @@* Author: * Wei Huang <[email protected]> * -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* * Implementation is based on pmu_intel.c file */ #include <linux/types.h> arch/x86/kvm/svm.c +1
-4@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Kernel-based Virtual Machine driver for Linux * @@ -9,10 +10,6 @@* Authors: * Yaniv Kamay <[email protected]> * Avi Kivity <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ #define pr_fmt (fmt) "SVM: " fmtarch/x86/kvm/vmx/pmu_intel.c +1
-4@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * KVM PMU support for Intel CPUs * @@ -6,10 +7,6 @@* Authors: * Avi Kivity <[email protected]> * Gleb Natapov <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ #include <linux/types.h> #include <linux/kvm_host.h> arch/x86/kvm/vmx/vmx.c +1
-4@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Kernel-based Virtual Machine driver for Linux * @@ -10,10 +11,6 @@* Authors: * Avi Kivity <[email protected]> * Yaniv Kamay <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ #include <linux/frame.h> arch/x86/kvm/x86.c +1
-4@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Kernel-based Virtual Machine driver for Linux * @@ -13,10 +14,6 @@* Yaniv Kamay <[email protected]> * Amit Shah <[email protected]> * Ben-Ami Yassour <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ #include <linux/kvm_host.h> fs/squashfs/decompressor_multi.c +1
-3@@ -1,9 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2013 * Minchan Kim <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #include <linux/types.h> #include <linux/mutex.h> fs/squashfs/decompressor_multi_percpu.c +1
-3@@ -1,9 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2013 * Phillip Lougher <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #include <linux/types.h> fs/squashfs/decompressor_single.c +1
-3@@ -1,9 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2013 * Phillip Lougher <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #include <linux/types.h> fs/squashfs/file_cache.c +1
-3@@ -1,9 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2013 * Phillip Lougher <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #include <linux/fs.h> fs/squashfs/file_direct.c +1
-3@@ -1,9 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2013 * Phillip Lougher <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #include <linux/fs.h> fs/squashfs/lz4_wrapper.c +1
-3@@ -1,9 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2013, 2014 * Phillip Lougher <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #include <linux/buffer_head.h> fs/squashfs/page_actor.c +1
-3@@ -1,9 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2013 * Phillip Lougher <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #include <linux/kernel.h> fs/squashfs/page_actor.h +1
-3@@ -1,11 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ #ifndef PAGE_ACTOR_H #define PAGE_ACTOR_H /* * Copyright (c) 2013 * Phillip Lougher <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #ifndef CONFIG_SQUASHFS_FILE_DIRECT fs/userfaultfd.c +1
-3@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * fs/userfaultfd.c * @@ -5,9 +6,6 @@* Copyright (C) 2008-2009 Red Hat, Inc. * Copyright (C) 2015 Red Hat, Inc. * -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* * Some part derived from fs/eventfd.c (anon inode setup) and * mm/ksm.c (mm hashing). */ include/linux/kvm_host.h +1
-4@@ -1,10 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ #ifndef __KVM_HOST_H#define __KVM_HOST_H -/* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -*/ #include <linux/types.h> #include <linux/hardirq.h> mm/huge_memory.c +1
-3@@ -1,8 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2009 Red Hat, Inc. -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #define pr_fmt (fmt) KBUILD_MODNAME ": " fmtmm/mmu_notifier.c +1
-3@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * linux/mm/mmu_notifier.c * * Copyright (C) 2008 Qumranet, Inc. * Copyright (C) 2008 SGI * Christoph Lameter <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #include <linux/rculist.h> mm/userfaultfd.c +1
-3@@ -1,10 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * mm/userfaultfd.c * * Copyright (C) 2015 Red Hat, Inc. -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #include <linux/mm.h> tools/kvm/kvm_stat/kvm_stat +1
-2@@ -1,4 +1,5 @@ #!/usr/bin/env python3 +# SPDX-License-Identifier: GPL-2.0-only # # top-like utility for displaying kvm statistics #@@ -8,8 +9,6 @@ # Authors: # Avi Kivity <[email protected]> # -# This work is licensed under the terms of the GNU GPL, version 2. See -# the COPYING file in the top-level directory. """The kvm_stat module outputs statistics about running KVM VMs Three different ways of output formatting are available:tools/testing/selftests/vm/userfaultfd.c +1
-3@@ -1,11 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Stress userfaultfd syscall. * * Copyright (C) 2015 Red Hat, Inc. * -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* * This test allocates two virtual areas and bounces the physical * memory across the two virtual areas (from area_src to area_dst) * using userfaultfd. virt/kvm/kvm_main.c +1
-0@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Kernel-based Virtual Machine driver for Linux *
virt/kvm/kvm_main.c line 16
Quoted 10 lines
virt/kvm/kvm_main.c +0
-4@@ -10,10 +11,6 @@* Authors: * Avi Kivity <[email protected]> * Yaniv Kamay <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ #include <kvm/iodev.h>
Signature · 3 lines
Enrico Weigelt, metux IT consult Free software and Linux embedded engineering [email protected] -- +49-151-27565287
Re: [Batch 17 patch 48/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 499
In reply to Thomas GleixnerQuoted 7 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this work is licensed under the terms of the gnu gpl version 2 see the copying file in the top level directory
Quoted 7 lines
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 35 file(s).
Signed-off-by Thomas Gleixner <[email protected]>
Re: [Batch 17 patch 48/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 499
In reply to Thomas GleixnerQuoted 10 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this work is licensed under the terms of the gnu gpl version 2 see the copying file in the top level directory
extracted by the scancode license scanner the SPDX license identifier
Quoted 8 lines
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 35 file(s).
Signed-off-by Thomas Gleixner <[email protected]>
PATCH 49/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 2 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
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 #
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 4122 file(s).
--- arch/arc/Kconfig | 5 +---- arch/arc/Makefile | 5 +---- arch/arc/boot/dts/axc001.dtsi | 5 +---- arch/arc/boot/dts/axc003.dtsi | 5 +---- arch/arc/boot/dts/axc003_idu.dtsi | 5 +---- arch/arc/boot/dts/axs101.dts | 5 +---- arch/arc/boot/dts/axs103.dts | 5 +---- arch/arc/boot/dts/axs103_idu.dts | 5 +---- arch/arc/boot/dts/axs10x_mb.dtsi | 5 +---- arch/arc/boot/dts/haps_hs.dts | 5 +---- arch/arc/boot/dts/haps_hs_idu.dts | 5 +---- arch/arc/boot/dts/hsdk.dts | 5 +---- arch/arc/boot/dts/nsim_700.dts | 5 +---- arch/arc/boot/dts/nsim_hs.dts | 5 +---- arch/arc/boot/dts/nsim_hs_idu.dts | 5 +----
<SNIP>
arch/x86/mm/mem_encrypt_boot.S | 5 +---- arch/x86/mm/mem_encrypt_identity.c | 5 +---- arch/x86/platform/geode/alix.c | 6 +----- arch/x86/platform/geode/geos.c | 5 +---- arch/x86/platform/geode/net5501.c | 6 +----- arch/x86/um/delay.c | 5 +---- arch/x86/um/mem_32.c | 5 +---- arch/x86/um/vdso/um_vdso.c | 5 +---- arch/x86/um/vdso/vma.c | 5 +---- arch/xtensa/boot/boot-elf/boot.lds.S | 5 +---- arch/xtensa/include/asm/futex.h | 5 +---- arch/xtensa/include/asm/pgalloc.h | 5 +---- arch/xtensa/include/asm/pgtable.h | 5 +---- arch/xtensa/kernel/perf_event.c | 5 +---- arch/xtensa/mm/ioremap.c | 5 +---- crypto/aes_ti.c | 5 +---- crypto/gcm.c | 5 +---- crypto/ghash-generic.c | 5 +---- crypto/michael_mic.c | 5 +---- drivers/acpi/acpi_amba.c | 5 +---- drivers/acpi/acpi_apd.c | 5 +---- drivers/acpi/acpi_cmos_rtc.c | 5 +---- drivers/acpi/acpi_configfs.c | 5 +----
<SNIP>
drivers/watchdog/mt7621_wdt.c | 5 +---- drivers/watchdog/rt2880_wdt.c | 5 +---- drivers/watchdog/txx9wdt.c | 5 +---- drivers/watchdog/wdat_wdt.c | 5 +---- drivers/xen/sys-hypervisor.c | 5 +---- fs/adfs/dir.c | 5 +---- fs/adfs/dir_f.c | 5 +---- fs/adfs/dir_f.h | 5 +---- fs/adfs/dir_fplus.c | 5 +---- fs/adfs/dir_fplus.h | 5 +---- fs/adfs/inode.c | 5 +---- fs/adfs/map.c | 5 +---- fs/adfs/super.c | 5 +---- fs/compat.c | 5 +---- fs/efivarfs/file.c | 5 +---- fs/efivarfs/inode.c | 5 +---- fs/efivarfs/internal.h | 5 +---- fs/efivarfs/super.c | 5 +---- fs/overlayfs/copy_up.c | 5 +---- fs/overlayfs/dir.c | 5 +---- fs/overlayfs/export.c | 5 +---- fs/overlayfs/file.c | 5 +---- fs/overlayfs/inode.c | 5 +---- fs/overlayfs/namei.c | 5 +---- fs/overlayfs/overlayfs.h | 5 +---- fs/overlayfs/ovl_entry.h | 5 +---- fs/overlayfs/readdir.c | 5 +---- fs/overlayfs/super.c | 5 +---- fs/overlayfs/util.c | 5 +---- fs/tracefs/inode.c | 6 +----- include/asm-generic/ftrace.h | 5 +---- include/asm-generic/seccomp.h | 5 +---- include/crypto/sha1_base.h | 5 +---- include/crypto/sha256_base.h | 5 +---- include/crypto/sha512_base.h | 5 +---- include/drm/bridge/mhl.h | 5 +---- include/drm/drm_mipi_dsi.h | 5 +---- include/dt-bindings/clock/ath79-clk.h | 6 +----- include/dt-bindings/clock/axis,artpec6-clkctrl.h | 5 +---- include/dt-bindings/clock/clps711x-clock.h | 6 +-----
<SNIP>
include/video/platform_lcd.h | 6 +----- include/video/pxa168fb.h | 5 +---- include/video/samsung_fimd.h | 5 +---- include/video/w100fb.h | 5 +---- kernel/bpf/inode.c | 5 +---- kernel/compat.c | 5 +---- kernel/sched/debug.c | 5 +---- lib/clz_ctz.c | 4 +--- lib/cpu_rmap.c | 5 +---- lib/decompress_unlz4.c | 5 +---- lib/jedec_ddr_data.c | 5 +---- lib/raid6/neon.c | 5 +---- lib/rhashtable.c | 5 +---- lib/test_kasan.c | 6 +----- lib/test_rhashtable.c | 5 +---- lib/ubsan.c | 6 +----- mm/usercopy.c | 6 +----- mm/vmpressure.c | 5 +---- net/802/garp.c | 5 +---- net/802/mrp.c | 5 +---- net/802/stp.c | 5 +----
<SNIP>
net/sched/sch_sfb.c | 6 +----- net/strparser/strparser.c | 5 +---- net/wireless/debugfs.c | 5 +---- net/wireless/ocb.c | 5 +---- samples/vfio-mdev/mtty.c | 6 +----- scripts/adjust_autoksyms.sh | 4 +--- security/inode.c | 5 +---- security/lsm_audit.c | 5 +---- security/selinux/avc.c | 5 +---- security/selinux/hooks.c | 5 +---- security/selinux/include/audit.h | 5 +---- security/selinux/include/netif.h | 5 +---- security/selinux/include/objsec.h | 5 +---- security/selinux/netif.c | 5 +---- security/selinux/netlink.c | 5 +---- security/selinux/nlmsgtab.c | 5 +---- security/selinux/ss/status.c | 5 +---- security/selinux/xfrm.c | 5 +---- security/smack/smack_lsm.c | 5 +---- security/smack/smack_netfilter.c | 5 +---- security/yama/yama_lsm.c | 6 +----- sound/ac97/ac97_core.h | 5 +---- sound/ac97/bus.c | 5 +---- sound/ac97/codec.c | 5 +---- sound/ac97/snd_ac97_compat.c | 5 +----
<SNIP>
sound/soc/ux500/ux500_msp_i2s.h | 5 +---- sound/soc/ux500/ux500_pcm.c | 5 +---- sound/soc/ux500/ux500_pcm.h | 5 +---- sound/soc/xtensa/xtfpga-i2s.c | 5 +---- sound/spi/at73c213.c | 5 +---- tools/firmware/ihex2fw.c | 5 +---- tools/gpio/gpio-event-mon.c | 5 +---- tools/gpio/gpio-hammer.c | 5 +---- tools/gpio/gpio-utils.c | 5 +---- tools/gpio/gpio-utils.h | 4 +--- tools/gpio/lsgpio.c | 5 +---- tools/iio/iio_event_monitor.c | 5 +---- tools/iio/iio_generic_buffer.c | 6 +----- tools/iio/iio_utils.c | 5 +---- tools/iio/iio_utils.h | 5 +---- tools/iio/lsiio.c | 5 +---- tools/perf/arch/arm/util/dwarf-regs.c | 5 +---- tools/perf/arch/arm64/util/dwarf-regs.c | 5 +---- tools/perf/arch/arm64/util/sym-handling.c | 4 +--- tools/perf/arch/powerpc/util/sym-handling.c | 4 +--- tools/perf/util/namespaces.c | 4 +--- tools/perf/util/namespaces.h | 4 +--- tools/power/acpi/tools/acpidbg/acpidbg.c | 5 +---- tools/testing/selftests/gpio/gpio-mockup-chardev.c | 5 +---- tools/testing/selftests/ia64/aliasing-test.c | 5 +---- tools/testing/selftests/powerpc/dscr/dscr.h | 5 +---- tools/testing/selftests/powerpc/dscr/dscr_default_test.c | 5 +---- tools/testing/selftests/powerpc/dscr/dscr_explicit_test.c | 5 +---- tools/testing/selftests/powerpc/dscr/dscr_inherit_exec_test.c | 5 +---- tools/testing/selftests/powerpc/dscr/dscr_inherit_test.c | 5 +---- tools/testing/selftests/powerpc/dscr/dscr_sysfs_test.c | 5 +---- tools/testing/selftests/powerpc/dscr/dscr_sysfs_thread_test.c | 5 +---- tools/testing/selftests/powerpc/dscr/dscr_user_test.c | 5 +---- tools/wmi/dell-smbios-example.c | 5 +---- virt/kvm/vfio.c | 5 +---- virt/lib/irqbypass.c | 5 +---- 4119 files changed, 4119 insertions(+), 17022 deletions(-)
arch/arc/Kconfig +1 -4
@@ -1,10 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) # -# 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. -# config ARC def_bool y
arch/arc/Makefile +1 -4
@@ -1,10 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) # -# 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. -# KBUILD_DEFCONFIG := nsim_hs_defconfig
arch/arc/boot/dts/axc001.dtsi +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2013-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /*
arch/arc/boot/dts/axc003.dtsi +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /*
arch/arc/boot/dts/axc003_idu.dtsi +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014, 2015 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /*
arch/arc/boot/dts/axs101.dts +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2013-15 Synopsys, Inc. (www.synopsys.com) * * ARC AXS101 S/W development platform - * - * 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. */ /dts-v1/;
arch/arc/boot/dts/axs103.dts +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /*
arch/arc/boot/dts/axs103_idu.dts +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /*
arch/arc/boot/dts/axs10x_mb.dtsi +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Support for peripherals on the AXS10x mainboard * * Copyright (C) 2013-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ / {
arch/arc/boot/dts/haps_hs.dts +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2016-2014 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /dts-v1/;
arch/arc/boot/dts/haps_hs_idu.dts +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2016-2014 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /dts-v1/;
arch/arc/boot/dts/hsdk.dts +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2017 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /*
arch/arc/boot/dts/nsim_700.dts +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /dts-v1/;
arch/arc/boot/dts/nsim_hs.dts +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /dts-v1/;
arch/arc/boot/dts/nsim_hs_idu.dts +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /dts-v1/;
arch/arc/boot/dts/nsimosci.dts +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2013 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /dts-v1/;
arch/arc/boot/dts/nsimosci_hs.dts +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /dts-v1/;
arch/arc/boot/dts/nsimosci_hs_idu.dts +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /dts-v1/;
arch/arc/boot/dts/skeleton.dtsi +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /*
arch/arc/boot/dts/skeleton_hs.dtsi +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2016 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ / {
arch/arc/boot/dts/skeleton_hs_idu.dtsi +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2016 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ / {
arch/arc/boot/dts/vdk_axc003.dtsi +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2013, 2014 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /*
arch/arc/boot/dts/vdk_axc003_idu.dtsi +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014, 2015 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /*
arch/arc/boot/dts/vdk_axs10x_mb.dtsi +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Support for peripherals on the AXS10x mainboard (VDK version) * * Copyright (C) 2013-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ / {
arch/arc/boot/dts/vdk_hs38.dts +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2013 Synopsys, Inc. (www.synopsys.com) * * ARC HS38 Virtual Development Kit (VDK) - * - * 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. */ /dts-v1/;
arch/arc/boot/dts/vdk_hs38_smp.dts +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2013 Synopsys, Inc. (www.synopsys.com) * * ARC HS38 Virtual Development Kit, SMP version (VDK) - * - * 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. */ /dts-v1/;
arch/arc/include/asm/arcregs.h +1 -4
@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef _ASM_ARC_ARCREGS_H
arch/arc/include/asm/asm-offsets.h +1 -4
@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #include <generated/asm-offsets.h>
arch/arc/include/asm/atomic.h +1 -4
@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef _ASM_ARC_ATOMIC_H
arch/arc/include/asm/barrier.h +1 -4
@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef __ASM_BARRIER_H
arch/arc/include/asm/bitops.h +1 -4
@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef _ASM_BITOPS_H
arch/arc/include/asm/bug.h +1 -4
@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef _ASM_ARC_BUG_H
arch/arc/include/asm/cache.h +1 -4
@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef __ARC_ASM_CACHE_H
arch/arc/include/asm/cacheflush.h +1 -4
@@ -1,10 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) * -* 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. -* * vineetg: May 2011: for Non-aliasing VIPT D-cache following can be NOPs * -flush_cache_dup_mm (fork) * -likewise for flush_cache_mm (exit/execve)
arch/arc/include/asm/checksum.h +1 -4
@@ -1,10 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) * -* 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. -* * Joern Rennecke <[email protected]>: Jan 2012 * -Insn Scheduling improvements to csum core routines. * = csum_fold( ) largely derived from ARM version.
arch/arc/include/asm/cmpxchg.h +1 -4
@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef __ASM_ARC_CMPXCHG_H
arch/arc/include/asm/current.h +1 -4
@@ -1,10 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) * -* 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. -* * Vineetg: May 16th, 2008 * - Current macro is now implemented as "global register" r25 */
arch/arc/include/asm/delay.h +1 -4
@@ -1,10 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) * -* 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. -* * Delay routines using pre computed loops_per_jiffy value. * * vineetg: Feb 2012
arch/arc/include/asm/disasm.h +1 -4
@@ -1,12 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * several functions that help interpret ARC instructions * used for unaligned accesses, kprobes and kgdb * * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef __ARC_DISASM_H__
arch/arc/include/asm/dma.h +1 -4
@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef ASM_ARC_DMA_H
arch/arc/include/asm/dwarf.h +1 -4
@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2016-17 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef _ASM_ARC_DWARF_H
arch/arc/include/asm/elf.h +1 -4
@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef __ASM_ARC_ELF_H
arch/arc/include/asm/entry-compact.h +1 -4
@@ -1,11 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) * -* 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. -* * Vineetg: March 2009 (Supporting 2 levels of Interrupts) * Stack switching code can no longer reliably rely on the fact that * if we are NOT in user mode, stack is switched to kernel mode.
arch/arc/include/asm/entry.h +1 -4
@@ -1,10 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef __ASM_ARC_ENTRY_H
arch/arc/include/asm/exec.h +1 -4
@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef __ASM_ARC_EXEC_H
arch/arc/include/asm/futex.h +1 -4
@@ -1,10 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) * -* 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. -* * Vineetg: August 2010: From Android kernel work */
arch/arc/include/asm/highmem.h +1 -5
@@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2015 Synopsys, Inc. (www.synopsys.com) -* -* 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. -* */ #ifndef _ASM_HIGHMEM_H
arch/arc/include/asm/hugepage.h +1 -0
@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /*
Re: [Batch 17 patch 49/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
Quoted 838 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 2 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
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 #
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-onlyhas been chosen to replace the boilerplate/reference in 4122 file(s).
Signed-off-by Thomas Gleixner <[email protected]>--- arch/arc/Kconfig | 5 +---- arch/arc/Makefile | 5 +---- arch/arc/boot/dts/axc001.dtsi | 5 +---- arch/arc/boot/dts/axc003.dtsi | 5 +---- arch/arc/boot/dts/axc003_idu.dtsi | 5 +---- arch/arc/boot/dts/axs101.dts | 5 +---- arch/arc/boot/dts/axs103.dts | 5 +---- arch/arc/boot/dts/axs103_idu.dts | 5 +---- arch/arc/boot/dts/axs10x_mb.dtsi | 5 +---- arch/arc/boot/dts/haps_hs.dts | 5 +---- arch/arc/boot/dts/haps_hs_idu.dts | 5 +---- arch/arc/boot/dts/hsdk.dts | 5 +---- arch/arc/boot/dts/nsim_700.dts | 5 +---- arch/arc/boot/dts/nsim_hs.dts | 5 +---- arch/arc/boot/dts/nsim_hs_idu.dts | 5 +----<SNIP>
arch/x86/mm/mem_encrypt_boot.S | 5 +---- arch/x86/mm/mem_encrypt_identity.c | 5 +---- arch/x86/platform/geode/alix.c | 6 +----- arch/x86/platform/geode/geos.c | 5 +---- arch/x86/platform/geode/net5501.c | 6 +----- arch/x86/um/delay.c | 5 +---- arch/x86/um/mem_32.c | 5 +---- arch/x86/um/vdso/um_vdso.c | 5 +---- arch/x86/um/vdso/vma.c | 5 +---- arch/xtensa/boot/boot-elf/boot.lds.S | 5 +---- arch/xtensa/include/asm/futex.h | 5 +---- arch/xtensa/include/asm/pgalloc.h | 5 +---- arch/xtensa/include/asm/pgtable.h | 5 +---- arch/xtensa/kernel/perf_event.c | 5 +---- arch/xtensa/mm/ioremap.c | 5 +---- crypto/aes_ti.c | 5 +---- crypto/gcm.c | 5 +---- crypto/ghash-generic.c | 5 +---- crypto/michael_mic.c | 5 +---- drivers/acpi/acpi_amba.c | 5 +---- drivers/acpi/acpi_apd.c | 5 +---- drivers/acpi/acpi_cmos_rtc.c | 5 +---- drivers/acpi/acpi_configfs.c | 5 +----<SNIP>
drivers/watchdog/mt7621_wdt.c | 5 +---- drivers/watchdog/rt2880_wdt.c | 5 +---- drivers/watchdog/txx9wdt.c | 5 +---- drivers/watchdog/wdat_wdt.c | 5 +---- drivers/xen/sys-hypervisor.c | 5 +---- fs/adfs/dir.c | 5 +---- fs/adfs/dir_f.c | 5 +---- fs/adfs/dir_f.h | 5 +---- fs/adfs/dir_fplus.c | 5 +---- fs/adfs/dir_fplus.h | 5 +---- fs/adfs/inode.c | 5 +---- fs/adfs/map.c | 5 +---- fs/adfs/super.c | 5 +---- fs/compat.c | 5 +---- fs/efivarfs/file.c | 5 +---- fs/efivarfs/inode.c | 5 +---- fs/efivarfs/internal.h | 5 +---- fs/efivarfs/super.c | 5 +---- fs/overlayfs/copy_up.c | 5 +---- fs/overlayfs/dir.c | 5 +---- fs/overlayfs/export.c | 5 +---- fs/overlayfs/file.c | 5 +---- fs/overlayfs/inode.c | 5 +---- fs/overlayfs/namei.c | 5 +---- fs/overlayfs/overlayfs.h | 5 +---- fs/overlayfs/ovl_entry.h | 5 +---- fs/overlayfs/readdir.c | 5 +---- fs/overlayfs/super.c | 5 +---- fs/overlayfs/util.c | 5 +---- fs/tracefs/inode.c | 6 +----- include/asm-generic/ftrace.h | 5 +---- include/asm-generic/seccomp.h | 5 +---- include/crypto/sha1_base.h | 5 +---- include/crypto/sha256_base.h | 5 +---- include/crypto/sha512_base.h | 5 +---- include/drm/bridge/mhl.h | 5 +---- include/drm/drm_mipi_dsi.h | 5 +---- include/dt-bindings/clock/ath79-clk.h | 6 +----- include/dt-bindings/clock/axis,artpec6-clkctrl.h | 5 +---- include/dt-bindings/clock/clps711x-clock.h | 6 +-----<SNIP>
include/video/platform_lcd.h | 6 +----- include/video/pxa168fb.h | 5 +---- include/video/samsung_fimd.h | 5 +---- include/video/w100fb.h | 5 +---- kernel/bpf/inode.c | 5 +---- kernel/compat.c | 5 +---- kernel/sched/debug.c | 5 +---- lib/clz_ctz.c | 4 +--- lib/cpu_rmap.c | 5 +---- lib/decompress_unlz4.c | 5 +---- lib/jedec_ddr_data.c | 5 +---- lib/raid6/neon.c | 5 +---- lib/rhashtable.c | 5 +---- lib/test_kasan.c | 6 +----- lib/test_rhashtable.c | 5 +---- lib/ubsan.c | 6 +----- mm/usercopy.c | 6 +----- mm/vmpressure.c | 5 +---- net/802/garp.c | 5 +---- net/802/mrp.c | 5 +---- net/802/stp.c | 5 +----<SNIP>
net/sched/sch_sfb.c | 6 +----- net/strparser/strparser.c | 5 +---- net/wireless/debugfs.c | 5 +---- net/wireless/ocb.c | 5 +---- samples/vfio-mdev/mtty.c | 6 +----- scripts/adjust_autoksyms.sh | 4 +--- security/inode.c | 5 +---- security/lsm_audit.c | 5 +---- security/selinux/avc.c | 5 +---- security/selinux/hooks.c | 5 +---- security/selinux/include/audit.h | 5 +---- security/selinux/include/netif.h | 5 +---- security/selinux/include/objsec.h | 5 +---- security/selinux/netif.c | 5 +---- security/selinux/netlink.c | 5 +---- security/selinux/nlmsgtab.c | 5 +---- security/selinux/ss/status.c | 5 +---- security/selinux/xfrm.c | 5 +---- security/smack/smack_lsm.c | 5 +---- security/smack/smack_netfilter.c | 5 +---- security/yama/yama_lsm.c | 6 +----- sound/ac97/ac97_core.h | 5 +---- sound/ac97/bus.c | 5 +---- sound/ac97/codec.c | 5 +---- sound/ac97/snd_ac97_compat.c | 5 +----<SNIP>
sound/soc/ux500/ux500_msp_i2s.h | 5 +---- sound/soc/ux500/ux500_pcm.c | 5 +---- sound/soc/ux500/ux500_pcm.h | 5 +---- sound/soc/xtensa/xtfpga-i2s.c | 5 +---- sound/spi/at73c213.c | 5 +---- tools/firmware/ihex2fw.c | 5 +---- tools/gpio/gpio-event-mon.c | 5 +---- tools/gpio/gpio-hammer.c | 5 +---- tools/gpio/gpio-utils.c | 5 +---- tools/gpio/gpio-utils.h | 4 +--- tools/gpio/lsgpio.c | 5 +---- tools/iio/iio_event_monitor.c | 5 +---- tools/iio/iio_generic_buffer.c | 6 +----- tools/iio/iio_utils.c | 5 +---- tools/iio/iio_utils.h | 5 +---- tools/iio/lsiio.c | 5 +---- tools/perf/arch/arm/util/dwarf-regs.c | 5 +---- tools/perf/arch/arm64/util/dwarf-regs.c | 5 +---- tools/perf/arch/arm64/util/sym-handling.c | 4 +--- tools/perf/arch/powerpc/util/sym-handling.c | 4 +--- tools/perf/util/namespaces.c | 4 +--- tools/perf/util/namespaces.h | 4 +--- tools/power/acpi/tools/acpidbg/acpidbg.c | 5 +---- tools/testing/selftests/gpio/gpio-mockup-chardev.c | 5 +---- tools/testing/selftests/ia64/aliasing-test.c | 5 +---- tools/testing/selftests/powerpc/dscr/dscr.h | 5 +---- tools/testing/selftests/powerpc/dscr/dscr_default_test.c | 5 +---- tools/testing/selftests/powerpc/dscr/dscr_explicit_test.c | 5 +---- tools/testing/selftests/powerpc/dscr/dscr_inherit_exec_test.c | 5 +---- tools/testing/selftests/powerpc/dscr/dscr_inherit_test.c | 5 +---- tools/testing/selftests/powerpc/dscr/dscr_sysfs_test.c | 5 +---- tools/testing/selftests/powerpc/dscr/dscr_sysfs_thread_test.c | 5 +---- tools/testing/selftests/powerpc/dscr/dscr_user_test.c | 5 +---- tools/wmi/dell-smbios-example.c | 5 +---- virt/kvm/vfio.c | 5 +---- virt/lib/irqbypass.c | 5 +---- 4119 files changed, 4119 insertions(+), 17022 deletions(-)arch/arc/Kconfig +1
-4@@ -1,10 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) # -# 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. -# config ARC def_bool yarch/arc/Makefile +1
-4@@ -1,10 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) # -# 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. -# KBUILD_DEFCONFIG := nsim_hs_defconfigarch/arc/boot/dts/axc001.dtsi +1
-4@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2013-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /*arch/arc/boot/dts/axc003.dtsi +1
-4@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /*arch/arc/boot/dts/axc003_idu.dtsi +1
-4@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014, 2015 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /*arch/arc/boot/dts/axs101.dts +1
-4@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2013-15 Synopsys, Inc. (www.synopsys.com) * * ARC AXS101 S/W development platform - * - * 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. */ /dts-v1/;arch/arc/boot/dts/axs103.dts +1
-4@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /*arch/arc/boot/dts/axs103_idu.dts +1
-4@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /*arch/arc/boot/dts/axs10x_mb.dtsi +1
-4@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Support for peripherals on the AXS10x mainboard * * Copyright (C) 2013-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ / {arch/arc/boot/dts/haps_hs.dts +1
-4@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2016-2014 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /dts-v1/;arch/arc/boot/dts/haps_hs_idu.dts +1
-4@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2016-2014 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /dts-v1/;arch/arc/boot/dts/hsdk.dts +1
-4@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2017 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /*arch/arc/boot/dts/nsim_700.dts +1
-4@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /dts-v1/;arch/arc/boot/dts/nsim_hs.dts +1
-4@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /dts-v1/;arch/arc/boot/dts/nsim_hs_idu.dts +1
-4@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /dts-v1/;arch/arc/boot/dts/nsimosci.dts +1
-4@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2013 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /dts-v1/;arch/arc/boot/dts/nsimosci_hs.dts +1
-4@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /dts-v1/;arch/arc/boot/dts/nsimosci_hs_idu.dts +1
-4@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /dts-v1/;arch/arc/boot/dts/skeleton.dtsi +1
-4@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /*arch/arc/boot/dts/skeleton_hs.dtsi +1
-4@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2016 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ / {arch/arc/boot/dts/skeleton_hs_idu.dtsi +1
-4@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2016 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ / {arch/arc/boot/dts/vdk_axc003.dtsi +1
-4@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2013, 2014 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /*arch/arc/boot/dts/vdk_axc003_idu.dtsi +1
-4@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014, 2015 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /*arch/arc/boot/dts/vdk_axs10x_mb.dtsi +1
-4@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Support for peripherals on the AXS10x mainboard (VDK version) * * Copyright (C) 2013-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ / {arch/arc/boot/dts/vdk_hs38.dts +1
-4@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2013 Synopsys, Inc. (www.synopsys.com) * * ARC HS38 Virtual Development Kit (VDK) - * - * 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. */ /dts-v1/;arch/arc/boot/dts/vdk_hs38_smp.dts +1
-4@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2013 Synopsys, Inc. (www.synopsys.com) * * ARC HS38 Virtual Development Kit, SMP version (VDK) - * - * 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. */ /dts-v1/;arch/arc/include/asm/arcregs.h +1
-4@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef _ASM_ARC_ARCREGS_Harch/arc/include/asm/asm-offsets.h +1
-4@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #include <generated/asm-offsets.h> arch/arc/include/asm/atomic.h +1
-4@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef _ASM_ARC_ATOMIC_Harch/arc/include/asm/barrier.h +1
-4@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef __ASM_BARRIER_Harch/arc/include/asm/bitops.h +1
-4@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef _ASM_BITOPS_Harch/arc/include/asm/bug.h +1
-4@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef _ASM_ARC_BUG_Harch/arc/include/asm/cache.h +1
-4@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef __ARC_ASM_CACHE_Harch/arc/include/asm/cacheflush.h +1
-4@@ -1,10 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) * -* 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. -* * vineetg: May 2011: for Non-aliasing VIPT D-cache following can be NOPs * -flush_cache_dup_mm (fork) * -likewise for flush_cache_mm (exit/execve) arch/arc/include/asm/checksum.h +1
-4@@ -1,10 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) * -* 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. -* * Joern Rennecke <[email protected]>: Jan 2012 * -Insn Scheduling improvements to csum core routines. * = csum_fold( ) largely derived from ARM version. arch/arc/include/asm/cmpxchg.h +1
-4@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef __ASM_ARC_CMPXCHG_Harch/arc/include/asm/current.h +1
-4@@ -1,10 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) * -* 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. -* * Vineetg: May 16th, 2008 * - Current macro is now implemented as "global register" r25 */ arch/arc/include/asm/delay.h +1
-4@@ -1,10 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) * -* 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. -* * Delay routines using pre computed loops_per_jiffy value. * * vineetg: Feb 2012 arch/arc/include/asm/disasm.h +1
-4@@ -1,12 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * several functions that help interpret ARC instructions * used for unaligned accesses, kprobes and kgdb * * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef __ARC_DISASM_H__arch/arc/include/asm/dma.h +1
-4@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef ASM_ARC_DMA_H arch/arc/include/asm/dwarf.h +1
-4@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2016-17 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef _ASM_ARC_DWARF_Harch/arc/include/asm/elf.h +1
-4@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef __ASM_ARC_ELF_Harch/arc/include/asm/entry-compact.h +1
-4@@ -1,11 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) * -* 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. -* * Vineetg: March 2009 (Supporting 2 levels of Interrupts) * Stack switching code can no longer reliably rely on the fact that * if we are NOT in user mode, stack is switched to kernel mode. arch/arc/include/asm/entry.h +1
-4@@ -1,10 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef __ASM_ARC_ENTRY_Harch/arc/include/asm/exec.h +1
-4@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef __ASM_ARC_EXEC_Harch/arc/include/asm/futex.h +1
-4@@ -1,10 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) * -* 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. -* * Vineetg: August 2010: From Android kernel work */ arch/arc/include/asm/highmem.h +1
-5@@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2015 Synopsys, Inc. (www.synopsys.com) -* -* 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. -* */ #ifndef _ASM_HIGHMEM_H
arch/arc/include/asm/hugepage.h line 4
Quoted 4 lines
arch/arc/include/asm/hugepage.h +1
-0@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /*
Signature · 3 lines
Enrico Weigelt, metux IT consult Free software and Linux embedded engineering [email protected] -- +49-151-27565287
Re: [Batch 17 patch 49/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
In reply to Thomas GleixnerQuoted 12 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 2 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
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 #
Quoted 7 lines
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 4122 file(s).
Signed-off-by Thomas Gleixner <[email protected]>
Re: [Batch 17 patch 49/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
In reply to Thomas GleixnerQuoted 656 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 2 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
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 #
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 4122 file(s).
Signed-off-by Thomas Gleixner <[email protected]>arch/arc/Kconfig +0
-4-# 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. -# config ARC def_bool yarch/arc/Makefile +1
-4@@ -1,10 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) # -# 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. -# KBUILD_DEFCONFIG := nsim_hs_defconfigarch/arc/boot/dts/axc001.dtsi +1
-4@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2013-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /*arch/arc/boot/dts/axc003.dtsi +1
-4@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /*arch/arc/boot/dts/axc003_idu.dtsi +1
-4@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014, 2015 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /*arch/arc/boot/dts/axs101.dts +1
-4@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2013-15 Synopsys, Inc. (www.synopsys.com) * * ARC AXS101 S/W development platform - * - * 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. */ /dts-v1/;arch/arc/boot/dts/axs103.dts +1
-4@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /*arch/arc/boot/dts/axs103_idu.dts +1
-4@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /*arch/arc/boot/dts/axs10x_mb.dtsi +1
-4@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Support for peripherals on the AXS10x mainboard * * Copyright (C) 2013-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ / {arch/arc/boot/dts/haps_hs.dts +1
-4@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2016-2014 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /dts-v1/;arch/arc/boot/dts/haps_hs_idu.dts +1
-4@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2016-2014 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /dts-v1/;arch/arc/boot/dts/hsdk.dts +1
-4@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2017 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /*arch/arc/boot/dts/nsim_700.dts +1
-4@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /dts-v1/;arch/arc/boot/dts/nsim_hs.dts +1
-4@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /dts-v1/;arch/arc/boot/dts/nsim_hs_idu.dts +1
-4@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /dts-v1/;arch/arc/boot/dts/nsimosci.dts +1
-4@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2013 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /dts-v1/;arch/arc/boot/dts/nsimosci_hs.dts +1
-4@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /dts-v1/;arch/arc/boot/dts/nsimosci_hs_idu.dts +1
-4@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /dts-v1/;arch/arc/boot/dts/skeleton.dtsi +1
-4@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /*arch/arc/boot/dts/skeleton_hs.dtsi +1
-4@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2016 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ / {arch/arc/boot/dts/skeleton_hs_idu.dtsi +1
-4@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2016 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ / {arch/arc/boot/dts/vdk_axc003.dtsi +1
-4@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2013, 2014 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /*arch/arc/boot/dts/vdk_axc003_idu.dtsi +1
-4@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014, 2015 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /*arch/arc/boot/dts/vdk_axs10x_mb.dtsi +1
-4@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Support for peripherals on the AXS10x mainboard (VDK version) * * Copyright (C) 2013-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ / {arch/arc/boot/dts/vdk_hs38.dts +1
-4@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2013 Synopsys, Inc. (www.synopsys.com) * * ARC HS38 Virtual Development Kit (VDK) - * - * 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. */ /dts-v1/;arch/arc/boot/dts/vdk_hs38_smp.dts +1
-4@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2013 Synopsys, Inc. (www.synopsys.com) * * ARC HS38 Virtual Development Kit, SMP version (VDK) - * - * 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. */ /dts-v1/;arch/arc/include/asm/arcregs.h +1
-4@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef _ASM_ARC_ARCREGS_Harch/arc/include/asm/asm-offsets.h +1
-4@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #include <generated/asm-offsets.h> arch/arc/include/asm/atomic.h +1
-4@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef _ASM_ARC_ATOMIC_Harch/arc/include/asm/barrier.h +1
-4@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef __ASM_BARRIER_Harch/arc/include/asm/bitops.h +1
-4@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef _ASM_BITOPS_Harch/arc/include/asm/bug.h +1
-4@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef _ASM_ARC_BUG_Harch/arc/include/asm/cache.h +1
-4@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef __ARC_ASM_CACHE_Harch/arc/include/asm/cacheflush.h +1
-4@@ -1,10 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) * -* 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. -* * vineetg: May 2011: for Non-aliasing VIPT D-cache following can be NOPs * -flush_cache_dup_mm (fork) * -likewise for flush_cache_mm (exit/execve) arch/arc/include/asm/checksum.h +1
-4@@ -1,10 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) * -* 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. -* * Joern Rennecke <[email protected]>: Jan 2012 * -Insn Scheduling improvements to csum core routines. * = csum_fold( ) largely derived from ARM version. arch/arc/include/asm/cmpxchg.h +1
-4@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef __ASM_ARC_CMPXCHG_Harch/arc/include/asm/current.h +1
-4@@ -1,10 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) * -* 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. -* * Vineetg: May 16th, 2008 * - Current macro is now implemented as "global register" r25 */ arch/arc/include/asm/delay.h +1
-4@@ -1,10 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) * -* 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. -* * Delay routines using pre computed loops_per_jiffy value. * * vineetg: Feb 2012 arch/arc/include/asm/disasm.h +1
-4@@ -1,12 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * several functions that help interpret ARC instructions * used for unaligned accesses, kprobes and kgdb * * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef __ARC_DISASM_H__arch/arc/include/asm/dma.h +1
-4@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef ASM_ARC_DMA_H arch/arc/include/asm/dwarf.h +1
-4@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2016-17 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef _ASM_ARC_DWARF_Harch/arc/include/asm/elf.h +1
-4@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef __ASM_ARC_ELF_Harch/arc/include/asm/entry-compact.h +1
-4@@ -1,11 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) * -* 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. -* * Vineetg: March 2009 (Supporting 2 levels of Interrupts) * Stack switching code can no longer reliably rely on the fact that * if we are NOT in user mode, stack is switched to kernel mode. arch/arc/include/asm/entry.h +1
-4@@ -1,10 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef __ASM_ARC_ENTRY_Harch/arc/include/asm/exec.h +1
-4@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef __ASM_ARC_EXEC_Harch/arc/include/asm/futex.h +1
-4@@ -1,10 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) * -* 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. -* * Vineetg: August 2010: From Android kernel work */ arch/arc/include/asm/highmem.h +1
-5@@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2015 Synopsys, Inc. (www.synopsys.com) -* -* 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. -* */ #ifndef _ASM_HIGHMEM_Harch/arc/include/asm/hugepage.h +1
-0@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /*
Re: [Batch 17 patch 49/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
In reply to Thomas GleixnerQuoted 15 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 2 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
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 #
extracted by the scancode license scanner the SPDX license identifier
Quoted 8 lines
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 4122 file(s).
Signed-off-by Thomas Gleixner <[email protected]>
PATCH 50/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 501
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
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 see readme and copying for more details
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 9 file(s).
--- drivers/net/wireless/admtek/adm8211.c | 6 +----- drivers/net/wireless/intel/ipw2x00/libipw.h | 6 +----- drivers/net/wireless/intel/ipw2x00/libipw_rx.c | 6 +----- drivers/net/wireless/intersil/hostap/hostap_hw.c | 6 +----- drivers/net/wireless/intersil/hostap/hostap_main.c | 6 +----- lib/hexdump.c | 6 +----- net/wireless/lib80211_crypt_ccmp.c | 6 +----- net/wireless/lib80211_crypt_tkip.c | 6 +----- net/wireless/lib80211_crypt_wep.c | 6 +----- 9 files changed, 9 insertions(+), 45 deletions(-)
drivers/net/wireless/admtek/adm8211.c +1 -5
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Linux device driver for ADMtek ADM8211 (IEEE 802.11b MAC/BBP)
@@ -8,11 +9,6 @@* and used with permission. * * Much thanks to Infineon-ADMtek for their support of this driver. -* -* 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. See README and COPYING for -* more details. */ #include <linux/interrupt.h>
drivers/net/wireless/intel/ipw2x00/libipw.h +1 -5
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Merged with mainline ieee80211.h in Aug 2004. Original ieee802_11 * remains copyright by the original authors
@@ -13,11 +14,6 @@* <[email protected]> * Copyright (c) 2004-2005, Intel Corporation * -* 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. See README and COPYING for -* more details. -* * API Version History * 1.0.x -- Initial version * 1.1.x -- Added radiotap, QoS, TIM, libipw_geo APIs,
drivers/net/wireless/intel/ipw2x00/libipw_rx.c +1 -5
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Original code based Host AP (software wireless LAN access point) driver * for Intersil Prism2/2.5/3 - hostap.o module, common routines
@@ -6,11 +7,6 @@* <[email protected]> * Copyright (c) 2002-2003, Jouni Malinen <[email protected]> * Copyright (c) 2004-2005, Intel Corporation -* -* 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. See README and COPYING for -* more details. */ #include <linux/compiler.h>
drivers/net/wireless/intersil/hostap/hostap_hw.c +1 -5
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Host AP (software wireless LAN access point) driver for * Intersil Prism2/2.5/3.
@@ -6,11 +7,6 @@* <[email protected]> * Copyright (c) 2002-2005, Jouni Malinen <[email protected]> * -* 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. See README and COPYING for -* more details. -* * FIX: * - there is currently no way of associating TX packets to correct wds device * when TX Exc/OK event occurs, so all tx_packets and some
drivers/net/wireless/intersil/hostap/hostap_main.c +1 -5
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Host AP (software wireless LAN access point) driver for * Intersil Prism2/2.5/3 - hostap.o module, common routines
@@ -5,11 +6,6 @@* Copyright (c) 2001-2002, SSH Communications Security Corp and Jouni Malinen * <[email protected]> * Copyright (c) 2002-2005, Jouni Malinen <[email protected]> -* -* 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. See README and COPYING for -* more details. */ #include <linux/module.h>
lib/hexdump.c +1 -5
@@ -1,10 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * lib/hexdump.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. See README and COPYING for -* more details. */ #include <linux/types.h>
net/wireless/lib80211_crypt_ccmp.c +1 -5
@@ -1,13 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * lib80211 crypt: host-based CCMP encryption implementation for lib80211 * * Copyright (c) 2003-2004, Jouni Malinen <[email protected]> * Copyright (c) 2008, John W. Linville <[email protected]> -* -* 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. See README and COPYING for -* more details. */ #include <linux/kernel.h>
net/wireless/lib80211_crypt_tkip.c +1 -5
@@ -1,13 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * lib80211 crypt: host-based TKIP encryption implementation for lib80211 * * Copyright (c) 2003-2004, Jouni Malinen <[email protected]> * Copyright (c) 2008, John W. Linville <[email protected]> -* -* 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. See README and COPYING for -* more details. */ #define pr_fmt (fmt) KBUILD_MODNAME ": " fmt
net/wireless/lib80211_crypt_wep.c +1 -5
@@ -1,13 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * lib80211 crypt: host-based WEP encryption implementation for lib80211 * * Copyright (c) 2002-2004, Jouni Malinen <[email protected]> * Copyright (c) 2008, John W. Linville <[email protected]> -* -* 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. See README and COPYING for -* more details. */ #include <linux/err.h>
Re: [Batch 17 patch 50/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 501
Quoted 183 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
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 see readme and copying for more details
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-onlyhas been chosen to replace the boilerplate/reference in 9 file(s).
Signed-off-by Thomas Gleixner <[email protected]>--- drivers/net/wireless/admtek/adm8211.c | 6 +----- drivers/net/wireless/intel/ipw2x00/libipw.h | 6 +----- drivers/net/wireless/intel/ipw2x00/libipw_rx.c | 6 +----- drivers/net/wireless/intersil/hostap/hostap_hw.c | 6 +----- drivers/net/wireless/intersil/hostap/hostap_main.c | 6 +----- lib/hexdump.c | 6 +----- net/wireless/lib80211_crypt_ccmp.c | 6 +----- net/wireless/lib80211_crypt_tkip.c | 6 +----- net/wireless/lib80211_crypt_wep.c | 6 +----- 9 files changed, 9 insertions(+), 45 deletions(-)drivers/net/wireless/admtek/adm8211.c +1
-5@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Linux device driver for ADMtek ADM8211 (IEEE 802.11b MAC/BBP) @@ -8,11 +9,6 @@* and used with permission. * * Much thanks to Infineon-ADMtek for their support of this driver. -* -* 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. See README and COPYING for -* more details. */ #include <linux/interrupt.h> drivers/net/wireless/intel/ipw2x00/libipw.h +1
-5@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Merged with mainline ieee80211.h in Aug 2004. Original ieee802_11 * remains copyright by the original authors @@ -13,11 +14,6 @@* <[email protected]> * Copyright (c) 2004-2005, Intel Corporation * -* 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. See README and COPYING for -* more details. -* * API Version History * 1.0.x -- Initial version * 1.1.x -- Added radiotap, QoS, TIM, libipw_geo APIs, drivers/net/wireless/intel/ipw2x00/libipw_rx.c +1
-5@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Original code based Host AP (software wireless LAN access point) driver * for Intersil Prism2/2.5/3 - hostap.o module, common routines @@ -6,11 +7,6 @@* <[email protected]> * Copyright (c) 2002-2003, Jouni Malinen <[email protected]> * Copyright (c) 2004-2005, Intel Corporation -* -* 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. See README and COPYING for -* more details. */ #include <linux/compiler.h> drivers/net/wireless/intersil/hostap/hostap_hw.c +1
-5@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Host AP (software wireless LAN access point) driver for * Intersil Prism2/2.5/3. @@ -6,11 +7,6 @@* <[email protected]> * Copyright (c) 2002-2005, Jouni Malinen <[email protected]> * -* 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. See README and COPYING for -* more details. -* * FIX: * - there is currently no way of associating TX packets to correct wds device * when TX Exc/OK event occurs, so all tx_packets and some drivers/net/wireless/intersil/hostap/hostap_main.c +1
-5@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Host AP (software wireless LAN access point) driver for * Intersil Prism2/2.5/3 - hostap.o module, common routines @@ -5,11 +6,6 @@* Copyright (c) 2001-2002, SSH Communications Security Corp and Jouni Malinen * <[email protected]> * Copyright (c) 2002-2005, Jouni Malinen <[email protected]> -* -* 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. See README and COPYING for -* more details. */ #include <linux/module.h> lib/hexdump.c +1
-5@@ -1,10 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * lib/hexdump.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. See README and COPYING for -* more details. */ #include <linux/types.h> net/wireless/lib80211_crypt_ccmp.c +1
-5@@ -1,13 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * lib80211 crypt: host-based CCMP encryption implementation for lib80211 * * Copyright (c) 2003-2004, Jouni Malinen <[email protected]> * Copyright (c) 2008, John W. Linville <[email protected]> -* -* 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. See README and COPYING for -* more details. */ #include <linux/kernel.h> net/wireless/lib80211_crypt_tkip.c +1
-5@@ -1,13 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * lib80211 crypt: host-based TKIP encryption implementation for lib80211 * * Copyright (c) 2003-2004, Jouni Malinen <[email protected]> * Copyright (c) 2008, John W. Linville <[email protected]> -* -* 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. See README and COPYING for -* more details. */ #define pr_fmt (fmt) KBUILD_MODNAME ": " fmtnet/wireless/lib80211_crypt_wep.c +1
-0@@ -1,13 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * lib80211 crypt: host-based WEP encryption implementation for lib80211 *
net/wireless/lib80211_crypt_wep.c line 9
Quoted 10 lines
net/wireless/lib80211_crypt_wep.c +0
-5* Copyright (c) 2002-2004, Jouni Malinen <[email protected]> * Copyright (c) 2008, John W. Linville <[email protected]> -* -* 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. See README and COPYING for -* more details. */ #include <linux/err.h>
Signature · 3 lines
Enrico Weigelt, metux IT consult Free software and Linux embedded engineering [email protected] -- +49-151-27565287
Re: [Batch 17 patch 50/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 501
In reply to Thomas GleixnerQuoted 9 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
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 see readme and copying for more details
Quoted 7 lines
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 9 file(s).
Signed-off-by Thomas Gleixner <[email protected]>
Re: [Batch 17 patch 50/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 501
In reply to Thomas GleixnerQuoted 10 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
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 see readme and copying for more details
Quoted 7 lines
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 9 file(s).
Signed-off-by Thomas Gleixner <[email protected]>
PATCH 51/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 502
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
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 version 2 of the license 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 51 franklin st fifth floor boston ma 02110 1301 usa
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 1 file(s).
--- drivers/scsi/scsi_transport_srp.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-)
drivers/scsi/scsi_transport_srp.c +1 -15
@@ -1,22 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * SCSI RDMA (SRP) transport class * * Copyright (C) 2007 FUJITA Tomonori <[email protected]> -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License as -* published by the Free Software Foundation, version 2 of the -* License. -* -* 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., 51 Franklin St, Fifth Floor, Boston, MA -* 02110-1301 USA */ #include <linux/init.h> #include <linux/module.h>
Re: [Batch 17 patch 51/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 502
Quoted 47 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
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 version 2 of the license 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 51 franklin st fifth floor boston ma 02110 1301 usa
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-onlyhas been chosen to replace the boilerplate/reference in 1 file(s).
Signed-off-by Thomas Gleixner <[email protected]>--- drivers/scsi/scsi_transport_srp.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-)drivers/scsi/scsi_transport_srp.c +1
-8@@ -1,22 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * SCSI RDMA (SRP) transport class * * Copyright (C) 2007 FUJITA Tomonori <[email protected]> -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License as -* published by the Free Software Foundation, version 2 of the -* License. -* -* This program is distributed in the hope that it will be useful, but -* WITHOUT ANY WARRANTY; without even the implied warranty of
drivers/scsi/scsi_transport_srp.c line 8
Quoted 10 lines
drivers/scsi/scsi_transport_srp.c +0
-7-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -* General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software -* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA -* 02110-1301 USA */ #include <linux/init.h> #include <linux/module.h>
Signature · 3 lines
Enrico Weigelt, metux IT consult Free software and Linux embedded engineering [email protected] -- +49-151-27565287
Re: [Batch 17 patch 51/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 502
In reply to Thomas GleixnerQuoted 15 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
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 version 2 of the license 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 51 franklin st fifth floor boston ma 02110 1301 usa
Quoted 7 lines
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 1 file(s).
Signed-off-by Thomas Gleixner <[email protected]>
Re: [Batch 17 patch 51/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 502
In reply to Thomas GleixnerQuoted 16 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
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 version 2 of the license 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 51 franklin st fifth floor boston ma 02110 1301 usa
Quoted 7 lines
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 1 file(s).
Signed-off-by Thomas Gleixner <[email protected]>
PATCH 52/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 503
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
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 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-only
has been chosen to replace the boilerplate/reference in 1 file(s).
--- include/linux/kvm_types.h | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-)
include/linux/kvm_types.h +1 -15
@@ -1,18 +1,4 @@ -/* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License. -* -* 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. -* -*/ +/* SPDX-License-Identifier: GPL-2.0-only */ #ifndef __KVM_TYPES_H__#define __KVM_TYPES_H__
Re: [Batch 17 patch 52/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 503
Quoted 43 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
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 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-onlyhas been chosen to replace the boilerplate/reference in 1 file(s).
Signed-off-by Thomas Gleixner <[email protected]>--- include/linux/kvm_types.h | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-)include/linux/kvm_types.h +0
-9@@ -1,18 +1,4 @@ -/* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License. -* -* 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.
include/linux/kvm_types.h line 4
Quoted 10 lines
include/linux/kvm_types.h +1
-6-* -* 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. -* -*/ +/* SPDX-License-Identifier: GPL-2.0-only */ #ifndef __KVM_TYPES_H__#define __KVM_TYPES_H__
Signature · 3 lines
Enrico Weigelt, metux IT consult Free software and Linux embedded engineering [email protected] -- +49-151-27565287
Re: [Batch 17 patch 52/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 503
In reply to Thomas GleixnerQuoted 15 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
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 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
Quoted 7 lines
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 1 file(s).
Signed-off-by Thomas Gleixner <[email protected]>
Re: [Batch 17 patch 52/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 503
In reply to Thomas GleixnerQuoted 16 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
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 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
Quoted 7 lines
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 1 file(s).
Signed-off-by Thomas Gleixner <[email protected]>
PATCH 53/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 504
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this file is free software you can redistribute it and or modify it under the terms of version 2 of the gnu general public license as published by the free software foundation 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 51 franklin st fifth floor boston ma 02110 1301 usa
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 8 file(s).
--- arch/mips/lib/iomap_copy.c | 15 +-------------- arch/x86/lib/iomap_copy_64.S | 14 +------------- include/linux/io-mapping.h | 14 +------------- include/linux/io.h | 14 +------------- lib/iomap_copy.c | 14 +------------- virt/kvm/async_pf.c | 14 +------------- virt/kvm/async_pf.h | 14 +------------- virt/kvm/eventfd.c | 14 +------------- 8 files changed, 8 insertions(+), 105 deletions(-)
arch/mips/lib/iomap_copy.c +1 -14
@@ -1,17 +1,4 @@ -/* -* This file is free software; you can redistribute it and/or modify -* it under the terms of version 2 of the GNU General Public License -* as published by the Free Software Foundation. -* -* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. -*/ +// SPDX-License-Identifier: GPL-2.0-only #include <linux/export.h> #include <linux/io.h>
arch/x86/lib/iomap_copy_64.S +1 -13
@@ -1,18 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2006 PathScale, Inc. All Rights Reserved. - * - * This file is free software; you can redistribute it and/or modify - * it under the terms of version 2 of the GNU General Public License - * as published by the Free Software Foundation. - * - * 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */ #include <linux/linkage.h>
include/linux/io-mapping.h +1 -13
@@ -1,18 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright © 2008 Keith Packard <[email protected]> -* -* This file is free software; you can redistribute it and/or modify -* it under the terms of version 2 of the GNU General Public License -* as published by the Free Software Foundation. -* -* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _LINUX_IO_MAPPING_H
include/linux/io.h +1 -13
@@ -1,18 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2006 PathScale, Inc. All Rights Reserved. -* -* This file is free software; you can redistribute it and/or modify -* it under the terms of version 2 of the GNU General Public License -* as published by the Free Software Foundation. -* -* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _LINUX_IO_H
lib/iomap_copy.c +1 -13
@@ -1,18 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright 2006 PathScale, Inc. All Rights Reserved. -* -* This file is free software; you can redistribute it and/or modify -* it under the terms of version 2 of the GNU General Public License -* as published by the Free Software Foundation. -* -* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */ #include <linux/export.h>
virt/kvm/async_pf.c +1 -13
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * kvm asynchronous fault support *
@@ -5,19 +6,6 @@* * Author: * Gleb Natapov <[email protected]> -* -* This file is free software; you can redistribute it and/or modify -* it under the terms of version 2 of the GNU General Public License -* as published by the Free Software Foundation. -* -* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */ #include <linux/kvm_host.h>
virt/kvm/async_pf.h +1 -13
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * kvm asynchronous fault support *
@@ -5,19 +6,6 @@* * Author: * Gleb Natapov <[email protected]> -* -* This file is free software; you can redistribute it and/or modify -* it under the terms of version 2 of the GNU General Public License -* as published by the Free Software Foundation. -* -* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef __KVM_ASYNC_PF_H__
virt/kvm/eventfd.c +1 -13
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * kvm eventfd support - use eventfd objects to signal various KVM events *
@@ -6,19 +7,6 @@* * Author: * Gregory Haskins <[email protected]> -* -* This file is free software; you can redistribute it and/or modify -* it under the terms of version 2 of the GNU General Public License -* as published by the Free Software Foundation. -* -* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */ #include <linux/kvm_host.h>
Re: [Batch 17 patch 53/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 504
Quoted 218 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this file is free software you can redistribute it and or modify it under the terms of version 2 of the gnu general public license as published by the free software foundation 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 51 franklin st fifth floor boston ma 02110 1301 usa
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-onlyhas been chosen to replace the boilerplate/reference in 8 file(s).
Signed-off-by Thomas Gleixner <[email protected]>--- arch/mips/lib/iomap_copy.c | 15 +-------------- arch/x86/lib/iomap_copy_64.S | 14 +------------- include/linux/io-mapping.h | 14 +------------- include/linux/io.h | 14 +------------- lib/iomap_copy.c | 14 +------------- virt/kvm/async_pf.c | 14 +------------- virt/kvm/async_pf.h | 14 +------------- virt/kvm/eventfd.c | 14 +------------- 8 files changed, 8 insertions(+), 105 deletions(-)arch/mips/lib/iomap_copy.c +1
-14@@ -1,17 +1,4 @@ -/* -* This file is free software; you can redistribute it and/or modify -* it under the terms of version 2 of the GNU General Public License -* as published by the Free Software Foundation. -* -* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. -*/ +// SPDX-License-Identifier: GPL-2.0-only #include <linux/export.h> #include <linux/io.h> arch/x86/lib/iomap_copy_64.S +1
-13@@ -1,18 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2006 PathScale, Inc. All Rights Reserved. - * - * This file is free software; you can redistribute it and/or modify - * it under the terms of version 2 of the GNU General Public License - * as published by the Free Software Foundation. - * - * 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */ #include <linux/linkage.h>include/linux/io-mapping.h +1
-13@@ -1,18 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright © 2008 Keith Packard <[email protected]> -* -* This file is free software; you can redistribute it and/or modify -* it under the terms of version 2 of the GNU General Public License -* as published by the Free Software Foundation. -* -* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _LINUX_IO_MAPPING_Hinclude/linux/io.h +1
-13@@ -1,18 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2006 PathScale, Inc. All Rights Reserved. -* -* This file is free software; you can redistribute it and/or modify -* it under the terms of version 2 of the GNU General Public License -* as published by the Free Software Foundation. -* -* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _LINUX_IO_Hlib/iomap_copy.c +1
-13@@ -1,18 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright 2006 PathScale, Inc. All Rights Reserved. -* -* This file is free software; you can redistribute it and/or modify -* it under the terms of version 2 of the GNU General Public License -* as published by the Free Software Foundation. -* -* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */ #include <linux/export.h> virt/kvm/async_pf.c +1
-13@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * kvm asynchronous fault support * @@ -5,19 +6,6 @@* * Author: * Gleb Natapov <[email protected]> -* -* This file is free software; you can redistribute it and/or modify -* it under the terms of version 2 of the GNU General Public License -* as published by the Free Software Foundation. -* -* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */ #include <linux/kvm_host.h> virt/kvm/async_pf.h +1
-13@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * kvm asynchronous fault support * @@ -5,19 +6,6 @@* * Author: * Gleb Natapov <[email protected]> -* -* This file is free software; you can redistribute it and/or modify -* it under the terms of version 2 of the GNU General Public License -* as published by the Free Software Foundation. -* -* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef __KVM_ASYNC_PF_H__virt/kvm/eventfd.c +1
-6@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * kvm eventfd support - use eventfd objects to signal various KVM events * @@ -6,19 +7,6 @@* * Author: * Gregory Haskins <[email protected]> -* -* This file is free software; you can redistribute it and/or modify -* it under the terms of version 2 of the GNU General Public License -* as published by the Free Software Foundation. -* -* This program is distributed in the hope that it will be useful,
virt/kvm/eventfd.c line 12
Quoted 10 lines
virt/kvm/eventfd.c +0
-7-* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software Foundation, -* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */ #include <linux/kvm_host.h>
Signature · 3 lines
Enrico Weigelt, metux IT consult Free software and Linux embedded engineering [email protected] -- +49-151-27565287
Re: [Batch 17 patch 53/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 504
In reply to Thomas GleixnerQuoted 15 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this file is free software you can redistribute it and or modify it under the terms of version 2 of the gnu general public license as published by the free software foundation 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 51 franklin st fifth floor boston ma 02110 1301 usa
Quoted 7 lines
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 8 file(s).
Signed-off-by Thomas Gleixner <[email protected]>
Re: [Batch 17 patch 53/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 504
In reply to Thomas GleixnerQuoted 16 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this file is free software you can redistribute it and or modify it under the terms of version 2 of the gnu general public license as published by the free software foundation 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 51 franklin st fifth floor boston ma 02110 1301 usa
Quoted 7 lines
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 8 file(s).
Signed-off-by Thomas Gleixner <[email protected]>
PATCH 54/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 505
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
gplv2
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 58 file(s).
--- arch/powerpc/kernel/swsusp_64.c | 3 +-- arch/powerpc/kernel/swsusp_asm64.S | 3 +-- drivers/char/tpm/tpmrm-dev.c | 3 +-- lib/test_stackinit.c | 2 +- net/mac80211/debugfs.c | 4 +--- samples/bpf/xdp_redirect_cpu_user.c | 3 ++- scripts/coccinelle/api/alloc/alloc_cast.cocci | 5 +++-- scripts/coccinelle/api/alloc/pool_zalloc-simple.cocci | 3 ++- scripts/coccinelle/api/alloc/zalloc-simple.cocci | 7 ++++--- scripts/coccinelle/api/check_bq27xxx_data.cocci | 3 ++- scripts/coccinelle/api/err_cast.cocci | 7 ++++--- scripts/coccinelle/api/kstrdup.cocci | 7 ++++--- scripts/coccinelle/api/memdup.cocci | 7 ++++--- scripts/coccinelle/api/memdup_user.cocci | 7 ++++--- scripts/coccinelle/api/pm_runtime.cocci | 3 ++- scripts/coccinelle/api/ptr_ret.cocci | 5 +++-- scripts/coccinelle/api/resource_size.cocci | 7 ++++--- scripts/coccinelle/free/clk_put.cocci | 5 +++-- scripts/coccinelle/free/devm_free.cocci | 5 +++-- scripts/coccinelle/free/ifnullfree.cocci | 3 ++- scripts/coccinelle/free/iounmap.cocci | 5 +++-- scripts/coccinelle/free/kfree.cocci | 7 ++++--- scripts/coccinelle/free/kfreeaddr.cocci | 3 ++- scripts/coccinelle/free/pci_free_consistent.cocci | 3 ++- scripts/coccinelle/iterators/device_node_continue.cocci | 3 ++- scripts/coccinelle/iterators/fen.cocci | 7 ++++--- scripts/coccinelle/iterators/itnull.cocci | 7 ++++--- scripts/coccinelle/iterators/list_entry_update.cocci | 7 ++++--- scripts/coccinelle/iterators/use_after_iter.cocci | 5 +++-- scripts/coccinelle/locks/call_kern.cocci | 7 ++++--- scripts/coccinelle/locks/double_lock.cocci | 7 ++++--- scripts/coccinelle/locks/flags.cocci | 7 ++++--- scripts/coccinelle/locks/mini_lock.cocci | 7 ++++--- scripts/coccinelle/misc/array_size.cocci | 3 ++- scripts/coccinelle/misc/badty.cocci | 3 ++- scripts/coccinelle/misc/boolconv.cocci | 3 ++- scripts/coccinelle/misc/boolinit.cocci | 5 +++-- scripts/coccinelle/misc/bugon.cocci | 3 ++- scripts/coccinelle/misc/cond_no_effect.cocci | 3 ++- scripts/coccinelle/misc/cstptr.cocci | 5 +++-- scripts/coccinelle/misc/doubleinit.cocci | 7 ++++--- scripts/coccinelle/misc/ifaddr.cocci | 5 +++-- scripts/coccinelle/misc/ifcol.cocci | 7 ++++--- scripts/coccinelle/misc/noderef.cocci | 5 +++-- scripts/coccinelle/misc/orplus.cocci | 5 +++-- scripts/coccinelle/misc/returnvar.cocci | 3 ++- scripts/coccinelle/misc/semicolon.cocci | 3 ++- scripts/coccinelle/misc/warn.cocci | 5 +++-- scripts/coccinelle/null/badzero.cocci | 5 +++-- scripts/coccinelle/null/deref_null.cocci | 7 ++++--- scripts/coccinelle/null/eno.cocci | 7 ++++--- scripts/coccinelle/null/kmerr.cocci | 7 ++++--- scripts/coccinelle/tests/doublebitand.cocci | 7 ++++--- scripts/coccinelle/tests/doubletest.cocci | 7 ++++--- scripts/coccinelle/tests/odd_ptr_err.cocci | 5 +++-- scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci | 3 ++- tools/laptop/freefall/freefall.c | 3 +-- 57 files changed, 164 insertions(+), 119 deletions(-)
arch/powerpc/kernel/swsusp_64.c +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * PowerPC 64-bit swsusp implementation * * Copyright 2006 Johannes Berg <[email protected]> -* -* GPLv2 */ #include <asm/iommu.h>
arch/powerpc/kernel/swsusp_asm64.S +1 -2
@@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * PowerPC 64-bit swsusp implementation * * Copyright 2006 Johannes Berg <[email protected]> - * - * GPLv2 */ #include <linux/threads.h>
drivers/char/tpm/tpmrm-dev.c +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2017 [email protected] -* -* GPLv2 */ #include <linux/slab.h> #include "tpm-dev.h"
lib/test_stackinit.c +1 -1
@@ -1,4 +1,4 @@ -// SPDX-Licenses: GPLv2 +// SPDX-License-Identifier: GPL-2.0-only /* * Test cases for compiler-based stack variable zeroing via future * compiler flags or CONFIG_GCC_PLUGIN_STRUCTLEAK*.
net/mac80211/debugfs.c +1 -3
@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * mac80211 debugfs for wireless PHYs * * Copyright 2007 Johannes Berg <[email protected]> * Copyright 2013-2014 Intel Mobile Communications GmbH * Copyright (C) 2018 - 2019 Intel Corporation -* -* GPLv2 -* */ #include <linux/debugfs.h>
samples/bpf/xdp_redirect_cpu_user.c +2 -1
@@ -1,4 +1,5 @@ -/* GPLv2 Copyright(c) 2017 Jesper Dangaard Brouer, Red Hat, Inc. +// SPDX-License-Identifier: GPL-2.0-only +/* Copyright(c) 2017 Jesper Dangaard Brouer, Red Hat, Inc. */ static const char *__doc__ =" XDP redirect with a CPU-map type \"BPF_MAP_TYPE_CPUMAP\"" ;
scripts/coccinelle/api/alloc/alloc_cast.cocci +3 -2
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Remove casting the values returned by memory allocation functions /// like kmalloc, kzalloc, kmem_cache_alloc, kmem_cache_zalloc etc. ///
@@ -8,8 +9,8 @@ //# need some reformatting. // // Confidence: High -// Copyright: (C) 2014 Himangi Saraogi GPLv2. -// Copyright: (C) 2017 Himanshu Jha GPLv2. +// Copyright: (C) 2014 Himangi Saraogi +// Copyright: (C) 2017 Himanshu Jha // Comments: // Options: --no-includes --include-headers //
scripts/coccinelle/api/alloc/pool_zalloc-simple.cocci +2 -1
@@ -1,7 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /// /// Use *_pool_zalloc rather than *_pool_alloc followed by memset with 0 /// -// Copyright: (C) 2015 Intel Corp. GPLv2. +// Copyright: (C) 2015 Intel Corp. // Options: --no-includes --include-headers // // Keywords: dma_pool_zalloc, pci_pool_zalloc
scripts/coccinelle/api/alloc/zalloc-simple.cocci +4 -3
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /// /// Use zeroing allocator rather than allocator followed by memset with 0 ///
@@ -6,9 +7,9 @@ /// matched code has to be contiguous /// // Confidence: High -// Copyright: (C) 2009-2010 Julia Lawall, Nicolas Palix, DIKU. GPLv2. -// Copyright: (C) 2009-2010 Gilles Muller, INRIA/LiP6. GPLv2. -// Copyright: (C) 2017 Himanshu Jha GPLv2. +// Copyright: (C) 2009-2010 Julia Lawall, Nicolas Palix, DIKU. +// Copyright: (C) 2009-2010 Gilles Muller, INRIA/LiP6. +// Copyright: (C) 2017 Himanshu Jha // URL: http://coccinelle.lip6.fr/rules/kzalloc.html // Options: --no-includes --include-headers //
scripts/coccinelle/api/check_bq27xxx_data.cocci +2 -1
@@ -1,10 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Detect BQ27XXX_DATA structures with identical registers, dm registers or /// properties. //# Doesn't unfold macros used in register or property fields. //# Requires OCaml scripting /// // Confidence: High -// Copyright: (C) 2017 Julia Lawall, Inria/LIP6, GPLv2. +// Copyright: (C) 2017 Julia Lawall, Inria/LIP6, // URL: http://coccinelle.lip6.fr/ // Requires: 1.0.7 // Keywords: BQ27XXX_DATA
scripts/coccinelle/api/err_cast.cocci +4 -3
@@ -1,10 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0-only /// /// Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(...)) /// // Confidence: High -// Copyright: (C) 2009, 2010 Nicolas Palix, DIKU. GPLv2. -// Copyright: (C) 2009, 2010 Julia Lawall, DIKU. GPLv2. -// Copyright: (C) 2009, 2010 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2009, 2010 Nicolas Palix, DIKU. +// Copyright: (C) 2009, 2010 Julia Lawall, DIKU. +// Copyright: (C) 2009, 2010 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Options: //
scripts/coccinelle/api/kstrdup.cocci +4 -3
@@ -1,9 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Use kstrdup rather than duplicating its implementation /// // Confidence: High -// Copyright: (C) 2010-2012 Nicolas Palix. GPLv2. -// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2010-2012 Nicolas Palix. +// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/api/memdup.cocci +4 -3
@@ -1,9 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Use kmemdup rather than duplicating its implementation /// // Confidence: High -// Copyright: (C) 2010-2012 Nicolas Palix. GPLv2. -// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2010-2012 Nicolas Palix. +// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/api/memdup_user.cocci +4 -3
@@ -1,10 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Use memdup_user rather than duplicating its implementation /// This is a little bit restricted to reduce false positives /// // Confidence: High -// Copyright: (C) 2010-2012 Nicolas Palix. GPLv2. -// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2010-2012 Nicolas Palix. +// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/api/pm_runtime.cocci +2 -1
@@ -1,8 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Make sure pm_runtime_* calls does not use unnecessary IS_ERR_VALUE /// // Keywords: pm_runtime // Confidence: Medium -// Copyright (C) 2013 Texas Instruments Incorporated - GPLv2. +// Copyright (C) 2013 Texas Instruments Incorporated - // URL: http://coccinelle.lip6.fr/ // Options: --include-headers
scripts/coccinelle/api/ptr_ret.cocci +3 -2
@@ -1,9 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /// /// Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR /// // Confidence: High -// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Options: --no-includes --include-headers //
scripts/coccinelle/api/resource_size.cocci +4 -3
@@ -1,11 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-only /// /// Use resource_size function on resource object /// instead of explicit computation. /// // Confidence: High -// Copyright: (C) 2009, 2010 Nicolas Palix, DIKU. GPLv2. -// Copyright: (C) 2009, 2010 Julia Lawall, DIKU. GPLv2. -// Copyright: (C) 2009, 2010 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2009, 2010 Nicolas Palix, DIKU. +// Copyright: (C) 2009, 2010 Julia Lawall, DIKU. +// Copyright: (C) 2009, 2010 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Options: //
scripts/coccinelle/free/clk_put.cocci +3 -2
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Find missing clk_puts. /// //# This only signals a missing clk_put when there is a clk_put later
@@ -5,8 +6,8 @@ //# False positives can be due to loops. // // Confidence: Moderate -// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options:
scripts/coccinelle/free/devm_free.cocci +3 -2
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Find uses of standard freeing functons on values allocated using devm_ /// functions. Values allocated using the devm_functions are freed when /// the device is detached, and thus the use of the standard freeing
@@ -14,8 +15,8 @@ /// less reliable in these cases. /// // Confidence: Moderate -// Copyright: (C) 2011 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2011 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2011 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2011 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/free/ifnullfree.cocci +2 -1
@@ -1,10 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0-only /// NULL check before some freeing functions is not needed. /// /// Based on checkpatch warning /// "kfree(NULL) is safe this check is probably not required" /// and kfreeaddr.cocci by Julia Lawall. /// -// Copyright: (C) 2014 Fabian Frederick. GPLv2. +// Copyright: (C) 2014 Fabian Frederick. // Comments: - // Options: --no-includes --include-headers
scripts/coccinelle/free/iounmap.cocci +3 -2
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Find missing iounmaps. /// //# This only signals a missing iounmap when there is an iounmap later
@@ -5,8 +6,8 @@ //# False positives can be due to loops. // // Confidence: Moderate -// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options:
scripts/coccinelle/free/kfree.cocci +4 -3
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Find a use after free. //# Values of variables may imply that some //# execution paths are not possible, resulting in false positives.
@@ -5,9 +6,9 @@ //# SCTP_DBG_OBJCNT_DEC that do not actually evaluate their argument /// // Confidence: Moderate -// Copyright: (C) 2010-2012 Nicolas Palix. GPLv2. -// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2010-2012 Nicolas Palix. +// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/free/kfreeaddr.cocci +2 -1
@@ -1,7 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Free of a structure field /// // Confidence: High -// Copyright: (C) 2013 Julia Lawall, INRIA/LIP6. GPLv2. +// Copyright: (C) 2013 Julia Lawall, INRIA/LIP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/free/pci_free_consistent.cocci +2 -1
@@ -1,7 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Find missing pci_free_consistent for every pci_alloc_consistent. /// // Confidence: Moderate -// Copyright: (C) 2013 Petr Strnad. GPLv2. +// Copyright: (C) 2013 Petr Strnad. // URL: http://coccinelle.lip6.fr/ // Keywords: pci_free_consistent, pci_alloc_consistent // Options: --no-includes --include-headers
scripts/coccinelle/iterators/device_node_continue.cocci +2 -1
@@ -1,8 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Device node iterators put the previous value of the index variable, so an /// explicit put causes a double put. /// // Confidence: High -// Copyright: (C) 2015 Julia Lawall, Inria. GPLv2. +// Copyright: (C) 2015 Julia Lawall, Inria. // URL: http://coccinelle.lip6.fr/ // Options: --no-includes --include-headers // Requires: 1.0.4
scripts/coccinelle/iterators/fen.cocci +4 -3
@@ -1,10 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0-only /// These iterators only exit normally when the loop cursor is NULL, so there /// is no point to call of_node_put on the final value. /// // Confidence: High -// Copyright: (C) 2010-2012 Nicolas Palix. GPLv2. -// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2010-2012 Nicolas Palix. +// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/iterators/itnull.cocci +4 -3
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Many iterators have the property that the first argument is always bound /// to a real list element, never NULL. //# False positives arise for some iterators that do not have this property,
@@ -6,9 +7,9 @@ //# or return). /// // Confidence: Moderate -// Copyright: (C) 2010-2012 Nicolas Palix. GPLv2. -// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2010-2012 Nicolas Palix. +// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/iterators/list_entry_update.cocci +4 -3
@@ -1,12 +1,13 @@ +// SPDX-License-Identifier: GPL-2.0-only /// list_for_each_entry uses its first argument to get from one element of /// the list to the next, so it is usually not a good idea to reassign it. /// The first rule finds such a reassignment and the second rule checks /// that there is a path from the reassignment back to the top of the loop. /// // Confidence: High -// Copyright: (C) 2010 Nicolas Palix, DIKU. GPLv2. -// Copyright: (C) 2010 Julia Lawall, DIKU. GPLv2. -// Copyright: (C) 2010 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2010 Nicolas Palix, DIKU. +// Copyright: (C) 2010 Julia Lawall, DIKU. +// Copyright: (C) 2010 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/iterators/use_after_iter.cocci +3 -2
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /// If list_for_each_entry, etc complete a traversal of the list, the iterator /// variable ends up pointing to an address at an offset from the list head, /// and not a meaningful structure. Thus this value should not be used after
@@ -7,8 +8,8 @@ //#may also cause a report to be a false positive. /// // Confidence: Moderate -// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2012 Gilles Muller, INRIA/LIP6. GPLv2. +// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2012 Gilles Muller, INRIA/LIP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/locks/call_kern.cocci +4 -3
@@ -1,12 +1,13 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Find functions that refer to GFP_KERNEL but are called with locks held. //# The proposed change of converting the GFP_KERNEL is not necessarily the //# correct one. It may be desired to unlock the lock, or to not call the //# function under the lock in the first place. /// // Confidence: Moderate -// Copyright: (C) 2012 Nicolas Palix. GPLv2. -// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2012 Nicolas Palix. +// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/locks/double_lock.cocci +4 -3
@@ -1,11 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Find double locks. False positives may occur when some paths cannot /// occur at execution, due to the values of variables, and when there is /// an intervening function call that releases the lock. /// // Confidence: Moderate -// Copyright: (C) 2010 Nicolas Palix, DIKU. GPLv2. -// Copyright: (C) 2010 Julia Lawall, DIKU. GPLv2. -// Copyright: (C) 2010 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2010 Nicolas Palix, DIKU. +// Copyright: (C) 2010 Julia Lawall, DIKU. +// Copyright: (C) 2010 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/locks/flags.cocci +4 -3
@@ -1,9 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Find nested lock+irqsave functions that use the same flags variables /// // Confidence: High -// Copyright: (C) 2010-2012 Nicolas Palix. GPLv2. -// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2010-2012 Nicolas Palix. +// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/locks/mini_lock.cocci +4 -3
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Find missing unlocks. This semantic match considers the specific case /// where the unlock is missing from an if branch, and there is a lock /// before the if and an unlock after the if. False positives are due to
@@ -6,9 +7,9 @@ /// function call that releases the lock. /// // Confidence: Moderate -// Copyright: (C) 2010-2012 Nicolas Palix. GPLv2. -// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2010-2012 Nicolas Palix. +// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/misc/array_size.cocci +2 -1
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element /// //# This makes an effort to find cases where ARRAY_SIZE can be used such as
@@ -6,7 +7,7 @@ //# division of the two sizeofs by ARRAY_SIZE. // // Confidence: High -// Copyright: (C) 2014 Himangi Saraogi. GPLv2. +// Copyright: (C) 2014 Himangi Saraogi. // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/misc/badty.cocci +2 -1
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Correct the size argument to alloc functions /// //# This makes an effort to find cases where the argument to sizeof is wrong
@@ -8,7 +9,7 @@ //# may need some reformatting. // // Confidence: Moderate -// Copyright: (C) 2014 Himangi Saraogi. GPLv2. +// Copyright: (C) 2014 Himangi Saraogi. // Comments: // Options:
scripts/coccinelle/misc/boolconv.cocci +2 -1
@@ -1,9 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Remove unneeded conversion to bool /// //# Relational and logical operators evaluate to bool, //# explicit conversion is overly verbose and unneeded. // -// Copyright: (C) 2016 Andrew F. Davis <[email protected]> GPLv2. +// Copyright: (C) 2016 Andrew F. Davis <[email protected]> virtual patch virtual context
scripts/coccinelle/misc/boolinit.cocci +3 -2
@@ -1,10 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Bool initializations should use true and false. Bool tests don't need /// comparisons. Based on contributions from Joe Perches, Rusty Russell /// and Bruce W Allan. /// // Confidence: High -// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Options: --include-headers
scripts/coccinelle/misc/bugon.cocci +2 -1
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Use BUG_ON instead of a if condition followed by BUG. /// //# This makes an effort to find cases where BUG() follows an if
@@ -6,7 +7,7 @@ //# as argument. // // Confidence: High -// Copyright: (C) 2014 Himangi Saraogi. GPLv2. +// Copyright: (C) 2014 Himangi Saraogi. // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/misc/cond_no_effect.cocci +2 -1
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only ///Find conditions where if and else branch are functionally // identical. //
@@ -37,7 +38,7 @@ // All other cases look like bugs or at least lack of documentation // // Confidence: Moderate -// Copyright: (C) 2016 Nicholas Mc Guire, OSADL. GPLv2. +// Copyright: (C) 2016 Nicholas Mc Guire, OSADL. // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/misc/cstptr.cocci +3 -2
@@ -1,9 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /// PTR_ERR should be applied before its argument is reassigned, typically /// to NULL /// // Confidence: High -// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/misc/doubleinit.cocci +4 -3
@@ -1,11 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Find duplicate field initializations. This has a high rate of false /// positives due to #ifdefs, which Coccinelle is not aware of in a structure /// initialization. /// // Confidence: Low -// Copyright: (C) 2010-2012 Nicolas Palix. GPLv2. -// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2010-2012 Nicolas Palix. +// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: requires at least Coccinelle 0.2.4, lex or parse error otherwise // Options: --no-includes --include-headers
scripts/coccinelle/misc/ifaddr.cocci +3 -2
@@ -1,8 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /// The address of a variable or field is likely always to be non-zero. /// // Confidence: High -// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/misc/ifcol.cocci +4 -3
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Find confusingly indented code in or after an if. An if branch should /// be indented. The code following an if should not be indented. /// Sometimes, code after an if that is indented is actually intended to be
@@ -8,9 +9,9 @@ //# is not visually aligned may be considered to be in the same column. // // Confidence: Low -// Copyright: (C) 2010 Nicolas Palix, DIKU. GPLv2. -// Copyright: (C) 2010 Julia Lawall, DIKU. GPLv2. -// Copyright: (C) 2010 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2010 Nicolas Palix, DIKU. +// Copyright: (C) 2010 Julia Lawall, DIKU. +// Copyright: (C) 2010 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/misc/noderef.cocci +3 -2
@@ -1,9 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /// sizeof when applied to a pointer typed expression gives the size of /// the pointer /// // Confidence: High -// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/misc/orplus.cocci +3 -2
@@ -1,10 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Check for constants that are added but are used elsewhere as bitmasks /// The results should be checked manually to ensure that the nonzero /// bits in the two constants are actually disjoint. /// // Confidence: Moderate -// Copyright: (C) 2013 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2013 Gilles Muller, INRIA/LIP6. GPLv2. +// Copyright: (C) 2013 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2013 Gilles Muller, INRIA/LIP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/misc/returnvar.cocci +2 -1
@@ -1,8 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /// /// Remove unneeded variable used to store return value. /// // Confidence: Moderate -// Copyright: (C) 2012 Peter Senna Tschudin, INRIA/LIP6. GPLv2. +// Copyright: (C) 2012 Peter Senna Tschudin, INRIA/LIP6. // URL: http://coccinelle.lip6.fr/ // Comments: Comments on code can be deleted if near code that is removed. // "when strict" can be removed to get more hits, but adds false
scripts/coccinelle/misc/semicolon.cocci +2 -1
@@ -1,8 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /// /// Remove unneeded semicolon. /// // Confidence: Moderate -// Copyright: (C) 2012 Peter Senna Tschudin, INRIA/LIP6. GPLv2. +// Copyright: (C) 2012 Peter Senna Tschudin, INRIA/LIP6. // URL: http://coccinelle.lip6.fr/ // Comments: Some false positives on empty default cases in switch statements. // Options: --no-includes --include-headers
scripts/coccinelle/misc/warn.cocci +3 -2
@@ -1,8 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Use WARN(1,...) rather than printk followed by WARN_ON(1) /// // Confidence: High -// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/null/badzero.cocci +3 -2
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Compare pointer-typed values to NULL rather than 0 /// //# This makes an effort to choose between !x and x == NULL. !x is used
@@ -7,8 +8,8 @@ //# include path. // // Confidence: High -// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Requires: 1.0.0 // Options:
scripts/coccinelle/null/deref_null.cocci +4 -3
@@ -1,11 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-only /// /// A variable is dereferenced under a NULL test. /// Even though it is known to be NULL. /// // Confidence: Moderate -// Copyright: (C) 2010 Nicolas Palix, DIKU. GPLv2. -// Copyright: (C) 2010 Julia Lawall, DIKU. GPLv2. -// Copyright: (C) 2010 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2010 Nicolas Palix, DIKU. +// Copyright: (C) 2010 Julia Lawall, DIKU. +// Copyright: (C) 2010 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: -I ... -all_includes can give more complete results // Options:
scripts/coccinelle/null/eno.cocci +3 -3
@@ -1,9 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /// The various basic memory allocation functions don't return ERR_PTR /// // Confidence: High -// Copyright: (C) 2010-2012 Nicolas Palix. GPLv2. -// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2010-2012 Nicolas Palix. +// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6.
Re: [Batch 17 patch 54/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 505
On 04.06.19 08:11, Thomas Gleixner wrote:
<snip>
Quoted 1 line
---
a/scripts/coccinelle/api/pm_runtime.cocci> +++b/scripts/coccinelle/api/pm_runtime.cocci> @@ -1,8 +1,9 @@> +//
SPDX-License-Identifier: GPL-2.0-only> /// Make sure pm_runtime_* calls does not use unnecessary IS_ERR_VALUE> ///> // Keywords: pm_runtime> // Confidence: Medium> -// Copyright (C) 2013 Texas Instruments Incorporated - GPLv2.> +// Copyright (C) 2013 Texas Instruments Incorporated -
maybe also take away the trailing " -" ?
anyways,
Signature · 3 lines
Enrico Weigelt, metux IT consult Free software and Linux embedded engineering [email protected] -- +49-151-27565287
Re: [Batch 17 patch 54/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 505
In reply to Thomas GleixnerQuoted 6 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
gplv2
Quoted 7 lines
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 58 file(s).
Signed-off-by Thomas Gleixner <[email protected]>
Re: [Batch 17 patch 54/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 505
In reply to Thomas GleixnerQuoted 7 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
gplv2
Quoted 7 lines
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 58 file(s).
Signed-off-by Thomas Gleixner <[email protected]>
PATCH 55/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 506
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this software program is licensed subject to the gnu general public license gpl version 2 june 1991 available at http www fsf org copyleft gpl html
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 4 file(s).
--- arch/arm/mach-mmp/pm-mmp2.c | 4 +--- arch/arm/mach-mmp/pm-mmp2.h | 4 +--- arch/arm/mach-mmp/pm-pxa910.c | 4 +--- arch/arm/mach-mmp/pm-pxa910.h | 4 +--- 4 files changed, 4 insertions(+), 12 deletions(-)
arch/arm/mach-mmp/pm-mmp2.c +1 -3
@@ -1,9 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * MMP2 Power Management Routines * -* This software program is licensed subject to the GNU General Public License -* (GPL).Version 2,June 1991, available at http://www.fsf.org/copyleft/gpl.html -* * (C) Copyright 2012 Marvell International Ltd. * All Rights Reserved */
arch/arm/mach-mmp/pm-mmp2.h +1 -3
@@ -1,9 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * MMP2 Power Management Routines * -* This software program is licensed subject to the GNU General Public License -* (GPL).Version 2,June 1991, available at http://www.fsf.org/copyleft/gpl.html -* * (C) Copyright 2010 Marvell International Ltd. * All Rights Reserved */
arch/arm/mach-mmp/pm-pxa910.c +1 -3
@@ -1,9 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * PXA910 Power Management Routines * -* This software program is licensed subject to the GNU General Public License -* (GPL).Version 2,June 1991, available at http://www.fsf.org/copyleft/gpl.html -* * (C) Copyright 2009 Marvell International Ltd. * All Rights Reserved */
arch/arm/mach-mmp/pm-pxa910.h +1 -3
@@ -1,9 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * PXA910 Power Management Routines * -* This software program is licensed subject to the GNU General Public License -* (GPL).Version 2,June 1991, available at http://www.fsf.org/copyleft/gpl.html -* * (C) Copyright 2009 Marvell International Ltd. * All Rights Reserved */
Re: [Batch 17 patch 55/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 506
Quoted 69 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this software program is licensed subject to the gnu general public license gpl version 2 june 1991 available at http www fsf org copyleft gpl html
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-onlyhas been chosen to replace the boilerplate/reference in 4 file(s).
Signed-off-by Thomas Gleixner <[email protected]>--- arch/arm/mach-mmp/pm-mmp2.c | 4 +--- arch/arm/mach-mmp/pm-mmp2.h | 4 +--- arch/arm/mach-mmp/pm-pxa910.c | 4 +--- arch/arm/mach-mmp/pm-pxa910.h | 4 +--- 4 files changed, 4 insertions(+), 12 deletions(-)arch/arm/mach-mmp/pm-mmp2.c +1
-3@@ -1,9 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * MMP2 Power Management Routines * -* This software program is licensed subject to the GNU General Public License -* (GPL).Version 2,June 1991, available at http://www.fsf.org/copyleft/gpl.html -* * (C) Copyright 2012 Marvell International Ltd. * All Rights Reserved */ arch/arm/mach-mmp/pm-mmp2.h +1
-3@@ -1,9 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * MMP2 Power Management Routines * -* This software program is licensed subject to the GNU General Public License -* (GPL).Version 2,June 1991, available at http://www.fsf.org/copyleft/gpl.html -* * (C) Copyright 2010 Marvell International Ltd. * All Rights Reserved */ arch/arm/mach-mmp/pm-pxa910.c +1
-3@@ -1,9 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * PXA910 Power Management Routines * -* This software program is licensed subject to the GNU General Public License -* (GPL).Version 2,June 1991, available at http://www.fsf.org/copyleft/gpl.html -* * (C) Copyright 2009 Marvell International Ltd. * All Rights Reserved */
arch/arm/mach-mmp/pm-pxa910.h line 7
Quoted 10 lines
arch/arm/mach-mmp/pm-pxa910.h +1
-3@@ -1,9 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * PXA910 Power Management Routines * -* This software program is licensed subject to the GNU General Public License -* (GPL).Version 2,June 1991, available at http://www.fsf.org/copyleft/gpl.html -* * (C) Copyright 2009 Marvell International Ltd. * All Rights Reserved */
Signature · 3 lines
Enrico Weigelt, metux IT consult Free software and Linux embedded engineering [email protected] -- +49-151-27565287
Re: [Batch 17 patch 55/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 506
In reply to Thomas GleixnerQuoted 8 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this software program is licensed subject to the gnu general public license gpl version 2 june 1991 available at http www fsf org copyleft gpl html
Quoted 7 lines
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 4 file(s).
Signed-off-by Thomas Gleixner <[email protected]>
Re: [Batch 17 patch 55/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 506
In reply to Thomas GleixnerQuoted 9 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this software program is licensed subject to the gnu general public license gpl version 2 june 1991 available at http www fsf org copyleft gpl html
Quoted 7 lines
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 4 file(s).
Signed-off-by Thomas Gleixner <[email protected]>
PATCH 56/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 507
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this program is free software you can redistribute it and or modify it under the terms of version 2 of the gnu general public license as published by the free software foundation 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 license
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 8 file(s).
--- drivers/net/wireless/intel/ipw2x00/ipw2100.c | 16 +--------------- drivers/net/wireless/intel/ipw2x00/ipw2100.h | 16 +--------------- drivers/net/wireless/intel/ipw2x00/ipw2200.c | 16 +--------------- drivers/net/wireless/intel/ipw2x00/ipw2200.h | 16 +--------------- drivers/net/wireless/intel/ipw2x00/libipw_geo.c | 16 +--------------- drivers/net/wireless/intel/ipw2x00/libipw_module.c | 16 +--------------- drivers/net/wireless/intel/ipw2x00/libipw_tx.c | 16 +--------------- drivers/net/wireless/intel/ipw2x00/libipw_wx.c | 16 +--------------- 8 files changed, 8 insertions(+), 120 deletions(-)
drivers/net/wireless/intel/ipw2x00/ipw2100.c +1 -15
@@ -1,22 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /****************************************************************************** Copyright(c) 2003 - 2006 Intel Corporation. All rights reserved. -This program is free software; you can redistribute it and/or modify it -under the terms of version 2 of the GNU General Public License as -published by the Free Software Foundation. - -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 LICENSE. Contact Information: Intel Linux Wireless <[email protected]>
drivers/net/wireless/intel/ipw2x00/ipw2100.h +1 -15
@@ -1,22 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /****************************************************************************** Copyright(c) 2003 - 2006 Intel Corporation. All rights reserved. -This program is free software; you can redistribute it and/or modify it -under the terms of version 2 of the GNU General Public License as -published by the Free Software Foundation. - -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 LICENSE. Contact Information: Intel Linux Wireless <[email protected]>
drivers/net/wireless/intel/ipw2x00/ipw2200.c +1 -15
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /****************************************************************************** Copyright(c) 2003 - 2006 Intel Corporation. All rights reserved.
@@ -8,21 +9,6 @@ By Gerald Combs <[email protected]> Copyright 1998 Gerald Combs - This program is free software; you can redistribute it and/or modify it - under the terms of version 2 of the GNU General Public License as - published by the Free Software Foundation. - - 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 LICENSE. Contact Information: Intel Linux Wireless <[email protected]>
drivers/net/wireless/intel/ipw2x00/ipw2200.h +1 -15
@@ -1,22 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /****************************************************************************** Copyright(c) 2003 - 2006 Intel Corporation. All rights reserved. -This program is free software; you can redistribute it and/or modify it -under the terms of version 2 of the GNU General Public License as -published by the Free Software Foundation. - -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 LICENSE. Contact Information: Intel Linux Wireless <[email protected]>
drivers/net/wireless/intel/ipw2x00/libipw_geo.c +1 -15
@@ -1,22 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /****************************************************************************** Copyright(c) 2005 Intel Corporation. All rights reserved. -This program is free software; you can redistribute it and/or modify it -under the terms of version 2 of the GNU General Public License as -published by the Free Software Foundation. - -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 LICENSE. Contact Information: Intel Linux Wireless <[email protected]>
drivers/net/wireless/intel/ipw2x00/libipw_module.c +1 -15
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /******************************************************************************* Copyright(c) 2004-2005 Intel Corporation. All rights reserved.
@@ -8,21 +9,6 @@ <[email protected]> Copyright (c) 2002-2003, Jouni Malinen <[email protected]> - This program is free software; you can redistribute it and/or modify it - under the terms of version 2 of the GNU General Public License as - published by the Free Software Foundation. - - 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 LICENSE. Contact Information: Intel Linux Wireless <[email protected]>
drivers/net/wireless/intel/ipw2x00/libipw_tx.c +1 -15
@@ -1,22 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /****************************************************************************** Copyright(c) 2003 - 2005 Intel Corporation. All rights reserved. -This program is free software; you can redistribute it and/or modify it -under the terms of version 2 of the GNU General Public License as -published by the Free Software Foundation. - -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 LICENSE. Contact Information: Intel Linux Wireless <[email protected]>
drivers/net/wireless/intel/ipw2x00/libipw_wx.c +1 -15
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /****************************************************************************** Copyright(c) 2004-2005 Intel Corporation. All rights reserved.
@@ -8,21 +9,6 @@ <[email protected]> Copyright (c) 2002-2003, Jouni Malinen <[email protected]> - This program is free software; you can redistribute it and/or modify it - under the terms of version 2 of the GNU General Public License as - published by the Free Software Foundation. - - 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 LICENSE. Contact Information: Intel Linux Wireless <[email protected]>
Re: [Batch 17 patch 56/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 507
Quoted 246 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this program is free software you can redistribute it and or modify it under the terms of version 2 of the gnu general public license as published by the free software foundation 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 license
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-onlyhas been chosen to replace the boilerplate/reference in 8 file(s).
Signed-off-by Thomas Gleixner <[email protected]>--- drivers/net/wireless/intel/ipw2x00/ipw2100.c | 16 +--------------- drivers/net/wireless/intel/ipw2x00/ipw2100.h | 16 +--------------- drivers/net/wireless/intel/ipw2x00/ipw2200.c | 16 +--------------- drivers/net/wireless/intel/ipw2x00/ipw2200.h | 16 +--------------- drivers/net/wireless/intel/ipw2x00/libipw_geo.c | 16 +--------------- drivers/net/wireless/intel/ipw2x00/libipw_module.c | 16 +--------------- drivers/net/wireless/intel/ipw2x00/libipw_tx.c | 16 +--------------- drivers/net/wireless/intel/ipw2x00/libipw_wx.c | 16 +--------------- 8 files changed, 8 insertions(+), 120 deletions(-)drivers/net/wireless/intel/ipw2x00/ipw2100.c +1
-15@@ -1,22 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /****************************************************************************** Copyright(c) 2003 - 2006 Intel Corporation. All rights reserved. -This program is free software; you can redistribute it and/or modify it -under the terms of version 2 of the GNU General Public License as -published by the Free Software Foundation. - -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 LICENSE. Contact Information: Intel Linux Wireless <[email protected]> drivers/net/wireless/intel/ipw2x00/ipw2100.h +1
-15@@ -1,22 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /****************************************************************************** Copyright(c) 2003 - 2006 Intel Corporation. All rights reserved. -This program is free software; you can redistribute it and/or modify it -under the terms of version 2 of the GNU General Public License as -published by the Free Software Foundation. - -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 LICENSE. Contact Information: Intel Linux Wireless <[email protected]> drivers/net/wireless/intel/ipw2x00/ipw2200.c +1
-15@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /****************************************************************************** Copyright(c) 2003 - 2006 Intel Corporation. All rights reserved. @@ -8,21 +9,6 @@ By Gerald Combs <[email protected]> Copyright 1998 Gerald Combs - This program is free software; you can redistribute it and/or modify it - under the terms of version 2 of the GNU General Public License as - published by the Free Software Foundation. - - 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 LICENSE. Contact Information: Intel Linux Wireless <[email protected]>drivers/net/wireless/intel/ipw2x00/ipw2200.h +1
-15@@ -1,22 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /****************************************************************************** Copyright(c) 2003 - 2006 Intel Corporation. All rights reserved. -This program is free software; you can redistribute it and/or modify it -under the terms of version 2 of the GNU General Public License as -published by the Free Software Foundation. - -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 LICENSE. Contact Information: Intel Linux Wireless <[email protected]> drivers/net/wireless/intel/ipw2x00/libipw_geo.c +1
-15@@ -1,22 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /****************************************************************************** Copyright(c) 2005 Intel Corporation. All rights reserved. -This program is free software; you can redistribute it and/or modify it -under the terms of version 2 of the GNU General Public License as -published by the Free Software Foundation. - -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 LICENSE. Contact Information: Intel Linux Wireless <[email protected]> drivers/net/wireless/intel/ipw2x00/libipw_module.c +1
-15@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /******************************************************************************* Copyright(c) 2004-2005 Intel Corporation. All rights reserved. @@ -8,21 +9,6 @@ <[email protected]> Copyright (c) 2002-2003, Jouni Malinen <[email protected]> - This program is free software; you can redistribute it and/or modify it - under the terms of version 2 of the GNU General Public License as - published by the Free Software Foundation. - - 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 LICENSE. Contact Information: Intel Linux Wireless <[email protected]>drivers/net/wireless/intel/ipw2x00/libipw_tx.c +1
-15@@ -1,22 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /****************************************************************************** Copyright(c) 2003 - 2005 Intel Corporation. All rights reserved. -This program is free software; you can redistribute it and/or modify it -under the terms of version 2 of the GNU General Public License as -published by the Free Software Foundation. - -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 LICENSE. Contact Information: Intel Linux Wireless <[email protected]> drivers/net/wireless/intel/ipw2x00/libipw_wx.c +1
-8@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /****************************************************************************** Copyright(c) 2004-2005 Intel Corporation. All rights reserved. @@ -8,21 +9,6 @@ <[email protected]> Copyright (c) 2002-2003, Jouni Malinen <[email protected]> - This program is free software; you can redistribute it and/or modify it - under the terms of version 2 of the GNU General Public License as - published by the Free Software Foundation. - - 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.
drivers/net/wireless/intel/ipw2x00/libipw_wx.c line 14
Quoted 10 lines
drivers/net/wireless/intel/ipw2x00/libipw_wx.c +0
-7- - You should have received a copy of the GNU General Public 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 LICENSE. Contact Information: Intel Linux Wireless <[email protected]>
Signature · 3 lines
Enrico Weigelt, metux IT consult Free software and Linux embedded engineering [email protected] -- +49-151-27565287
Re: [Batch 17 patch 56/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 507
In reply to Thomas GleixnerQuoted 16 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this program is free software you can redistribute it and or modify it under the terms of version 2 of the gnu general public license as published by the free software foundation 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 license
Quoted 7 lines
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 8 file(s).
Signed-off-by Thomas Gleixner <[email protected]>
Re: [Batch 17 patch 56/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 507
In reply to Thomas GleixnerQuoted 17 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this program is free software you can redistribute it and or modify it under the terms of version 2 of the gnu general public license as published by the free software foundation 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 license
Quoted 7 lines
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 8 file(s).
Signed-off-by Thomas Gleixner <[email protected]>
PATCH 57/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 508
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this program is free software you can redistribute it and or modify it under the terms of the modified gnu general public license delivered with the linux kernel source 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 find a copy of the gnu general public license in usr src linux copying
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 1 file(s).
--- arch/arm/kernel/fiqasm.S | 1 + drivers/net/hamradio/scc.c | 12 +----------- 2 files changed, 2 insertions(+), 11 deletions(-)
arch/arm/kernel/fiqasm.S +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/kernel/fiqasm.S *
drivers/net/hamradio/scc.c +1 -11
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only #define RCS_ID "$Id: scc.c,v 1.75 1998/11/04 15:15:01 jreuter Exp jreuter $"#define VERSION "3.0"
@@ -41,17 +42,6 @@ allowance/licence from the designer of the SCC Board and/or the MODEM. - This program is free software; you can redistribute it and/or modify - it under the terms of the (modified) GNU General Public License - delivered with the Linux kernel source. - - 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 find a copy of the GNU General Public License in - /usr/src/linux/COPYING ; ********************************************************************
Re: [Batch 17 patch 57/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 508
Quoted 4 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
Quoted 8 lines
this program is free software you can redistribute it and or modify it under the terms of the modified gnu general public license delivered with the linux kernel source 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 find a copy of the gnu general public license in usr src linux copying
No version number but reference to /usr/src/linux/COPYING. On hold
Thanks,
tglx