| Subject: treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 382 |
| Date: Tue, 07 May 2019 12:03:03 +0100 |
| From: Thomas Gleixner <tglx@linutronix.de> |
| |
| Based on 2 normalized pattern(s): |
| |
| this file is subject to the terms and conditions of the gnu general |
| public license version 2 see the file "copying" in the main |
| directory of this archive for more details |
| |
| |
| this file is subject to the terms and conditions of the gnu general |
| public license version 2 see the file copying in the main directory |
| of this archive for more details |
| |
| |
| |
| extracted by the scancode license scanner the SPDX license identifier |
| |
| GPL-2.0-only |
| |
| has been chosen to replace the boilerplate/reference in 14 file(s). |
| |
| The result has been manually verified and compared against a license |
| compliance dataset provided by .... |
| |
| Signed-off-by: Thomas Gleixner <tglx@linutronix.de> |
| |
| |
| --- |
| |
| --- a/block/bsg.c |
| +++ b/block/bsg.c |
| @@ -1,13 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * bsg.c - block layer implementation of the sg v4 interface |
| * |
| * Copyright (C) 2004 Jens Axboe <axboe@suse.de> SUSE Labs |
| * Copyright (C) 2004 Peter M. Jones <pjones@redhat.com> |
| - * |
| - * This file is subject to the terms and conditions of the GNU General Public |
| - * License version 2. See the file "COPYING" in the main directory of this |
| - * archive for more details. |
| - * |
| */ |
| #include <linux/module.h> |
| #include <linux/init.h> |
| |
| |
| --- a/drivers/gpu/drm/cirrus/cirrus_drv.c |
| +++ b/drivers/gpu/drm/cirrus/cirrus_drv.c |
| @@ -1,9 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright 2012 Red Hat <mjg@redhat.com> |
| - * |
| - * This file is subject to the terms and conditions of the GNU General |
| - * Public License version 2. See the file COPYING in the main |
| - * directory of this archive for more details. |
| * |
| * Authors: Matthew Garrett |
| * Dave Airlie |
| |
| |
| --- a/drivers/gpu/drm/cirrus/cirrus_drv.h |
| +++ b/drivers/gpu/drm/cirrus/cirrus_drv.h |
| @@ -1,9 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright 2012 Red Hat |
| - * |
| - * This file is subject to the terms and conditions of the GNU General |
| - * Public License version 2. See the file COPYING in the main |
| - * directory of this archive for more details. |
| * |
| * Authors: Matthew Garrett |
| * Dave Airlie |
| |
| |
| --- a/drivers/gpu/drm/cirrus/cirrus_fbdev.c |
| +++ b/drivers/gpu/drm/cirrus/cirrus_fbdev.c |
| @@ -1,9 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright 2012 Red Hat |
| - * |
| - * This file is subject to the terms and conditions of the GNU General |
| - * Public License version 2. See the file COPYING in the main |
| - * directory of this archive for more details. |
| * |
| * Authors: Matthew Garrett |
| * Dave Airlie |
| |
| |
| --- a/drivers/gpu/drm/cirrus/cirrus_main.c |
| +++ b/drivers/gpu/drm/cirrus/cirrus_main.c |
| @@ -1,9 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright 2012 Red Hat |
| - * |
| - * This file is subject to the terms and conditions of the GNU General |
| - * Public License version 2. See the file COPYING in the main |
| - * directory of this archive for more details. |
| * |
| * Authors: Matthew Garrett |
| * Dave Airlie |
| |
| |
| --- a/drivers/gpu/drm/cirrus/cirrus_mode.c |
| +++ b/drivers/gpu/drm/cirrus/cirrus_mode.c |
| @@ -1,10 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| |
| /* |
| * Copyright 2012 Red Hat |
| - * |
| - * This file is subject to the terms and conditions of the GNU General |
| - * Public License version 2. See the file COPYING in the main |
| - * directory of this archive for more details. |
| * |
| * Authors: Matthew Garrett |
| * Dave Airlie |
| |
| |
| --- a/drivers/gpu/drm/mgag200/mgag200_cursor.c |
| +++ b/drivers/gpu/drm/mgag200/mgag200_cursor.c |
| @@ -1,9 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright 2013 Matrox Graphics |
| - * |
| - * This file is subject to the terms and conditions of the GNU General |
| - * Public License version 2. See the file COPYING in the main |
| - * directory of this archive for more details. |
| * |
| * Author: Christopher Harvey <charvey@matrox.com> |
| */ |
| |
| |
| --- a/drivers/gpu/drm/mgag200/mgag200_drv.c |
| +++ b/drivers/gpu/drm/mgag200/mgag200_drv.c |
| @@ -1,9 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright 2012 Red Hat |
| - * |
| - * This file is subject to the terms and conditions of the GNU General |
| - * Public License version 2. See the file COPYING in the main |
| - * directory of this archive for more details. |
| * |
| * Authors: Matthew Garrett |
| * Dave Airlie |
| |
| |
| --- a/drivers/gpu/drm/mgag200/mgag200_drv.h |
| +++ b/drivers/gpu/drm/mgag200/mgag200_drv.h |
| @@ -1,10 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright 2010 Matt Turner. |
| * Copyright 2012 Red Hat |
| - * |
| - * This file is subject to the terms and conditions of the GNU General |
| - * Public License version 2. See the file COPYING in the main |
| - * directory of this archive for more details. |
| * |
| * Authors: Matthew Garrett |
| * Matt Turner |
| |
| |
| --- a/drivers/gpu/drm/mgag200/mgag200_fb.c |
| +++ b/drivers/gpu/drm/mgag200/mgag200_fb.c |
| @@ -1,10 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright 2010 Matt Turner. |
| * Copyright 2012 Red Hat |
| - * |
| - * This file is subject to the terms and conditions of the GNU General |
| - * Public License version 2. See the file COPYING in the main |
| - * directory of this archive for more details. |
| * |
| * Authors: Matthew Garrett |
| * Matt Turner |
| |
| |
| --- a/drivers/gpu/drm/mgag200/mgag200_main.c |
| +++ b/drivers/gpu/drm/mgag200/mgag200_main.c |
| @@ -1,10 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright 2010 Matt Turner. |
| * Copyright 2012 Red Hat |
| - * |
| - * This file is subject to the terms and conditions of the GNU General |
| - * Public License version 2. See the file COPYING in the main |
| - * directory of this archive for more details. |
| * |
| * Authors: Matthew Garrett |
| * Matt Turner |
| |
| |
| --- a/drivers/gpu/drm/mgag200/mgag200_mode.c |
| +++ b/drivers/gpu/drm/mgag200/mgag200_mode.c |
| @@ -1,10 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright 2010 Matt Turner. |
| * Copyright 2012 Red Hat |
| - * |
| - * This file is subject to the terms and conditions of the GNU General |
| - * Public License version 2. See the file COPYING in the main |
| - * directory of this archive for more details. |
| * |
| * Authors: Matthew Garrett |
| * Matt Turner |
| |
| |
| --- a/drivers/input/keyboard/hilkbd.c |
| +++ b/drivers/input/keyboard/hilkbd.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * linux/drivers/hil/hilkbd.c |
| * |
| @@ -8,11 +9,6 @@ |
| * Very basic HP Human Interface Loop (HIL) driver. |
| * This driver handles the keyboard on HP300 (m68k) and on some |
| * HP700 (parisc) series machines. |
| - * |
| - * |
| - * This file is subject to the terms and conditions of the GNU General Public |
| - * License version 2. See the file COPYING in the main directory of this |
| - * archive for more details. |
| */ |
| |
| #include <linux/pci_ids.h> |
| |
| |
| --- a/drivers/rtc/rtc-ds1302.c |
| +++ b/drivers/rtc/rtc-ds1302.c |
| @@ -1,12 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Dallas DS1302 RTC Support |
| * |
| * Copyright (C) 2002 David McCullough |
| * Copyright (C) 2003 - 2007 Paul Mundt |
| - * |
| - * This file is subject to the terms and conditions of the GNU General Public |
| - * License version 2. See the file "COPYING" in the main directory of |
| - * this archive for more details. |
| */ |
| |
| #include <linux/bcd.h> |
| |
| |