kernel: bpf: Add SPDX license identifiers to a few files
Subsystems (3)
PATCH 1/1 kernel: bpf: Add SPDX license identifiers to a few files
Add GPL-2.0 SPDX-License-Identifier lines to some files, and remove a reference to COPYING, and boilerplate warranty text, from offload.c.
Signed-off-by Tim Bird <[email protected]>
--- kernel/bpf/offload.c | 12 +----------- kernel/bpf/ringbuf.c | 1 + kernel/bpf/token.c | 1 + 3 files changed, 3 insertions(+), 11 deletions(-)
kernel/bpf/offload.c +1 -11
@@ -1,16 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2017-2018 Netronome Systems, Inc. -* -* This software is licensed under the GNU General License Version 2, -* June 1991 as shown in the file COPYING in the top-level directory of this -* source tree. -* -* THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" -* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, -* BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -* FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE -* OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME -* THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. */ #include <linux/bpf.h>
kernel/bpf/ringbuf.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 #include <linux/bpf.h> #include <linux/btf.h> #include <linux/err.h>
kernel/bpf/token.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 #include <linux/bpf.h> #include <linux/vmalloc.h> #include <linux/file.h>
Signature · 1 line
2.43.0
This patch was applied to bpf/bpf-next.git (master) by Andrii Nakryiko <[email protected]>:
Hello:
This patch was applied to bpf/bpf-next.git (master) by Andrii Nakryiko <[email protected]>:
Quoted 10 lines · On Wed, 14 Jan 2026 18:31:29 -0700 you wrote:
Add GPL-2.0 SPDX-License-Identifier lines to some files, and remove a reference to COPYING, and boilerplate warranty text, from
offload.c.Signed-off-by Tim Bird <[email protected]>--- kernel/bpf/offload.c | 12 +----------- kernel/bpf/ringbuf.c | 1 + kernel/bpf/token.c | 1 + 3 files changed, 3 insertions(+), 11 deletions(-)
Here is the summary with links:
- kernel: bpf: Add SPDX license identifiers to a few files
https://git.kernel.org/bpf/bpf-next/c/4787eaf7c171
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html