All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: LKML <linux-kernel@vger.kernel.org>
Cc: Ingo Molnar <mingo@kernel.org>,
	Peter Zijlstra <peterz@infradead.org>,
	Kate Stewart <kstewart@linuxfoundation.org>,
	Philippe Ombredanne <pombredanne@nexb.com>,
	John Stultz <john.stultz@linaro.org>, Peter Anvin <hpa@zytor.com>,
	Russell King <rmk+kernel@armlinux.org.uk>,
	Kees Cook <keescook@chromium.org>,
	Richard Cochran <richardcochran@gmail.com>,
	Corey Minyard <cminyard@mvista.com>,
	"Paul E. McKenney" <paulmck@linux.vnet.ibm.com>,
	Nicolas Pitre <nicolas.pitre@linaro.org>,
	David Riley <davidriley@chromium.org>,
	Colin Cross <ccross@android.com>, Mark Brown <broonie@kernel.org>,
	Russell King <rmk+kernel@arm.linux.org.uk>
Subject: [patch 2/9] time: Add SPDX license identifiers
Date: Wed, 31 Oct 2018 19:21:09 +0100	[thread overview]
Message-ID: <20181031182252.879109557@linutronix.de> (raw)
In-Reply-To: 20181031182107.726051323@linutronix.de

