2018-11-02 00:56:58

by Peng Hao

[permalink] [raw]
Subject: [PATCH v3] x86/kvmclock : convert to SPDX identifiers

Update the verbose license text with the matching SPDX
license identifier.

Signed-off-by: Peng Hao <[email protected]>
---
arch/x86/kernel/kvmclock.c | 15 +--------------
1 files changed, 1 insertions(+), 14 deletions(-)

diff --git a/arch/x86/kernel/kvmclock.c b/arch/x86/kernel/kvmclock.c
index 1e67646..a59325e 100644
--- a/arch/x86/kernel/kvmclock.c
+++ b/arch/x86/kernel/kvmclock.c
@@ -1,19 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0+
/* KVM paravirtual clock driver. A clocksource implementation
Copyright (C) 2008 Glauber de Oliveira Costa, Red Hat Inc.
-
- 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.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include <linux/clocksource.h>
--
1.8.3.1



2018-12-21 07:12:12

by Radim Krčmář

[permalink] [raw]
Subject: Re: [PATCH v3] x86/kvmclock : convert to SPDX identifiers

2018-11-02 17:05+0800, Peng Hao:
> Update the verbose license text with the matching SPDX
> license identifier.
>
> Signed-off-by: Peng Hao <[email protected]>
> ---
> arch/x86/kernel/kvmclock.c | 15 +--------------
> 1 files changed, 1 insertions(+), 14 deletions(-)
>
> diff --git a/arch/x86/kernel/kvmclock.c b/arch/x86/kernel/kvmclock.c
> index 1e67646..a59325e 100644
> --- a/arch/x86/kernel/kvmclock.c
> +++ b/arch/x86/kernel/kvmclock.c
> @@ -1,19 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0+

GPL-2.0+ is deprecated in favor of GPL-2.0-or-later, so I have changed
it to that one and queued,

thanks.