Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <tim.bird@sony.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20260115013129.598705-1-tim.bird@sony.com

authored by

Tim Bird and committed by
Andrii Nakryiko
4787eaf7 17001476

+3 -11
+1 -11
kernel/bpf/offload.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 /* 2 3 * Copyright (C) 2017-2018 Netronome Systems, Inc. 3 - * 4 - * This software is licensed under the GNU General License Version 2, 5 - * June 1991 as shown in the file COPYING in the top-level directory of this 6 - * source tree. 7 - * 8 - * THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" 9 - * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, 10 - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 11 - * FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE 12 - * OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME 13 - * THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 14 4 */ 15 5 16 6 #include <linux/bpf.h>
+1
kernel/bpf/ringbuf.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 #include <linux/bpf.h> 2 3 #include <linux/btf.h> 3 4 #include <linux/err.h>
+1
kernel/bpf/token.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 1 2 #include <linux/bpf.h> 2 3 #include <linux/vmalloc.h> 3 4 #include <linux/file.h>