Re: [Batch 11 patch 07/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 257

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

 



Reviewed-by: Steve Winslow <swinslow@xxxxxxxxx>

On Wed, May 29, 2019 at 10:22 AM Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
>
> From: Thomas Gleixner tglx@xxxxxxxxxxxxx
>
> Based on 1 normalized pattern(s):
>
>   gpl v2
>
> extracted by the scancode license scanner the SPDX license identifier
>
>   GPL-2.0-only
>
> has been chosen to replace the boilerplate/reference in 19 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch11&id=491d773358b4
> ---
>  arch/x86/entry/common.c                             |    2 +-
>  drivers/video/backlight/locomolcd.c                 |    2 +-
>  include/net/fq.h                                    |    3 +--
>  include/net/fq_impl.h                               |    3 +--
>  scripts/coccinelle/api/platform_no_drv_owner.cocci  |    3 ++-
>  tools/testing/selftests/x86/check_cc.sh             |    2 +-
>  tools/testing/selftests/x86/entry_from_vm86.c       |    3 +--
>  tools/testing/selftests/x86/fsgsbase.c              |    2 +-
>  tools/testing/selftests/x86/trivial_32bit_program.c |    2 +-
>  tools/testing/selftests/x86/trivial_64bit_program.c |    2 +-
>  10 files changed, 11 insertions(+), 13 deletions(-)
>
> --- a/arch/x86/entry/common.c
> +++ b/arch/x86/entry/common.c
> @@ -1,7 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * common.c - C code for kernel entry and exit
>   * Copyright (c) 2015 Andrew Lutomirski
> - * GPL v2
>   *
>   * Based on asm and ptrace code by many authors.  The code here originated
>   * in ptrace.c and signal.c.
> --- a/drivers/video/backlight/locomolcd.c
> +++ b/drivers/video/backlight/locomolcd.c
> @@ -1,9 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * Backlight control code for Sharp Zaurus SL-5500
>   *
>   * Copyright 2005 John Lenz <lenz@xxxxxxxxxxx>
>   * Maintainer: Pavel Machek <pavel@xxxxxx> (unless John wants to :-)
> - * GPL v2
>   *
>   * This driver assumes single CPU. That's okay, because collie is
>   * slightly old hardware, and no one is going to retrofit second CPU to
> --- a/include/net/fq.h
> +++ b/include/net/fq.h
> @@ -1,8 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>  /*
>   * Copyright (c) 2016 Qualcomm Atheros, Inc
>   *
> - * GPL v2
> - *
>   * Based on net/sched/sch_fq_codel.c
>   */
>  #ifndef __NET_SCHED_FQ_H
> --- a/include/net/fq_impl.h
> +++ b/include/net/fq_impl.h
> @@ -1,8 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>  /*
>   * Copyright (c) 2016 Qualcomm Atheros, Inc
>   *
> - * GPL v2
> - *
>   * Based on net/sched/sch_fq_codel.c
>   */
>  #ifndef __NET_SCHED_FQ_IMPL_H
> --- a/scripts/coccinelle/api/platform_no_drv_owner.cocci
> +++ b/scripts/coccinelle/api/platform_no_drv_owner.cocci
> @@ -1,7 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /// Remove .owner field if calls are used which set it automatically
>  ///
>  // Confidence: High
> -// Copyright: (C) 2014 Wolfram Sang. GPL v2.
> +// Copyright: (C) 2014 Wolfram Sang.
>
>  virtual patch
>  virtual context
> --- a/tools/testing/selftests/x86/check_cc.sh
> +++ b/tools/testing/selftests/x86/check_cc.sh
> @@ -1,7 +1,7 @@
>  #!/bin/sh
> +# SPDX-License-Identifier: GPL-2.0-only
>  # check_cc.sh - Helper to test userspace compilation support
>  # Copyright (c) 2015 Andrew Lutomirski
> -# GPL v2
>
>  CC="$1"
>  TESTPROG="$2"
> --- a/tools/testing/selftests/x86/entry_from_vm86.c
> +++ b/tools/testing/selftests/x86/entry_from_vm86.c
> @@ -1,10 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * entry_from_vm86.c - tests kernel entries from vm86 mode
>   * Copyright (c) 2014-2015 Andrew Lutomirski
>   *
>   * This exercises a few paths that need to special-case vm86 mode.
> - *
> - * GPL v2.
>   */
>
>  #define _GNU_SOURCE
> --- a/tools/testing/selftests/x86/fsgsbase.c
> +++ b/tools/testing/selftests/x86/fsgsbase.c
> @@ -1,7 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * fsgsbase.c, an fsgsbase test
>   * Copyright (c) 2014-2016 Andy Lutomirski
> - * GPL v2
>   */
>
>  #define _GNU_SOURCE
> --- a/tools/testing/selftests/x86/trivial_32bit_program.c
> +++ b/tools/testing/selftests/x86/trivial_32bit_program.c
> @@ -1,7 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * Trivial program to check that we have a valid 32-bit build environment.
>   * Copyright (c) 2015 Andy Lutomirski
> - * GPL v2
>   */
>
>  #ifndef __i386__
> --- a/tools/testing/selftests/x86/trivial_64bit_program.c
> +++ b/tools/testing/selftests/x86/trivial_64bit_program.c
> @@ -1,7 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * Trivial program to check that we have a valid 64-bit build environment.
>   * Copyright (c) 2015 Andy Lutomirski
> - * GPL v2
>   */
>
>  #ifndef __x86_64__
>
>


-- 
Steve Winslow
Director of Strategic Programs
The Linux Foundation
swinslow@xxxxxxxxxxxxxxxxxxx



[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