LKML Archive on
help / color / mirror / Atom feed
From: Masahiro Yamada <>
To: Greg KH <>,
	Thomas Gleixner <>
Cc: Linus Torvalds <>,
	Andrew Morton <>,
	Linux Kernel Mailing List <>,, Joe Perches <>
Subject: Re: [GIT PULL] SPDX update for 5.2-rc1 - round 1
Date: Wed, 22 May 2019 13:32:17 +0900	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On Tue, May 21, 2019 at 10:34 PM Greg KH <> wrote:
> The following changes since commit a188339ca5a396acc588e5851ed7e19f66b0ebd9:
>   Linux 5.2-rc1 (2019-05-19 15:47:09 -0700)
> are available in the Git repository at:
>   git:// tags/spdx-5.2-rc2
> for you to fetch changes up to 7170066ecd289cd8560695b6f86ba8dc723b6505:
>   treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 25 (2019-05-21 11:52:39 +0200)
> ----------------------------------------------------------------
> SPDX update for 5.2-rc2, round 1
> Here are series of patches that add SPDX tags to different kernel files,
> based on two different things:
>   - SPDX entries are added to a bunch of files that we missed a year ago
>     that do not have any license information at all.
>     These were either missed because the tool saw the MODULE_LICENSE()
>     tag, or some EXPORT_SYMBOL tags, and got confused and thought the
>     file had a real license, or the files have been added since the last
>     big sweep, or they were Makefile/Kconfig files, which we didn't
>     touch last time.
>   - Add GPL-2.0-only or GPL-2.0-or-later tags to files where our scan
>     tools can determine the license text in the file itself.  Where this
>     happens, the license text is removed, in order to cut down on the
>     700+ different ways we have in the kernel today, in a quest to get
>     rid of all of these.

I have been wondering for a while
which version of spdx tags I should use in my work.

I know the 'GPL-2.0' tag is already deprecated.

But, I saw negative reaction to this:

Nor "-only" / "-or-later" are documented in

In this patch series, Thomas used 'GPL-2.0-only' and 'GPL-2.0-or-later'
instead of 'GPL-2.0' and 'GPL-2.0+'.

Now, we have a great number of users of spdx v3 tags.
$ git grep -P 'SPDX-License-Identifier.*(?:-or-later|-only)'| wc -l

So, what I understood is:

  For newly added tags, '*-only' and '*-or-later' are preferred.

(But, we do not convert existing spdx v2 tags globally.)

Joe's patch was not merged, but at least
should be updated in my opinion.

(Perhaps, can suggest newer tags in case
patch submitters do not even know that deprecation.)


> These patches have been out for review on the linux-spdx@vger mailing
> list, and while they were created by automatic tools, they were
> hand-verified by a bunch of different people, all whom names are on the
> patches are reviewers.
> The reason for these "large" patches is if we were to continue to
> progress at the current rate of change in the kernel, adding license
> tags to individual files in different subsystems, we would be finished
> in about 10 years at the earliest.
> There will be more series of these types of patches coming over the next
> few weeks as the tools and reviewers crunch through the more "odd"
> variants of how to say "GPLv2" that developers have come up with over
> the years, combined with other fun oddities (GPL + a BSD disclaimer?)
> that are being unearthed, with the goal for the whole kernel to be
> cleaned up.
> These diffstats are not small, 3840 files are touched, over 10k lines
> removed in just 24 patches.
> Signed-off-by: Greg Kroah-Hartman <>

Best Regards
Masahiro Yamada

  parent reply	other threads:[~2019-05-22  4:33 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-21 13:32 Greg KH
2019-05-21 19:55 ` pr-tracker-bot
2019-05-21 19:56 ` Linus Torvalds
2019-05-22 16:34   ` Greg KH
2019-05-22  4:32 ` Masahiro Yamada [this message]
2019-05-22  6:34   ` Joe Perches
2019-05-22 10:14     ` Thomas Gleixner
2019-05-23  2:49     ` Masahiro Yamada
2019-05-23  2:57       ` Joe Perches
2019-05-23  5:33         ` Thomas Gleixner
2019-06-25 11:19     ` Masahiro Yamada
2019-05-29 13:13 ` Alexandre Belloni
2019-05-29 13:51   ` Thomas Gleixner
2019-05-29 14:16   ` Zavras, Alexios
     [not found]     ` <>
2019-05-31  0:25       ` J Lovejoy

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:

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

  git send-email \ \ \ \ \ \ \ \ \ \
    --subject='Re: [GIT PULL] SPDX update for 5.2-rc1 - round 1' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).