[-- Attachment #1: time--Add-SPDX-license-identifiers.patch --]
[-- Type: text/plain, Size: 6790 bytes --]

Update the time(r) core files files with the correct SPDX license
identifier based on the license text in the file itself. The SPDX
identifier is a legally binding shorthand, which can be used instead of the
full boiler plate text.

This work is based on a script and data from Philippe Ombredanne, Kate
Stewart and myself. The data has been created with two independent license
scanners and manual inspection.

The following files do not contain any direct license information and have
been omitted from the big initial SPDX changes:

  timeconst.bc: The .bc files were not touched
  time.c, timer.c, timekeeping.c: Licence was deduced from EXPORT_SYMBOL_GPL

As those files do not contain direct license references they fall under the
project license, i.e. GPL V2 only.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Corey Minyard <cminyard@mvista.com>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Nicolas Pitre <nicolas.pitre@linaro.org>
Cc: David Riley <davidriley@chromium.org>
Cc: Colin Cross <ccross@android.com>
Cc: Mark Brown <broonie@kernel.org>
---
 include/linux/hrtimer.h         |    1 +
 kernel/time/alarmtimer.c        |    1 +
 kernel/time/clockevents.c       |    1 +
 kernel/time/clocksource.c       |    1 +
 kernel/time/hrtimer.c           |    1 +
 kernel/time/jiffies.c           |    1 +
 kernel/time/posix-clock.c       |    1 +
 kernel/time/posix-stubs.c       |    1 +
 kernel/time/posix-timers.c      |    1 +
 kernel/time/sched_clock.c       |    1 +
 kernel/time/test_udelay.c       |    1 +
 kernel/time/tick-broadcast.c    |    1 +
 kernel/time/tick-common.c       |    1 +
 kernel/time/tick-oneshot.c      |    1 +
 kernel/time/tick-sched.c        |    1 +
 kernel/time/time.c              |    1 +
 kernel/time/timeconst.bc        |    2 ++
 kernel/time/timeconv.c          |    1 +
 kernel/time/timecounter.c       |    1 +
 kernel/time/timekeeping.c       |    1 +
 kernel/time/timekeeping_debug.c |    1 +
 kernel/time/timer.c             |    1 +
 kernel/time/timer_list.c        |    1 +
 23 files changed, 24 insertions(+)

--- a/include/linux/hrtimer.h
+++ b/include/linux/hrtimer.h
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  *  hrtimers - High-resolution kernel timers
  *
--- a/kernel/time/alarmtimer.c
+++ b/kernel/time/alarmtimer.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Alarmtimer interface
  *
--- a/kernel/time/clockevents.c
+++ b/kernel/time/clockevents.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * This file contains functions which manage clock event devices.
  *
--- a/kernel/time/clocksource.c
+++ b/kernel/time/clocksource.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * This file contains the functions which manage clocksource drivers.
  *
--- a/kernel/time/hrtimer.c
+++ b/kernel/time/hrtimer.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  *  Copyright(C) 2005-2006, Thomas Gleixner <tglx@linutronix.de>
  *  Copyright(C) 2005-2007, Red Hat, Inc., Ingo Molnar
--- a/kernel/time/jiffies.c
+++ b/kernel/time/jiffies.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /***********************************************************************
 * This file contains the jiffies based clocksource.
 *
--- a/kernel/time/posix-clock.c
+++ b/kernel/time/posix-clock.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Support for dynamic clock devices
  *
--- a/kernel/time/posix-stubs.c
+++ b/kernel/time/posix-stubs.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Dummy stubs used when CONFIG_POSIX_TIMERS=n
  *
--- a/kernel/time/posix-timers.c
+++ b/kernel/time/posix-timers.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * 2002-10-15  Posix Clocks & timers
  *                           by George Anzinger george@mvista.com
--- a/kernel/time/sched_clock.c
+++ b/kernel/time/sched_clock.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Generic sched_clock() support, to extend low level hardware time
  * counters to full 64-bit ns values.
--- a/kernel/time/test_udelay.c
+++ b/kernel/time/test_udelay.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * udelay() test kernel module
  *
--- a/kernel/time/tick-broadcast.c
+++ b/kernel/time/tick-broadcast.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * This file contains functions which emulate a local clock-event
  * device via a broadcast event source.
--- a/kernel/time/tick-common.c
+++ b/kernel/time/tick-common.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * This file contains the base functions to manage periodic tick
  * related events.
--- a/kernel/time/tick-oneshot.c
+++ b/kernel/time/tick-oneshot.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * This file contains functions which manage high resolution tick
  * related events.
--- a/kernel/time/tick-sched.c
+++ b/kernel/time/tick-sched.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  *  Copyright(C) 2005-2006, Thomas Gleixner <tglx@linutronix.de>
  *  Copyright(C) 2005-2007, Red Hat, Inc., Ingo Molnar
--- a/kernel/time/time.c
+++ b/kernel/time/time.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  *  Copyright (C) 1991, 1992  Linus Torvalds
  *
--- a/kernel/time/timeconst.bc
+++ b/kernel/time/timeconst.bc
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+
 scale=0
 
 define gcd(a,b) {
--- a/kernel/time/timeconv.c
+++ b/kernel/time/timeconv.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.0+
 /*
  * Copyright (C) 1993, 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
  * This file is part of the GNU C Library.
--- a/kernel/time/timecounter.c
+++ b/kernel/time/timecounter.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Based on clocksource code. See commit 74d23cc704d1
  *
--- a/kernel/time/timekeeping.c
+++ b/kernel/time/timekeeping.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  *  Kernel timekeeping code and accessor functions. Based on code from
  *  timer.c, moved in commit 8524070b7982.
--- a/kernel/time/timekeeping_debug.c
+++ b/kernel/time/timekeeping_debug.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * debugfs file to track time spent in suspend
  *
--- a/kernel/time/timer.c
+++ b/kernel/time/timer.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  *  Kernel internal timers
  *
--- a/kernel/time/timer_list.c
+++ b/kernel/time/timer_list.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * List pending timers
  *



  parent reply	other threads:[~2018-10-31 18:26 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-31 18:21 [patch 0/9] time: Add SPDX identifiers and cleanup boilerplates Thomas Gleixner
2018-10-31 18:21 ` [patch 1/9] time: Remove useless filenames in top level comments Thomas Gleixner
2018-11-23 11:18   ` [tip:timers/core] " tip-bot for Thomas Gleixner
2018-10-31 18:21 ` Thomas Gleixner [this message]
2018-11-23 11:19   ` [tip:timers/core] time: Add SPDX license identifiers tip-bot for Thomas Gleixner
2018-11-24  4:15     ` Joe Perches
2018-11-29  1:09       ` Joe Perches
2018-10-31 18:21 ` [patch 3/9] hrtimers/tick/clockevents: Remove sloppy license references Thomas Gleixner
2018-11-23 11:20   ` [tip:timers/core] " tip-bot for Thomas Gleixner
2018-10-31 18:21 ` [patch 4/9] time/debug: Remove license boilerplate Thomas Gleixner
2018-11-23 11:20   ` [tip:timers/core] " tip-bot for Thomas Gleixner
2018-10-31 18:21 ` [patch 5/9] time: " Thomas Gleixner
2018-11-23 11:21   ` [tip:timers/core] " tip-bot for Thomas Gleixner
2018-10-31 18:21 ` [patch 6/9] posix-timers/stubs: " Thomas Gleixner
2018-11-23 11:21   ` [tip:timers/core] " tip-bot for Thomas Gleixner
2018-10-31 18:21 ` [patch 7/9] sched/clock: " Thomas Gleixner
2018-11-23 11:22   ` [tip:timers/core] " tip-bot for Thomas Gleixner
2018-10-31 18:21 ` [patch 8/9] posix-clocks: Remove license boiler plate Thomas Gleixner
2018-11-01  2:12   ` Richard Cochran
2018-11-23  7:11     ` Manfred Rudigier
2018-11-23 10:31       ` Thomas Gleixner
2018-11-23 11:23   ` [tip:timers/core] " tip-bot for Thomas Gleixner
2018-10-31 18:21 ` [patch 9/9] posix-timers: Remove license boilerplate Thomas Gleixner
2018-11-23 11:23   ` [tip:timers/core] " tip-bot for Thomas Gleixner
2018-10-31 18:35 ` [patch 0/9] time: Add SPDX identifiers and cleanup boilerplates John Stultz
2018-10-31 18:36 ` Kees Cook
2018-10-31 18:41 ` Nicolas Pitre
2018-10-31 19:00 ` Corey Minyard
2018-11-05 19:51 ` Ingo Molnar

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=20181031182252.879109557@linutronix.de \
    --to=tglx@linutronix.de \
    --cc=broonie@kernel.org \
    --cc=ccross@android.com \
    --cc=cminyard@mvista.com \
    --cc=davidriley@chromium.org \
    --cc=hpa@zytor.com \
    --cc=john.stultz@linaro.org \
    --cc=keescook@chromium.org \
    --cc=kstewart@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=nicolas.pitre@linaro.org \
    --cc=paulmck@linux.vnet.ibm.com \
    --cc=peterz@infradead.org \
    --cc=pombredanne@nexb.com \
    --cc=richardcochran@gmail.com \
    --cc=rmk+kernel@arm.linux.org.uk \
    --cc=rmk+kernel@armlinux.org.uk \
    /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.