treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 251

Based on 1 normalized pattern(s):

  released under the gpl v2 and only v2 not any later version

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

has been chosen to replace the boilerplate/reference in 12 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Steve Winslow <swinslow@gmail.com>
Reviewed-by: Alexios Zavras <alexios.zavras@intel.com>
Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>
Reviewed-by: Allison Randal <allison@lohutok.net>
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190529141332.526460839@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Thomas Gleixner 2019-05-29 07:12:25 -07:00 коммит произвёл Greg Kroah-Hartman
Родитель f2c7c76c5d
Коммит 910070454e
12 изменённых файлов: 12 добавлений и 24 удалений

Просмотреть файл

@ -1,7 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/* /*
* Copyright (C) 2014, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com> * Copyright (C) 2014, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com>
*
* Released under the GPL v2. (and only v2, not any later version)
*/ */
#include "array.h" #include "array.h"
#include <errno.h> #include <errno.h>

Просмотреть файл

@ -1,11 +1,10 @@
// SPDX-License-Identifier: GPL-2.0-only
/* /*
* builtin-kallsyms.c * builtin-kallsyms.c
* *
* Builtin command: Look for a symbol in the running kernel and its modules * Builtin command: Look for a symbol in the running kernel and its modules
* *
* Copyright (C) 2017, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com> * Copyright (C) 2017, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com>
*
* Released under the GPL v2. (and only v2, not any later version)
*/ */
#include <inttypes.h> #include <inttypes.h>
#include "builtin.h" #include "builtin.h"

Просмотреть файл

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0-only
/* /*
* builtin-stat.c * builtin-stat.c
* *
@ -37,8 +38,6 @@
* Mike Galbraith <efault@gmx.de> * Mike Galbraith <efault@gmx.de>
* Paul Mackerras <paulus@samba.org> * Paul Mackerras <paulus@samba.org>
* Jaswinder Singh Rajput <jaswinder@kernel.org> * Jaswinder Singh Rajput <jaswinder@kernel.org>
*
* Released under the GPL v2. (and only v2, not any later version)
*/ */
#include "perf.h" #include "perf.h"

Просмотреть файл

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0-only
/* /*
* builtin-top.c * builtin-top.c
* *
@ -14,8 +15,6 @@
* Wu Fengguang <fengguang.wu@intel.com> * Wu Fengguang <fengguang.wu@intel.com>
* Mike Galbraith <efault@gmx.de> * Mike Galbraith <efault@gmx.de>
* Paul Mackerras <paulus@samba.org> * Paul Mackerras <paulus@samba.org>
*
* Released under the GPL v2. (and only v2, not any later version)
*/ */
#include "builtin.h" #include "builtin.h"

Просмотреть файл

@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0-only
/* /*
* builtin-trace.c * builtin-trace.c
* *
@ -12,8 +13,6 @@
* Initially based on the 'trace' prototype by Thomas Gleixner: * Initially based on the 'trace' prototype by Thomas Gleixner:
* *
* http://lwn.net/Articles/415728/ ("Announcing a new utility: 'trace'") * http://lwn.net/Articles/415728/ ("Announcing a new utility: 'trace'")
*
* Released under the GPL v2. (and only v2, not any later version)
*/ */
#include <traceevent/event-parse.h> #include <traceevent/event-parse.h>

Просмотреть файл

@ -1,10 +1,9 @@
// SPDX-License-Identifier: GPL-2.0-only
/* /*
* Copyright (C) 2011, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com> * Copyright (C) 2011, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com>
* *
* Parts came from builtin-annotate.c, see those files for further * Parts came from builtin-annotate.c, see those files for further
* copyright notes. * copyright notes.
*
* Released under the GPL v2. (and only v2, not any later version)
*/ */
#include <errno.h> #include <errno.h>

Просмотреть файл

@ -1,10 +1,9 @@
// SPDX-License-Identifier: GPL-2.0-only
/* /*
* CTF writing support via babeltrace. * CTF writing support via babeltrace.
* *
* Copyright (C) 2014, Jiri Olsa <jolsa@redhat.com> * Copyright (C) 2014, Jiri Olsa <jolsa@redhat.com>
* Copyright (C) 2014, Sebastian Andrzej Siewior <bigeasy@linutronix.de> * Copyright (C) 2014, Sebastian Andrzej Siewior <bigeasy@linutronix.de>
*
* Released under the GPL v2. (and only v2, not any later version)
*/ */
#include <errno.h> #include <errno.h>

Просмотреть файл

@ -1,10 +1,9 @@
// SPDX-License-Identifier: GPL-2.0-only
/* /*
* Copyright (C) 2011, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com> * Copyright (C) 2011, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com>
* *
* Parts came from builtin-{top,stat,record}.c, see those files for further * Parts came from builtin-{top,stat,record}.c, see those files for further
* copyright notes. * copyright notes.
*
* Released under the GPL v2. (and only v2, not any later version)
*/ */
#include "util.h" #include "util.h"
#include <api/fs/fs.h> #include <api/fs/fs.h>

Просмотреть файл

@ -1,10 +1,9 @@
// SPDX-License-Identifier: GPL-2.0-only
/* /*
* Copyright (C) 2011, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com> * Copyright (C) 2011, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com>
* *
* Parts came from builtin-{top,stat,record}.c, see those files for further * Parts came from builtin-{top,stat,record}.c, see those files for further
* copyright notes. * copyright notes.
*
* Released under the GPL v2. (and only v2, not any later version)
*/ */
#include <byteswap.h> #include <byteswap.h>

Просмотреть файл

@ -1,11 +1,10 @@
// SPDX-License-Identifier: GPL-2.0-only
/* /*
* genelf.c * genelf.c
* Copyright (C) 2014, Google, Inc * Copyright (C) 2014, Google, Inc
* *
* Contributed by: * Contributed by:
* Stephane Eranian <eranian@gmail.com> * Stephane Eranian <eranian@gmail.com>
*
* Released under the GPL v2. (and only v2, not any later version)
*/ */
#include <sys/types.h> #include <sys/types.h>

Просмотреть файл

@ -1,10 +1,9 @@
// SPDX-License-Identifier: GPL-2.0-only
/* /*
* Copyright (C) 2011-2017, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com> * Copyright (C) 2011-2017, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com>
* *
* Parts came from evlist.c builtin-{top,stat,record}.c, see those files for further * Parts came from evlist.c builtin-{top,stat,record}.c, see those files for further
* copyright notes. * copyright notes.
*
* Released under the GPL v2. (and only v2, not any later version)
*/ */
#include <sys/mman.h> #include <sys/mman.h>

Просмотреть файл

@ -1,9 +1,8 @@
// SPDX-License-Identifier: GPL-2.0-only
/* /*
* Copyright (C) 2011, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com> * Copyright (C) 2011, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com>
* *
* Refactored from builtin-top.c, see that files for further copyright notes. * Refactored from builtin-top.c, see that files for further copyright notes.
*
* Released under the GPL v2. (and only v2, not any later version)
*/ */
#include "cpumap.h" #include "cpumap.h"