linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Enric Balletbo i Serra <enric.balletbo@collabora.com>
To: Joe Perches <joe@perches.com>, linux-kernel@vger.kernel.org
Cc: Gwendal Grignou <gwendal@chromium.org>,
	kernel@collabora.com, Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	Tony Luck <tony.luck@intel.com>,
	Alessandro Zummo <a.zummo@towertech.it>,
	Paolo Cretaro <paolocretaro@gmail.com>,
	linux-iio@vger.kernel.org,
	Alexandre Belloni <alexandre.belloni@bootlin.com>,
	linux-i2c@vger.kernel.org, Olof Johansson <olof@lixom.net>,
	linux-rtc@vger.kernel.org, Anton Vorontsov <anton@enomsg.org>,
	Chanwoo Choi <cw00.choi@samsung.com>,
	Benson Leung <bleung@chromium.org>,
	linux-input@vger.kernel.org, Lars-Peter Clausen <lars@metafoo.de>,
	Jonathan Cameron <jic23@kernel.org>,
	Peter Meerwald-Stadler <pmeerw@pmeerw.net>,
	MyungJoo Ham <myungjoo.ham@samsung.com>,
	Lee Jones <lee.jones@linaro.org>,
	Hartmut Knaack <knaack.h@gmx.de>,
	Colin Cross <ccross@android.com>,
	Kees Cook <keescook@chromium.org>
Subject: Re: [PATCH v3 00/12] cros_ec: Match licenses and switch to SPDX identifier.
Date: Fri, 8 Jun 2018 10:58:31 +0200	[thread overview]
Message-ID: <aee6f480-28e0-4b9f-0e90-35a2b7a37419@collabora.com> (raw)
In-Reply-To: <517d33d8219f22126ec8caaf41072c14b5ebf407.camel@perches.com>

Hi Joe,

On 06/06/18 17:42, Joe Perches wrote:
> On Wed, 2018-06-06 at 17:08 +0200, Enric Balletbo i Serra wrote:
>> Dear all,
>>
>> This patchset is just to adopt the SPDX license identifier for all
>> ChromeOS Embedded Controller related drivers.
> 
> This bit is fine,
> 
>>  The patches touches
>> different subsystems but every patch can be picked from their respective
>> maintainer independently.
>>
>> This third version takes the license note as the valid license (I did
>> the contrary in the second version) so apart from add the SPDX tags it
>> also introduces new patches to match the license.
> 
> But why change any MODULE_LICENSE text?
> 

Because in some cases there is a mismatch between the license note and the
MODULE_LICENSE text.

According to the documentation setting MODULE_LICENSE("GPL") means GNU Public
License v2 or later [1], in the cases where the license note tells explicitly
that is GPL v2 only I think that the MODULE_LICENSE should match and be changed
to "GPL v2".

[1] https://elixir.bootlin.com/linux/v4.17/source/include/linux/module.h#L172

> There are uses of MODULE_LICENSE("GPL") where
> the SPDX license identifier is some GPL variant
> 

Right, but I suppose in such cases is wrong and should be changed too?

> For instance:
> $ git grep -P --name-only
> 'MODULE_LICENSE\s*\("GPL"\s*\)\s*;'| \
>   xargs grep "SPDX-License-
> Identifier:" | \
>   cut -f3- -d: | \
>   sed -r 's@\s*\*/\s*$@@' | \
>   sort |
> uniq -c | sort -rn
>     551  GPL-2.0+
>     281  GPL-2.0
>      13  GPL-1.0+
>     
>   9  GPL-2.0-only
>       2  GPL-2.0 OR MIT
>       1  (GPL-2.0 OR MPL-1.1)
>    
>    1  (GPL-2.0+ OR BSD-3-Clause)
>       1  (GPL-2.0 OR BSD-3-Clause)
> 
> And if you were to do this, please do it tree-wide,
> and ideally via a script
> 

      reply	other threads:[~2018-06-08  8:58 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-06 15:08 [PATCH v3 00/12] cros_ec: Match licenses and switch to SPDX identifier Enric Balletbo i Serra
2018-06-06 15:08 ` [PATCH v3 01/12] platform/chrome: Make license text and module license match Enric Balletbo i Serra
2018-06-06 15:08 ` [PATCH v3 02/12] platform/chrome: Switch to SPDX identifier Enric Balletbo i Serra
2018-06-06 15:08 ` [PATCH v3 03/12] mfd: cros_ec: Make license text and module license match Enric Balletbo i Serra
2018-06-18  7:18   ` Lee Jones
2018-06-18  7:20     ` Lee Jones
2018-06-18  7:53       ` Enric Balletbo Serra
2018-06-18  8:13         ` Lee Jones
2018-06-18  8:42           ` Enric Balletbo Serra
2018-06-06 15:08 ` [PATCH v3 04/12] mfd: cros_ec: Switch to SPDX identifier Enric Balletbo i Serra
2018-06-06 15:08 ` [PATCH v3 05/12] rtc: cros-ec: Make license text and module license match Enric Balletbo i Serra
2018-06-06 15:51   ` Alexandre Belloni
2018-06-06 15:08 ` [PATCH v3 06/12] rtc: cros-ec: Switch to SPDX identifier Enric Balletbo i Serra
2018-06-06 15:52   ` Alexandre Belloni
2018-06-06 15:08 ` [PATCH v3 07/12] extcon: usbc-cros-ec: Make license text and module license match Enric Balletbo i Serra
2018-06-06 15:08 ` [PATCH v3 08/12] extcon: usbc-cros-ec: Switch to SPDX identifier Enric Balletbo i Serra
2018-06-06 15:08 ` [PATCH v3 09/12] Input: cros_ec_keyb - Make license text and module license match Enric Balletbo i Serra
2018-06-12 23:30   ` Dmitry Torokhov
2018-06-06 15:08 ` [PATCH v3 10/12] Input: cros_ec_keyb - Switch to SPDX identifier Enric Balletbo i Serra
2018-06-12 23:30   ` Dmitry Torokhov
2018-06-06 15:08 ` [PATCH v3 11/12] iio: cros_ec: " Enric Balletbo i Serra
2018-06-06 15:09 ` [PATCH v3 12/12] i2c: i2c-cros-ec-tunnel: " Enric Balletbo i Serra
2018-12-17 22:10   ` Wolfram Sang
2018-06-06 15:42 ` [PATCH v3 00/12] cros_ec: Match licenses and switch " Joe Perches
2018-06-08  8:58   ` Enric Balletbo i Serra [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aee6f480-28e0-4b9f-0e90-35a2b7a37419@collabora.com \
    --to=enric.balletbo@collabora.com \
    --cc=a.zummo@towertech.it \
    --cc=alexandre.belloni@bootlin.com \
    --cc=anton@enomsg.org \
    --cc=bleung@chromium.org \
    --cc=ccross@android.com \
    --cc=cw00.choi@samsung.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=gwendal@chromium.org \
    --cc=jic23@kernel.org \
    --cc=joe@perches.com \
    --cc=keescook@chromium.org \
    --cc=kernel@collabora.com \
    --cc=knaack.h@gmx.de \
    --cc=lars@metafoo.de \
    --cc=lee.jones@linaro.org \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rtc@vger.kernel.org \
    --cc=myungjoo.ham@samsung.com \
    --cc=olof@lixom.net \
    --cc=paolocretaro@gmail.com \
    --cc=pmeerw@pmeerw.net \
    --cc=tony.luck@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).