All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julien Grall <julien@xen.org>
To: Stefano Stabellini <stefano.stabellini@amd.com>,
	xen-devel@lists.xenproject.org
Cc: sstabellini@kernel.org, wl@xen.org, jbeulich@suse.com,
	george.dunlap@citrix.com, andrew.cooper3@citrix.com,
	bertrand.marquis@arm.com, Volodymyr_Babchuk@epam.com,
	roger.pau@citrix.com
Subject: Re: [PATCH v2 3/3] add SPDX to arch/arm/*.c
Date: Fri, 19 Aug 2022 08:52:22 +0100	[thread overview]
Message-ID: <61b01c8b-1f98-e559-f971-f081a25e0b93@xen.org> (raw)
In-Reply-To: <20220818220320.2538705-3-stefano.stabellini@amd.com>

Hi Stefano,

On 18/08/2022 23:03, Stefano Stabellini wrote:
> Add SPDX license information to all the *.c files under arch/arm.

There are some of the files below that didn't have copyright. It would 
be worth explaining in the commit message which license you selected and 
how. AFAICT you assumed they were GPLv2 but I am not sure this is 
correct at least one of them.

[...]

> diff --git a/xen/arch/arm/decode.c b/xen/arch/arm/decode.c
> index f5f6562600..2537dbebc1 100644
> --- a/xen/arch/arm/decode.c
> +++ b/xen/arch/arm/decode.c
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */

This license is not part of LICENSES. Was it intended?

If yes, this should be mentioned in one of the commit message (possible 
patch #2) and maybe in CONTRIBUTING (to tell user to not use it for new 
files) because one could expect all the LICENSES to be listed.

>   /*
>    * xen/arch/arm/decode.c
>    *
> @@ -5,16 +6,6 @@
>    *
>    * Julien Grall <julien.grall@linaro.org>
>    * Copyright (C) 2013 Linaro Limited.
> - *
> - * This program 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 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
>    */
>   
>   #include <xen/guest_access.h>

[...]

> diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c
> index 3fd1186b53..b29bdf3aa6 100644
> --- a/xen/arch/arm/domain_build.c
> +++ b/xen/arch/arm/domain_build.c
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0 */

AFAIU, the assumption is all the files with no copyright are GPLv2. That 
works here. But ...

>   #include <xen/init.h>
>   #include <xen/compile.h>
>   #include <xen/lib.h>
> diff --git a/xen/arch/arm/domain_page.c b/xen/arch/arm/domain_page.c
> index 71182575f9..47405e0866 100644
> --- a/xen/arch/arm/domain_page.c
> +++ b/xen/arch/arm/domain_page.c
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0 */

.... this file was split from mm.c which is gpl-2.0-or-later. So I don't 
think we can use GPL-2.0 here.

>   #include <xen/mm.h>
>   #include <xen/pmap.h>
>   #include <xen/vmap.h>

Cheers,

-- 
Julien Grall


  reply	other threads:[~2022-08-19  7:52 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-18 22:02 [PATCH v2 0/3] introduce SPDX Stefano Stabellini
2022-08-18 22:03 ` [PATCH v2 1/3] Add SPDX to CODING_STYLE Stefano Stabellini
2022-08-19  7:33   ` Julien Grall
2022-08-19 22:24     ` Stefano Stabellini
2022-08-20 18:33       ` Julien Grall
2022-08-19  7:54   ` Jan Beulich
2022-08-18 22:03 ` [PATCH v2 2/3] Add licenses under LICENSES Stefano Stabellini
2022-08-19  7:30   ` Julien Grall
2022-08-19 22:27     ` Stefano Stabellini
2022-08-20 18:37       ` Julien Grall
2022-08-18 22:03 ` [PATCH v2 3/3] add SPDX to arch/arm/*.c Stefano Stabellini
2022-08-19  7:52   ` Julien Grall [this message]
2022-08-19 22:53     ` Stefano Stabellini
2022-08-20 19:08       ` Julien Grall
2022-08-23 10:23         ` Bertrand Marquis
2022-08-23 10:53           ` Julien Grall
2022-08-23 18:53             ` Removing "or later" from Xen license, Was: " Stefano Stabellini
2022-08-23 21:24               ` Elliott Mitchell
2022-08-19  5:33 ` [PATCH v2 0/3] introduce SPDX Juergen Gross

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=61b01c8b-1f98-e559-f971-f081a25e0b93@xen.org \
    --to=julien@xen.org \
    --cc=Volodymyr_Babchuk@epam.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=bertrand.marquis@arm.com \
    --cc=george.dunlap@citrix.com \
    --cc=jbeulich@suse.com \
    --cc=roger.pau@citrix.com \
    --cc=sstabellini@kernel.org \
    --cc=stefano.stabellini@amd.com \
    --cc=wl@xen.org \
    --cc=xen-devel@lists.xenproject.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.