]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
libbpf: Fix license for btf_relocate.c
authorAlan Maguire <alan.maguire@oracle.com>
Sat, 10 Aug 2024 09:35:04 +0000 (10:35 +0100)
committerAndrii Nakryiko <andrii@kernel.org>
Mon, 12 Aug 2024 20:18:25 +0000 (13:18 -0700)
License should be

// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)

...as with other libbpf files.

Fixes: 19e00c897d50 ("libbpf: Split BTF relocation")
Reported-by: Neill Kapron <nkapron@google.com>
Signed-off-by: Alan Maguire <alan.maguire@oracle.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/bpf/20240810093504.2111134-1-alan.maguire@oracle.com
tools/lib/bpf/btf_relocate.c

index 17f8b32f94a08776005e470d2257455ed921be3a..4f7399d85eab3d5816abdf260d525a527842139e 100644 (file)
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)
 /* Copyright (c) 2024, Oracle and/or its affiliates. */
 
 #ifndef _GNU_SOURCE