These files contain various forms of boilerplate language and sloppy GPL references. Replace all of them with the proper SPDX identifiers. Signed-off-by: Thomas Gleixner Cc: Daniel Lezcano Cc: Marc Zyngier Cc: Yang Yingliang Cc: Russell King Cc: Bartosz Golaszewski Cc: H. Peter Anvin --- kernel/irq/cpuhotplug.c | 5 +---- kernel/irq/debugfs.c | 8 +++----- kernel/irq/irq_sim.c | 10 ++-------- kernel/irq/msi.c | 3 +-- kernel/irq/timings.c | 11 +++-------- 5 files changed, 10 insertions(+), 27 deletions(-) --- a/kernel/irq/cpuhotplug.c +++ b/kernel/irq/cpuhotplug.c @@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Generic cpu hotunplug interrupt migration code copied from the * arch/arm implementation * * Copyright (C) Russell King - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #include #include --- a/kernel/irq/debugfs.c +++ b/kernel/irq/debugfs.c @@ -1,8 +1,6 @@ -/* - * Copyright 2017 Thomas Gleixner - * - * This file is licensed under the GPL V2. - */ +// SPDX-License-Identifier: GPL-2.0 +// Copyright 2017 Thomas Gleixner + #include #include #include --- a/kernel/irq/irq_sim.c +++ b/kernel/irq/irq_sim.c @@ -1,11 +1,5 @@ -/* - * Copyright (C) 2017 Bartosz Golaszewski - * - * 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. - */ +// SPDX-License-Identifier: GPL-2.0+ +// Copyright (C) 2017 Bartosz Golaszewski #include #include --- a/kernel/irq/msi.c +++ b/kernel/irq/msi.c @@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2014 Intel Corp. * Author: Jiang Liu * - * This file is licensed under GPLv2. - * * This file contains common code to support Message Signalled Interrupt for * PCI compatible and non PCI compatible devices. */ --- a/kernel/irq/timings.c +++ b/kernel/irq/timings.c @@ -1,11 +1,6 @@ -/* - * Copyright (C) 2016, Linaro Ltd - Daniel Lezcano - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - */ +// SPDX-License-Identifier: GPL-2.0 +// Copyright (C) 2016, Linaro Ltd - Daniel Lezcano + #include #include #include