]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
bpf: Add SPDX license identifiers to a few files
authorTim Bird <tim.bird@sony.com>
Thu, 15 Jan 2026 01:31:29 +0000 (18:31 -0700)
committerAndrii Nakryiko <andrii@kernel.org>
Fri, 16 Jan 2026 22:50:00 +0000 (14:50 -0800)
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
kernel/bpf/offload.c
kernel/bpf/ringbuf.c
kernel/bpf/token.c

index 42ae8d595c2c226d93d8d300082f7f0704d962dd..227f9b5f388b11f098e420ffce5c232b414f86f7 100644 (file)
@@ -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>
index f6a075ffac63721220e07ed881737c87d8575478..35ae64ade36b8326b66aad3bc922c3ce4404a438 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 #include <linux/bpf.h>
 #include <linux/btf.h>
 #include <linux/err.h>
index feecd8f4dbf920c08a49c492a85f3d20ff51adae..7e4aa1e44b50b96e05d9210351877282921eb9f8 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 #include <linux/bpf.h>
 #include <linux/vmalloc.h>
 #include <linux/file.h>