Re: [PATCH RESEND v3] scripts/gcc-plugins: Add SPDX header for files without

From: Kees Cook
Date: Thu Aug 29 2019 - 13:48:17 EST


On Sat, Aug 24, 2019 at 04:30:37PM +0100, Alex Dewar wrote:
> Replace boilerplate with approproate SPDX header. Vim also auto-trimmed
> whitespace from one line.
> [...]
> --- a/scripts/gcc-plugins/cyc_complexity_plugin.c
> +++ b/scripts/gcc-plugins/cyc_complexity_plugin.c
> @@ -1,6 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Copyright 2011-2016 by Emese Revfy <re.emese@xxxxxxxxx>
> - * Licensed under the GPL v2, or (at your option) v3

This isn't equivalent, I don't think. SPDX says "v2 and later" and
removed text says "v2 or v3".

--
Kees Cook