Re: [Batch 14 patch 20/40] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 378

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 31, 2019 at 3:12 AM Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
>
> From: Thomas Gleixner tglx@xxxxxxxxxxxxx
>
> Based on 1 normalized pattern(s):
>
>   licensed under the gnu general public license version 2 gplv2
>
> extracted by the scancode license scanner the SPDX license identifier
>
>   GPL-2.0-only
>
> has been chosen to replace the boilerplate/reference in 5 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch14&id=05513b849d60
> ---
>  scripts/extract-vmlinux |    2 +-
>  scripts/recordmcount.c  |    2 +-
>  scripts/recordmcount.h  |    3 +--
>  scripts/sortextable.c   |    2 +-
>  scripts/sortextable.h   |    4 +---
>  5 files changed, 5 insertions(+), 8 deletions(-)
>
> --- a/scripts/extract-vmlinux
> +++ b/scripts/extract-vmlinux
> @@ -1,4 +1,5 @@
>  #!/bin/sh
> +# SPDX-License-Identifier: GPL-2.0-only
>  # ----------------------------------------------------------------------
>  # extract-vmlinux - Extract uncompressed vmlinux from a kernel image
>  #
> @@ -7,7 +8,6 @@
>  #
>  # (c) 2011      Corentin Chary <corentin.chary@xxxxxxxxx>
>  #
> -# Licensed under the GNU General Public License, version 2 (GPLv2).
>  # ----------------------------------------------------------------------
>
>  check_vmlinux()
> --- a/scripts/recordmcount.c
> +++ b/scripts/recordmcount.c
> @@ -1,8 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * recordmcount.c: construct a table of the locations of calls to 'mcount'
>   * so that ftrace can find them quickly.
>   * Copyright 2009 John F. Reiser <jreiser@xxxxxxxxxxxx>.  All rights reserved.
> - * Licensed under the GNU General Public License, version 2 (GPLv2).
>   *
>   * Restructured to fit Linux format, as well as other updates:
>   *  Copyright 2010 Steven Rostedt <srostedt@xxxxxxxxxx>, Red Hat Inc.
> --- a/scripts/recordmcount.h
> +++ b/scripts/recordmcount.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>  /*
>   * recordmcount.h
>   *
> @@ -15,8 +16,6 @@
>   *
>   * This conversion to macros was done by:
>   * Copyright 2010 Steven Rostedt <srostedt@xxxxxxxxxx>, Red Hat Inc.
> - *
> - * Licensed under the GNU General Public License, version 2 (GPLv2).
>   */
>  #undef append_func
>  #undef is_fake_mcount
> --- a/scripts/sortextable.c
> +++ b/scripts/sortextable.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * sortextable.c: Sort the kernel's exception table
>   *
> @@ -6,7 +7,6 @@
>   * Based on code taken from recortmcount.c which is:
>   *
>   * Copyright 2009 John F. Reiser <jreiser@xxxxxxxxxxxx>.  All rights reserved.
> - * Licensed under the GNU General Public License, version 2 (GPLv2).
>   *
>   * Restructured to fit Linux format, as well as other updates:
>   *  Copyright 2010 Steven Rostedt <srostedt@xxxxxxxxxx>, Red Hat Inc.
> --- a/scripts/sortextable.h
> +++ b/scripts/sortextable.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>  /*
>   * sortextable.h
>   *
> @@ -7,9 +8,6 @@
>   *
>   * Copyright 2009 John F. Reiser <jreiser@xxxxxxxxxxxx>.  All rights reserved.
>   * Copyright 2010 Steven Rostedt <srostedt@xxxxxxxxxx>, Red Hat Inc.
> - *
> - *
> - * Licensed under the GNU General Public License, version 2 (GPLv2).
>   */
>
>  #undef extable_ent_size
>
>



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux