llc: Add SPDX id lines to some llc source files
Subsystems (4)
PATCH 1/1 llc: Add SPDX id lines to some llc source files
Most of the lls source files are missing SPDX-License-Identifier lines. Add appropriate IDs to these files, and remove other license info from the header. In once case, leave the existing id line and just remove the license reference text.
--- include/linux/llc.h | 8 +------- include/net/llc.h | 8 +------- include/uapi/linux/llc.h | 7 ------- net/llc/Makefile | 8 +------- net/llc/af_llc.c | 8 +------- net/llc/llc_c_ac.c | 8 +------- net/llc/llc_c_ev.c | 8 +------- net/llc/llc_c_st.c | 8 +------- net/llc/llc_conn.c | 8 +------- net/llc/llc_core.c | 8 +------- net/llc/llc_if.c | 8 +------- net/llc/llc_input.c | 8 +------- net/llc/llc_pdu.c | 8 +------- net/llc/llc_proc.c | 8 +------- net/llc/llc_s_ac.c | 8 +------- net/llc/llc_s_ev.c | 8 +------- net/llc/llc_s_st.c | 8 +------- net/llc/llc_sap.c | 8 +------- net/llc/llc_station.c | 8 +------- 19 files changed, 18 insertions(+), 133 deletions(-)
include/linux/llc.h +1 -7
@@ -1,14 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * IEEE 802.2 User Interface SAPs for Linux, data structures and indicators. * * Copyright (c) 2001 by Jay Schulist <[email protected]> -* -* This program can be redistributed or modified under the terms of the -* GNU General Public License as published by the Free Software Foundation. -* This program is distributed without any warranty or implied warranty -* of merchantability or fitness for a particular purpose. -* -* See the GNU General Public License for more details. */ #ifndef __LINUX_LLC_H#define __LINUX_LLC_H
include/net/llc.h +1 -7
@@ -1,15 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef LLC_H #define LLC_H /* * Copyright (c) 1997 by Procom Technology, Inc. * 2001-2003 by Arnaldo Carvalho de Melo <[email protected]> -* -* This program can be redistributed or modified under the terms of the -* GNU General Public License as published by the Free Software Foundation. -* This program is distributed without any warranty or implied warranty -* of merchantability or fitness for a particular purpose. -* -* See the GNU General Public License for more details. */ #include <linux/if.h>
include/uapi/linux/llc.h +0 -7
@@ -3,13 +3,6 @@* IEEE 802.2 User Interface SAPs for Linux, data structures and indicators. * * Copyright (c) 2001 by Jay Schulist <[email protected]> -* -* This program can be redistributed or modified under the terms of the -* GNU General Public License as published by the Free Software Foundation. -* This program is distributed without any warranty or implied warranty -* of merchantability or fitness for a particular purpose. -* -* See the GNU General Public License for more details. */ #ifndef _UAPI__LINUX_LLC_H#define _UAPI__LINUX_LLC_H
net/llc/Makefile +1 -7
@@ -1,15 +1,9 @@ +# SPDX-License-Identifier: GPL-2.0 ########################################################################### # Makefile for the Linux 802.2 LLC (fully-functional) layer. # # Copyright (c) 1997 by Procom Technology,Inc. # 2001-2003 by Arnaldo Carvalho de Melo <[email protected]> -# -# This program can be redistributed or modified under the terms of the -# GNU General Public License as published by the Free Software Foundation. -# This program is distributed without any warranty or implied warranty -# of merchantability or fitness for a particular purpose. -# -# See the GNU General Public License for more details. ########################################################################### obj-$(CONFIG_LLC) += llc.o
net/llc/af_llc.c +1 -7
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * af_llc.c - LLC User Interface SAPs * Description:
@@ -12,13 +13,6 @@* * Copyright (c) 2001 by Jay Schulist <[email protected]> * 2002-2003 by Arnaldo Carvalho de Melo <[email protected]> -* -* This program can be redistributed or modified under the terms of the -* GNU General Public License as published by the Free Software Foundation. -* This program is distributed without any warranty or implied warranty -* of merchantability or fitness for a particular purpose. -* -* See the GNU General Public License for more details. */ #include <linux/compiler.h> #include <linux/kernel.h>
net/llc/llc_c_ac.c +1 -7
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * llc_c_ac.c - actions performed during connection state transition. *
@@ -9,13 +10,6 @@* * Copyright (c) 1997 by Procom Technology, Inc. * 2001-2003 by Arnaldo Carvalho de Melo <[email protected]> -* -* This program can be redistributed or modified under the terms of the -* GNU General Public License as published by the Free Software Foundation. -* This program is distributed without any warranty or implied warranty -* of merchantability or fitness for a particular purpose. -* -* See the GNU General Public License for more details. */ #include <linux/netdevice.h> #include <linux/slab.h>
net/llc/llc_c_ev.c +1 -7
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * llc_c_ev.c - Connection component state transition event qualifiers *
@@ -25,13 +26,6 @@* * Copyright (c) 1997 by Procom Technology, Inc. * 2001-2003 by Arnaldo Carvalho de Melo <[email protected]> -* -* This program can be redistributed or modified under the terms of the -* GNU General Public License as published by the Free Software Foundation. -* This program is distributed without any warranty or implied warranty -* of merchantability or fitness for a particular purpose. -* -* See the GNU General Public License for more details. */ #include <linux/netdevice.h> #include <net/llc_conn.h>
net/llc/llc_c_st.c +1 -7
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * llc_c_st.c - This module contains state transition of connection component. *
@@ -6,13 +7,6 @@* * Copyright (c) 1997 by Procom Technology, Inc. * 2001-2003 by Arnaldo Carvalho de Melo <[email protected]> -* -* This program can be redistributed or modified under the terms of the -* GNU General Public License as published by the Free Software Foundation. -* This program is distributed without any warranty or implied warranty -* of merchantability or fitness for a particular purpose. -* -* See the GNU General Public License for more details. */ #include <linux/types.h> #include <net/llc_if.h>
net/llc/llc_conn.c +1 -7
@@ -1,15 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * llc_conn.c - Driver routines for connection component. * * Copyright (c) 1997 by Procom Technology, Inc. * 2001-2003 by Arnaldo Carvalho de Melo <[email protected]> -* -* This program can be redistributed or modified under the terms of the -* GNU General Public License as published by the Free Software Foundation. -* This program is distributed without any warranty or implied warranty -* of merchantability or fitness for a particular purpose. -* -* See the GNU General Public License for more details. */ #include <linux/init.h>
net/llc/llc_core.c +1 -7
@@ -1,15 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * llc_core.c - Minimum needed routines for sap handling and module init/exit * * Copyright (c) 1997 by Procom Technology, Inc. * 2001-2003 by Arnaldo Carvalho de Melo <[email protected]> -* -* This program can be redistributed or modified under the terms of the -* GNU General Public License as published by the Free Software Foundation. -* This program is distributed without any warranty or implied warranty -* of merchantability or fitness for a particular purpose. -* -* See the GNU General Public License for more details. */ #include <linux/module.h>
net/llc/llc_if.c +1 -7
@@ -1,15 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * llc_if.c - Defines LLC interface to upper layer * * Copyright (c) 1997 by Procom Technology, Inc. * 2001-2003 by Arnaldo Carvalho de Melo <[email protected]> -* -* This program can be redistributed or modified under the terms of the -* GNU General Public License as published by the Free Software Foundation. -* This program is distributed without any warranty or implied warranty -* of merchantability or fitness for a particular purpose. -* -* See the GNU General Public License for more details. */ #include <linux/gfp.h> #include <linux/module.h>
net/llc/llc_input.c +1 -7
@@ -1,15 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * llc_input.c - Minimal input path for LLC * * Copyright (c) 1997 by Procom Technology, Inc. * 2001-2003 by Arnaldo Carvalho de Melo <[email protected]> -* -* This program can be redistributed or modified under the terms of the -* GNU General Public License as published by the Free Software Foundation. -* This program is distributed without any warranty or implied warranty -* of merchantability or fitness for a particular purpose. -* -* See the GNU General Public License for more details. */ #include <linux/netdevice.h> #include <linux/slab.h>
net/llc/llc_pdu.c +1 -7
@@ -1,15 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * llc_pdu.c - access to PDU internals * * Copyright (c) 1997 by Procom Technology, Inc. * 2001-2003 by Arnaldo Carvalho de Melo <[email protected]> -* -* This program can be redistributed or modified under the terms of the -* GNU General Public License as published by the Free Software Foundation. -* This program is distributed without any warranty or implied warranty -* of merchantability or fitness for a particular purpose. -* -* See the GNU General Public License for more details. */ #include <linux/netdevice.h>
net/llc/llc_proc.c +1 -7
@@ -1,15 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * proc_llc.c - proc interface for LLC * * Copyright (c) 2001 by Jay Schulist <[email protected]> * 2002-2003 by Arnaldo Carvalho de Melo <[email protected]> -* -* This program can be redistributed or modified under the terms of the -* GNU General Public License as published by the Free Software Foundation. -* This program is distributed without any warranty or implied warranty -* of merchantability or fitness for a particular purpose. -* -* See the GNU General Public License for more details. */ #include <linux/init.h>
net/llc/llc_s_ac.c +1 -7
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * llc_s_ac.c - actions performed during sap state transition. *
@@ -9,13 +10,6 @@* * Copyright (c) 1997 by Procom Technology, Inc. * 2001-2003 by Arnaldo Carvalho de Melo <[email protected]> -* -* This program can be redistributed or modified under the terms of the -* GNU General Public License as published by the Free Software Foundation. -* This program is distributed without any warranty or implied warranty -* of merchantability or fitness for a particular purpose. -* -* See the GNU General Public License for more details. */ #include <linux/netdevice.h>
net/llc/llc_s_ev.c +1 -7
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * llc_s_ev.c - Defines SAP component events *
@@ -6,13 +7,6 @@* * Copyright (c) 1997 by Procom Technology, Inc. * 2001-2003 by Arnaldo Carvalho de Melo <[email protected]> -* -* This program can be redistributed or modified under the terms of the -* GNU General Public License as published by the Free Software Foundation. -* This program is distributed without any warranty or implied warranty -* of merchantability or fitness for a particular purpose. -* -* See the GNU General Public License for more details. */ #include <linux/socket.h> #include <net/sock.h>
net/llc/llc_s_st.c +1 -7
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * llc_s_st.c - Defines SAP component state machine transitions. *
@@ -6,13 +7,6 @@* * Copyright (c) 1997 by Procom Technology, Inc. * 2001-2003 by Arnaldo Carvalho de Melo <[email protected]> -* -* This program can be redistributed or modified under the terms of the -* GNU General Public License as published by the Free Software Foundation. -* This program is distributed without any warranty or implied warranty -* of merchantability or fitness for a particular purpose. -* -* See the GNU General Public License for more details. */ #include <linux/types.h> #include <net/llc_if.h>
net/llc/llc_sap.c +1 -7
@@ -1,15 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * llc_sap.c - driver routines for SAP component. * * Copyright (c) 1997 by Procom Technology, Inc. * 2001-2003 by Arnaldo Carvalho de Melo <[email protected]> -* -* This program can be redistributed or modified under the terms of the -* GNU General Public License as published by the Free Software Foundation. -* This program is distributed without any warranty or implied warranty -* of merchantability or fitness for a particular purpose. -* -* See the GNU General Public License for more details. */ #include <net/llc.h>
net/llc/llc_station.c +1 -7
@@ -1,15 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * llc_station.c - station component of LLC * * Copyright (c) 1997 by Procom Technology, Inc. * 2001-2003 by Arnaldo Carvalho de Melo <[email protected]> -* -* This program can be redistributed or modified under the terms of the -* GNU General Public License as published by the Free Software Foundation. -* This program is distributed without any warranty or implied warranty -* of merchantability or fitness for a particular purpose. -* -* See the GNU General Public License for more details. */ #include <linux/init.h> #include <linux/module.h>
Signature · 1 line
2.43.0
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 8 lines · On Fri, 22 May 2026 16:55:08 -0600 you wrote:
Most of the lls source files are missing SPDX-License-Identifier lines. Add appropriate IDs to these files, and remove other license info from the header. In once case, leave the existing id line and just remove the license reference text.
Signed-off-by Tim Bird <[email protected]>[...]
Here is the summary with links:
- llc: Add SPDX id lines to some llc source files
https://git.kernel.org/netdev/net-next/c/0b13c6a618d0
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html