dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Sean Paul <seanpaul@chromium.org>
To: Thomas Hellstrom <thellstrom@vmware.com>
Cc: "Dirk Hohndel" <dirk@hohndel.org>,
	"Christian König" <christian.koenig@amd.com>,
	dri-devel@lists.freedesktop.org
Subject: Re: [PATCH] Add SPDX idenitifier and clarify license
Date: Wed, 2 May 2018 16:33:30 -0400	[thread overview]
Message-ID: <20180502203330.GX73214@art_vandelay> (raw)
In-Reply-To: <20180502201218.GW73214@art_vandelay>

On Wed, May 02, 2018 at 04:12:18PM -0400, Sean Paul wrote:
> On Wed, May 02, 2018 at 03:46:21PM +0200, Thomas Hellstrom wrote:
> > From: Dirk Hohndel <dirk@hohndel.org>
> > 
> > This is dual licensed under GPL-2.0 or MIT.
> > 
> > Cc: "Christian König" <christian.koenig@amd.com>
> > Signed-off-by: Dirk Hohndel (VMware) <dirk@hohndel.org>
> > Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
> > ---
> >  drivers/gpu/drm/ttm/ttm_agp_backend.c  | 1 +
> >  drivers/gpu/drm/ttm/ttm_bo.c           | 1 +
> >  drivers/gpu/drm/ttm/ttm_bo_manager.c   | 1 +
> >  drivers/gpu/drm/ttm/ttm_bo_util.c      | 1 +
> >  drivers/gpu/drm/ttm/ttm_bo_vm.c        | 1 +
> >  drivers/gpu/drm/ttm/ttm_execbuf_util.c | 1 +
> >  drivers/gpu/drm/ttm/ttm_lock.c         | 1 +
> >  drivers/gpu/drm/ttm/ttm_memory.c       | 1 +
> >  drivers/gpu/drm/ttm/ttm_module.c       | 1 +
> >  drivers/gpu/drm/ttm/ttm_object.c       | 1 +
> >  drivers/gpu/drm/ttm/ttm_tt.c           | 1 +
> >  11 files changed, 11 insertions(+)
> > 
> > diff --git a/drivers/gpu/drm/ttm/ttm_agp_backend.c b/drivers/gpu/drm/ttm/ttm_agp_backend.c
> > index 7c2485fe88d8..ea4d59eb8966 100644
> > --- a/drivers/gpu/drm/ttm/ttm_agp_backend.c
> > +++ b/drivers/gpu/drm/ttm/ttm_agp_backend.c
> > @@ -1,3 +1,4 @@
> > +/* SPDX-License-Identifier: GPL-2.0 OR MIT */
> >  /**************************************************************************
> >   *
> >   * Copyright (c) 2006-2009 VMware, Inc., Palo Alto, CA., USA
> 
> Probably a stupid question, but can't you remove the boilerplate license now?
> 

Answering my own question, there are differences between the license in the files
and the SPDX license [1]. They are: 
- the license in the files adds "(including the next paragraph)" in the second
  paragraph
- the files have "AND/OR ITS SUPPLIERS" in the third paragraph
- a couple of list items are transposed and changed, but should be fine
  according to [2]

So IANAL, but it seems like you should either add the SPDX and remove the
boilerplate, or keep the boilerplate and skip the SPDX. 

Sean

[1]- https://spdx.org/licenses/MIT.html
[2]- https://spdx.org/spdx-license-list/matching-guidelines




> Sean
> 
> > diff --git a/drivers/gpu/drm/ttm/ttm_bo.c b/drivers/gpu/drm/ttm/ttm_bo.c
> > index 98e06f8bf23b..68bcdd703cbd 100644
> > --- a/drivers/gpu/drm/ttm/ttm_bo.c
> > +++ b/drivers/gpu/drm/ttm/ttm_bo.c
> > @@ -1,3 +1,4 @@
> > +/* SPDX-License-Identifier: GPL-2.0 OR MIT */
> >  /**************************************************************************
> >   *
> >   * Copyright (c) 2006-2009 VMware, Inc., Palo Alto, CA., USA
> > diff --git a/drivers/gpu/drm/ttm/ttm_bo_manager.c b/drivers/gpu/drm/ttm/ttm_bo_manager.c
> > index a7c232dc39cb..18d3debcc949 100644
> > --- a/drivers/gpu/drm/ttm/ttm_bo_manager.c
> > +++ b/drivers/gpu/drm/ttm/ttm_bo_manager.c
> > @@ -1,3 +1,4 @@
> > +/* SPDX-License-Identifier: GPL-2.0 OR MIT */
> >  /**************************************************************************
> >   *
> >   * Copyright (c) 2007-2010 VMware, Inc., Palo Alto, CA., USA
> > diff --git a/drivers/gpu/drm/ttm/ttm_bo_util.c b/drivers/gpu/drm/ttm/ttm_bo_util.c
> > index 2ebbae6067ab..1c17aa6a7c3c 100644
> > --- a/drivers/gpu/drm/ttm/ttm_bo_util.c
> > +++ b/drivers/gpu/drm/ttm/ttm_bo_util.c
> > @@ -1,3 +1,4 @@
> > +/* SPDX-License-Identifier: GPL-2.0 OR MIT */
> >  /**************************************************************************
> >   *
> >   * Copyright (c) 2007-2009 VMware, Inc., Palo Alto, CA., USA
> > diff --git a/drivers/gpu/drm/ttm/ttm_bo_vm.c b/drivers/gpu/drm/ttm/ttm_bo_vm.c
> > index 8eba95b3c737..c7ece7613a6a 100644
> > --- a/drivers/gpu/drm/ttm/ttm_bo_vm.c
> > +++ b/drivers/gpu/drm/ttm/ttm_bo_vm.c
> > @@ -1,3 +1,4 @@
> > +/* SPDX-License-Identifier: GPL-2.0 OR MIT */
> >  /**************************************************************************
> >   *
> >   * Copyright (c) 2006-2009 VMware, Inc., Palo Alto, CA., USA
> > diff --git a/drivers/gpu/drm/ttm/ttm_execbuf_util.c b/drivers/gpu/drm/ttm/ttm_execbuf_util.c
> > index 3dca206e85f7..e73ae0d22897 100644
> > --- a/drivers/gpu/drm/ttm/ttm_execbuf_util.c
> > +++ b/drivers/gpu/drm/ttm/ttm_execbuf_util.c
> > @@ -1,3 +1,4 @@
> > +/* SPDX-License-Identifier: GPL-2.0 OR MIT */
> >  /**************************************************************************
> >   *
> >   * Copyright (c) 2006-2009 VMware, Inc., Palo Alto, CA., USA
> > diff --git a/drivers/gpu/drm/ttm/ttm_lock.c b/drivers/gpu/drm/ttm/ttm_lock.c
> > index 913f4318cdc0..20694b8a01ca 100644
> > --- a/drivers/gpu/drm/ttm/ttm_lock.c
> > +++ b/drivers/gpu/drm/ttm/ttm_lock.c
> > @@ -1,3 +1,4 @@
> > +/* SPDX-License-Identifier: GPL-2.0 OR MIT */
> >  /**************************************************************************
> >   *
> >   * Copyright (c) 2007-2009 VMware, Inc., Palo Alto, CA., USA
> > diff --git a/drivers/gpu/drm/ttm/ttm_memory.c b/drivers/gpu/drm/ttm/ttm_memory.c
> > index 27856c55dc84..450387c92b63 100644
> > --- a/drivers/gpu/drm/ttm/ttm_memory.c
> > +++ b/drivers/gpu/drm/ttm/ttm_memory.c
> > @@ -1,3 +1,4 @@
> > +/* SPDX-License-Identifier: GPL-2.0 OR MIT */
> >  /**************************************************************************
> >   *
> >   * Copyright (c) 2006-2009 VMware, Inc., Palo Alto, CA., USA
> > diff --git a/drivers/gpu/drm/ttm/ttm_module.c b/drivers/gpu/drm/ttm/ttm_module.c
> > index 66fc6395eb54..6ff40c041d79 100644
> > --- a/drivers/gpu/drm/ttm/ttm_module.c
> > +++ b/drivers/gpu/drm/ttm/ttm_module.c
> > @@ -1,3 +1,4 @@
> > +/* SPDX-License-Identifier: GPL-2.0 OR MIT */
> >  /**************************************************************************
> >   *
> >   * Copyright (c) 2006-2009 VMware, Inc., Palo Alto, CA., USA
> > diff --git a/drivers/gpu/drm/ttm/ttm_object.c b/drivers/gpu/drm/ttm/ttm_object.c
> > index 1aa2baa83959..74f1b1eb1f8e 100644
> > --- a/drivers/gpu/drm/ttm/ttm_object.c
> > +++ b/drivers/gpu/drm/ttm/ttm_object.c
> > @@ -1,3 +1,4 @@
> > +/* SPDX-License-Identifier: GPL-2.0 OR MIT */
> >  /**************************************************************************
> >   *
> >   * Copyright (c) 2009-2013 VMware, Inc., Palo Alto, CA., USA
> > diff --git a/drivers/gpu/drm/ttm/ttm_tt.c b/drivers/gpu/drm/ttm/ttm_tt.c
> > index 7e672be987b5..a1e543972ca7 100644
> > --- a/drivers/gpu/drm/ttm/ttm_tt.c
> > +++ b/drivers/gpu/drm/ttm/ttm_tt.c
> > @@ -1,3 +1,4 @@
> > +/* SPDX-License-Identifier: GPL-2.0 OR MIT */
> >  /**************************************************************************
> >   *
> >   * Copyright (c) 2006-2009 VMware, Inc., Palo Alto, CA., USA
> > -- 
> > 2.14.3
> > 
> > _______________________________________________
> > dri-devel mailing list
> > dri-devel@lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/dri-devel
> 
> -- 
> Sean Paul, Software Engineer, Google / Chromium OS

-- 
Sean Paul, Software Engineer, Google / Chromium OS
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2018-05-02 20:33 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-02 13:46 [PATCH] Add SPDX idenitifier and clarify license Thomas Hellstrom
2018-05-02 14:00 ` Christian König
2018-05-02 14:41   ` Thomas Hellstrom
2018-05-02 14:56   ` Dirk Hohndel
2018-05-14 16:00   ` Alex Deucher
2018-05-14 16:06     ` Christian König
2018-05-02 20:12 ` Sean Paul
2018-05-02 20:33   ` Sean Paul [this message]
2018-05-02 21:25     ` Dirk Hohndel
2018-05-03 12:46       ` Sean Paul
2018-05-03 15:41         ` Dirk Hohndel
2018-05-08 21:52           ` Alex Deucher
2018-05-08 23:11             ` Dirk Hohndel
2018-05-09  5:25             ` Thomas Hellstrom
2018-05-04 14:36         ` Christian König
2018-05-03 13:03 ` Fabio Estevam
2018-05-03 13:12   ` Christian König
2018-05-03 15:48   ` Dirk Hohndel
2018-05-03 15:53     ` Fabio Estevam

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=20180502203330.GX73214@art_vandelay \
    --to=seanpaul@chromium.org \
    --cc=christian.koenig@amd.com \
    --cc=dirk@hohndel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=thellstrom@vmware.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