kernel: debug: Add SPDX license ids to kdb files
Subsystems (2)
PATCH v2 1/1 kernel: debug: Add SPDX license ids to kdb files
Add GPL-2.0 license id to some files related to kdb and kgdb, replacing references to GPL or COPYING.
These files were introduced into the kernel in 2008 and 2010.
Signed-off-by Tim Bird <[email protected]>
---
V1 -> V2 Add closing */ in debug_core.h
--- include/linux/kdb.h | 5 +---- include/linux/kgdb.h | 4 +--- kernel/debug/debug_core.h | 5 +---- kernel/debug/kdb/kdb_bp.c | 5 +---- kernel/debug/kdb/kdb_bt.c | 5 +---- kernel/debug/kdb/kdb_debugger.c | 1 + kernel/debug/kdb/kdb_io.c | 5 +---- kernel/debug/kdb/kdb_keyboard.c | 4 +--- kernel/debug/kdb/kdb_main.c | 5 +---- kernel/debug/kdb/kdb_private.h | 1 + kernel/debug/kdb/kdb_support.c | 5 +---- 11 files changed, 11 insertions(+), 34 deletions(-)
include/linux/kdb.h +1 -4
@@ -1,13 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _KDB_H#define _KDB_H/* * Kernel Debugger Architecture Independent Global Headers * -* This file is subject to the terms and conditions of the GNU General Public -* License. See the file "COPYING" in the main directory of this archive -* for more details. -* * Copyright (c) 2000-2007 Silicon Graphics, Inc. All Rights Reserved. * Copyright (C) 2000 Stephane Eranian <[email protected]> * Copyright (C) 2009 Jason Wessel <[email protected]>
include/linux/kgdb.h +1 -3
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * This provides the callbacks and functions that KGDB needs to share between * the core, I/O and arch-specific portions.
@@ -6,9 +7,6 @@* Tom Rini <[email protected]> * * 2001-2004 (c) Amit S. Kale and 2003-2005 (c) MontaVista Software, Inc. -* This file is licensed under the terms of the GNU General Public License -* version 2. This program is licensed "as is" without any warranty of any -* kind, whether express or implied. */ #ifndef _KGDB_H_#define _KGDB_H_
kernel/debug/debug_core.h +1 -4
@@ -1,11 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Created by: Jason Wessel <[email protected]> * * Copyright (c) 2009 Wind River Systems, Inc. All Rights Reserved. -* -* This file is licensed under the terms of the GNU General Public -* License version 2. This program is licensed "as is" without any -* warranty of any kind, whether express or implied. */ #ifndef _DEBUG_CORE_H_
kernel/debug/kdb/kdb_bp.c +1 -4
@@ -1,10 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Kernel Debugger Architecture Independent Breakpoint Handler * -* This file is subject to the terms and conditions of the GNU General Public -* License. See the file "COPYING" in the main directory of this archive -* for more details. -* * Copyright (c) 1999-2004 Silicon Graphics, Inc. All Rights Reserved. * Copyright (c) 2009 Wind River Systems, Inc. All Rights Reserved. */
kernel/debug/kdb/kdb_bt.c +1 -4
@@ -1,10 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Kernel Debugger Architecture Independent Stack Traceback * -* This file is subject to the terms and conditions of the GNU General Public -* License. See the file "COPYING" in the main directory of this archive -* for more details. -* * Copyright (c) 1999-2004 Silicon Graphics, Inc. All Rights Reserved. * Copyright (c) 2009 Wind River Systems, Inc. All Rights Reserved. */
kernel/debug/kdb/kdb_debugger.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Created by: Jason Wessel <[email protected]> *
kernel/debug/kdb/kdb_io.c +1 -4
@@ -1,10 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Kernel Debugger Architecture Independent Console I/O handler * -* This file is subject to the terms and conditions of the GNU General Public -* License. See the file "COPYING" in the main directory of this archive -* for more details. -* * Copyright (c) 1999-2006 Silicon Graphics, Inc. All Rights Reserved. * Copyright (c) 2009 Wind River Systems, Inc. All Rights Reserved. */
kernel/debug/kdb/kdb_keyboard.c +1 -3
@@ -1,9 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Kernel Debugger Architecture Dependent Console I/O handler * -* This file is subject to the terms and conditions of the GNU General Public -* License. -* * Copyright (c) 1999-2006 Silicon Graphics, Inc. All Rights Reserved. * Copyright (c) 2009 Wind River Systems, Inc. All Rights Reserved. */
kernel/debug/kdb/kdb_main.c +1 -4
@@ -1,10 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Kernel Debugger Architecture Independent Main Code * -* This file is subject to the terms and conditions of the GNU General Public -* License. See the file "COPYING" in the main directory of this archive -* for more details. -* * Copyright (C) 1999-2004 Silicon Graphics, Inc. All Rights Reserved. * Copyright (C) 2000 Stephane Eranian <[email protected]> * Xscale (R) modifications copyright (C) 2003 Intel Corporation.
kernel/debug/kdb/kdb_private.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _KDBPRIVATE_H#define _KDBPRIVATE_H
kernel/debug/kdb/kdb_support.c +1 -4
@@ -1,10 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Kernel Debugger Architecture Independent Support Functions * -* This file is subject to the terms and conditions of the GNU General Public -* License. See the file "COPYING" in the main directory of this archive -* for more details. -* * Copyright (c) 1999-2004 Silicon Graphics, Inc. All Rights Reserved. * Copyright (c) 2009 Wind River Systems, Inc. All Rights Reserved. * 03/02/13 added new 2.5 kallsyms <[email protected]>
Signature · 1 line
2.43.0