Re: [Batch 10 patch 21/24] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 222

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

 



Reviewed-by: Steve Winslow <swinslow@xxxxxxxxx>

On Tue, May 28, 2019 at 1:17 PM Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
>
> From: Thomas Gleixner tglx@xxxxxxxxxxxxx
>
> Based on 1 normalized pattern(s):
>
>   license gplv2 this program is free software you can redistribute it
>   and or modify it under the terms and conditions of the gnu general
>   public license version 2 as published by the free software
>   foundation this program is distributed in the hope 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
>
> extracted by the scancode license scanner the SPDX license identifier
>
>   GPL-2.0-only
>
> has been chosen to replace the boilerplate/reference in 4 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch10&id=234465326864
> ---
>  tools/testing/selftests/net/psock_fanout.c  |   16 +---------------
>  tools/testing/selftests/net/psock_lib.h     |   16 +---------------
>  tools/testing/selftests/net/psock_tpacket.c |   16 +---------------
>  tools/testing/selftests/net/tcp_mmap.c      |   16 +---------------
>  4 files changed, 4 insertions(+), 60 deletions(-)
>
> --- a/tools/testing/selftests/net/psock_fanout.c
> +++ b/tools/testing/selftests/net/psock_fanout.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * Copyright 2013 Google Inc.
>   * Author: Willem de Bruijn (willemb@xxxxxxxxxx)
> @@ -24,21 +25,6 @@
>   *
>   * Todo:
>   * - functionality: PACKET_FANOUT_FLAG_DEFRAG
> - *
> - * License (GPLv2):
> - *
> - * This program is free software; you can redistribute it and/or modify it
> - * under the terms and conditions of the GNU General Public License,
> - * version 2, as published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope 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.
>   */
>
>  #define _GNU_SOURCE            /* for sched_setaffinity */
> --- a/tools/testing/selftests/net/psock_lib.h
> +++ b/tools/testing/selftests/net/psock_lib.h
> @@ -1,22 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>  /*
>   * Copyright 2013 Google Inc.
>   * Author: Willem de Bruijn <willemb@xxxxxxxxxx>
>   *         Daniel Borkmann <dborkman@xxxxxxxxxx>
> - *
> - * License (GPLv2):
> - *
> - * This program is free software; you can redistribute it and/or modify it
> - * under the terms and conditions of the GNU General Public License,
> - * version 2, as published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope 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.
>   */
>
>  #ifndef PSOCK_LIB_H
> --- a/tools/testing/selftests/net/psock_tpacket.c
> +++ b/tools/testing/selftests/net/psock_tpacket.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * Copyright 2013 Red Hat, Inc.
>   * Author: Daniel Borkmann <dborkman@xxxxxxxxxx>
> @@ -19,21 +20,6 @@
>   *   - TPACKET_V1: RX_RING, TX_RING
>   *   - TPACKET_V2: RX_RING, TX_RING
>   *   - TPACKET_V3: RX_RING
> - *
> - * License (GPLv2):
> - *
> - * This program is free software; you can redistribute it and/or modify it
> - * under the terms and conditions of the GNU General Public License,
> - * version 2, as published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope 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 <stdio.h>
> --- a/tools/testing/selftests/net/tcp_mmap.c
> +++ b/tools/testing/selftests/net/tcp_mmap.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
>   * Copyright 2018 Google Inc.
>   * Author: Eric Dumazet (edumazet@xxxxxxxxxx)
> @@ -44,21 +45,6 @@
>   *   cpu usage user:0.046 sys:3.559, 110.016 usec per MB, 65529 c-switches
>   * received 32768 MB (99.9939 % mmap'ed) in 7.43764 s, 36.9577 Gbit
>   *   cpu usage user:0.035 sys:3.467, 106.873 usec per MB, 65530 c-switches
> - *
> - * License (GPLv2):
> - *
> - * This program is free software; you can redistribute it and/or modify it
> - * under the terms and conditions of the GNU General Public License,
> - * version 2, as published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope 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.
>   */
>  #define _GNU_SOURCE
>  #include <pthread.h>
>
>


-- 
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