[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220121181544.GH614@gate.crashing.org>
Date: Fri, 21 Jan 2022 12:15:44 -0600
From: Segher Boessenkool <segher@...nel.crashing.org>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Christophe Leroy <christophe.leroy@...roup.eu>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Paul Mackerras <paulus@...ba.org>,
"linux-spdx@...r.kernel.org" <linux-spdx@...r.kernel.org>,
Thomas Gleixner <tglx@...utronix.de>,
"linuxppc-dev@...ts.ozlabs.org" <linuxppc-dev@...ts.ozlabs.org>
Subject: Re: [PATCH v3] powerpc: Add missing SPDX license identifiers
On Fri, Jan 21, 2022 at 04:19:12PM +0100, Greg Kroah-Hartman wrote:
> On Fri, Jan 21, 2022 at 03:13:50PM +0000, Christophe Leroy wrote:
> > >> - * This file is free software; you can redistribute it and/or modify it
> > >> - * under the terms of the GNU General Public License as published by the
> > >> - * Free Software Foundation; either version 2, or (at your option) any
> > >> - * later version.
[ ... ]
> > >> * As a special exception, if you link this library with files
> > >> * compiled with GCC to produce an executable, this does not cause
> > >> * the resulting executable to be covered by the GNU General Public License.
The "as a special exception" refers to "This file is free software;
you can redistribute it and/or modify it". It is meaningless without
having anything it is an exception *to* :-)
In general, you should never edit licence texts.
> > > Look at that "special exception", why are you ignoring it here? You
> > > can't do that :(
> >
> > I'm not ignoring it, that's the reason why I left it.
>
> You ignore that part of the license in the SPDX line, why?
>
> > Isn't it the correct way to do ? How should it be done ?
>
> You need to properly describe this in the SPDX line. You did not do so
> here, which means that any tool just looking at the SPDX line would get
> this license wrong.
A new label needs to be defined and documented. Should be pretty
mechanical to do, but that should see a wider audience than the powerpc
hackers :-)
Segher
Powered by blists - more mailing lists