[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190910063112.GA1579@gmail.com>
Date: Tue, 10 Sep 2019 08:31:12 +0200
From: Ingo Molnar <mingo@...nel.org>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: Matthew Wilcox <willy@...radead.org>,
Markus Heiser <markus.heiser@...marit.de>,
Mauro Carvalho Chehab <mchehab+samsung@...nel.org>,
Jonathan Corbet <corbet@....net>,
Linux Media Mailing List <linux-media@...r.kernel.org>,
Mauro Carvalho Chehab <mchehab@...radead.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Joe Perches <joe@...ches.com>, linux-kernel@...r.kernel.org,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Sven Eckelmann <sven@...fation.org>,
Ingo Molnar <mingo@...hat.com>,
Doug Smythies <doug.smythies@...il.com>,
Aurélien Cedeyn <aurelien.cedeyn@...il.com>,
Vincenzo Frascino <vincenzo.frascino@....com>,
linux-doc@...r.kernel.org,
"Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Thierry Reding <treding@...dia.com>,
Armijn Hemel <armijn@...ldur.nl>, Jiri Olsa <jolsa@...hat.com>,
Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>,
Namhyung Kim <namhyung@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Federico Vaga <federico.vaga@...a.pv.it>,
Allison Randal <allison@...utok.net>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Shuah Khan <skhan@...uxfoundation.org>
Subject: Re: [PATCH 0/6] Address issues with SPDX requirements and PEP-263
* Thomas Gleixner <tglx@...utronix.de> wrote:
> On Sun, 8 Sep 2019, Matthew Wilcox wrote:
> > On Sat, Sep 07, 2019 at 11:17:22PM +0200, Thomas Gleixner wrote:
> > > On Sat, 7 Sep 2019, Markus Heiser wrote:
> > > > Am 07.09.19 um 20:04 schrieb Mauro Carvalho Chehab:
> > > > > No idea. I would actually prefer to just remove the restriction, and let
> > > > > the SPDX header to be anywhere inside the first comment block inside a
> > > > > file [2].
> > > > > [2] I *suspect* that the restriction was added in order to make
> > > > > ./scripts/spdxcheck.py to run faster and to avoid false positives.
> > > > > Right now, if the maximum limit is removed (or set to a very high
> > > > > value), there will be one false positive:
> > >
> > > Nope. The intention was to have a well define place and format instead of
> > > everyone and his dog deciding to put it somewhere. SPDX is not intended to
> > > replace the existing licensing mess with some other randomly placed and
> > > formatted licensing mess.
> >
> > I find the current style quite unaesthetic:
> >
> > // SPDX-License-Identifier: GPL-2.0-only
> > /*
> > * linux/mm/memory.c
> > *
> > * Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds
> > */
> >
> > I'd much rather see
> >
> > /*
> > * SPDX-License-Identifier: GPL-2.0-only
> > * Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds
> > */
> >
> > but I appreciate the desire to force it to be on the first line if at all
> > possible.
>
> That style is inflicted upon you by Penguin Emperor Decree. :)
I'd also say that it's a rather tooling-friendly format which mandates a
single-line representation, which will be less likely to be morphed into
a zillion variants like the original boilerplates.
So the Penguin Emperor Decree also makes sense, which helps. ;-)
Thanks,
Ingo
Powered by blists - more mailing lists