Re: [Batch 5 - patch 20/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 120

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

 



Reviewed-by: Kate Stewart <kstewart@xxxxxxxxxxxxxxxxxxx>

On Thu, May 23, 2019 at 4:29 AM Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
>
> Based on 1 normalized pattern(s):
>
>   this program is free software you can redistribute it and or modify
>   it under the terms of the gnu general public license as published by
>   the free software foundation either version 2 of the license or at
>   your option any later version this program is distributed in the
>   hope that 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 see the file copying or write to the free
>   software foundation inc
>
> extracted by the scancode license scanner the SPDX license identifier
>
>   GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 12 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=6666628c0d24
> ---
>  arch/riscv/kernel/process.c |   15 +--------------
>  arch/riscv/kernel/setup.c   |   15 +--------------
>  arch/riscv/kernel/signal.c  |   15 +--------------
>  arch/riscv/mm/extable.c     |   15 +--------------
>  arch/riscv/mm/fault.c       |   15 +--------------
>  include/linux/libgcc.h      |   15 +--------------
>  lib/ashldi3.c               |   14 +-------------
>  lib/ashrdi3.c               |   14 +-------------
>  lib/cmpdi2.c                |   14 +-------------
>  lib/lshrdi3.c               |   15 +--------------
>  lib/muldi3.c                |   14 +-------------
>  lib/ucmpdi2.c               |   14 +-------------
>  12 files changed, 12 insertions(+), 163 deletions(-)
>
> --- a/arch/riscv/kernel/process.c
> +++ b/arch/riscv/kernel/process.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2009 Sunplus Core Technology Co., Ltd.
>   *  Chen Liqin <liqin.chen@xxxxxxxxxxxxx>
>   *  Lennox Wu <lennox.wu@xxxxxxxxxxxxx>
>   * Copyright (C) 2012 Regents of the University of California
>   * Copyright (C) 2017 SiFive
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that 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, see the file COPYING, or write
> - * to the Free Software Foundation, Inc.,
>   */
>
>  #include <linux/kernel.h>
> --- a/arch/riscv/kernel/setup.c
> +++ b/arch/riscv/kernel/setup.c
> @@ -1,22 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2009 Sunplus Core Technology Co., Ltd.
>   *  Chen Liqin <liqin.chen@xxxxxxxxxxxxx>
>   *  Lennox Wu <lennox.wu@xxxxxxxxxxxxx>
>   * Copyright (C) 2012 Regents of the University of California
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that 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, see the file COPYING, or write
> - * to the Free Software Foundation, Inc.,
>   */
>
>  #include <linux/init.h>
> --- a/arch/riscv/kernel/signal.c
> +++ b/arch/riscv/kernel/signal.c
> @@ -1,22 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2009 Sunplus Core Technology Co., Ltd.
>   *  Chen Liqin <liqin.chen@xxxxxxxxxxxxx>
>   *  Lennox Wu <lennox.wu@xxxxxxxxxxxxx>
>   * Copyright (C) 2012 Regents of the University of California
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that 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, see the file COPYING, or write
> - * to the Free Software Foundation, Inc.,
>   */
>
>  #include <linux/signal.h>
> --- a/arch/riscv/mm/extable.c
> +++ b/arch/riscv/mm/extable.c
> @@ -1,22 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2009 Sunplus Core Technology Co., Ltd.
>   *  Lennox Wu <lennox.wu@xxxxxxxxxxxxx>
>   *  Chen Liqin <liqin.chen@xxxxxxxxxxxxx>
>   * Copyright (C) 2013 Regents of the University of California
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that 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, see the file COPYING, or write
> - * to the Free Software Foundation, Inc.,
>   */
>
>
> --- a/arch/riscv/mm/fault.c
> +++ b/arch/riscv/mm/fault.c
> @@ -1,22 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2009 Sunplus Core Technology Co., Ltd.
>   *  Lennox Wu <lennox.wu@xxxxxxxxxxxxx>
>   *  Chen Liqin <liqin.chen@xxxxxxxxxxxxx>
>   * Copyright (C) 2012 Regents of the University of California
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that 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, see the file COPYING, or write
> - * to the Free Software Foundation, Inc.,
>   */
>
>
> --- a/include/linux/libgcc.h
> +++ b/include/linux/libgcc.h
> @@ -1,19 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * include/lib/libgcc.h
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that 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, see the file COPYING, or write
> - * to the Free Software Foundation, Inc.
>   */
>
>  #ifndef __LIB_LIBGCC_H
> --- a/lib/ashldi3.c
> +++ b/lib/ashldi3.c
> @@ -1,17 +1,5 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that 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, see the file COPYING, or write
> - * to the Free Software Foundation, Inc.
>   */
>
>  #include <linux/export.h>
> --- a/lib/ashrdi3.c
> +++ b/lib/ashrdi3.c
> @@ -1,17 +1,5 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that 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, see the file COPYING, or write
> - * to the Free Software Foundation, Inc.
>   */
>
>  #include <linux/export.h>
> --- a/lib/cmpdi2.c
> +++ b/lib/cmpdi2.c
> @@ -1,17 +1,5 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that 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, see the file COPYING, or write
> - * to the Free Software Foundation, Inc.
>   */
>
>  #include <linux/export.h>
> --- a/lib/lshrdi3.c
> +++ b/lib/lshrdi3.c
> @@ -1,19 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * lib/lshrdi3.c
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that 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, see the file COPYING, or write
> - * to the Free Software Foundation, Inc.
>   */
>
>  #include <linux/module.h>
> --- a/lib/muldi3.c
> +++ b/lib/muldi3.c
> @@ -1,17 +1,5 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that 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, see the file COPYING, or write
> - * to the Free Software Foundation, Inc.
>   */
>
>  #include <linux/export.h>
> --- a/lib/ucmpdi2.c
> +++ b/lib/ucmpdi2.c
> @@ -1,17 +1,5 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that 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, see the file COPYING, or write
> - * to the Free Software Foundation, Inc.
>   */
>
>  #include <linux/module.h>
>
>



[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