On Sun, 5 Aug 2018 17:19:13 -0700, Martin KaFai Lau wrote: > This patch changes the tools/lib/bpf/btf.[ch] to LGPL which > is inline with libbpf also.
FWIW: Reported-by: David Beckett <david.beck...@netronome.com> And in case removing code in 6534770d6f17 ("tools: bpf: fix BTF code added twice to different trees") counts as a contribution: Acked-by: Jakub Kicinski <jakub.kicin...@netronome.com> for the license change :) > Signed-off-by: Martin KaFai Lau <ka...@fb.com> > --- > tools/lib/bpf/btf.c | 2 +- > tools/lib/bpf/btf.h | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/tools/lib/bpf/btf.c b/tools/lib/bpf/btf.c > index 2d270c560df3..c36a3a76986a 100644 > --- a/tools/lib/bpf/btf.c > +++ b/tools/lib/bpf/btf.c > @@ -1,4 +1,4 @@ > -/* SPDX-License-Identifier: GPL-2.0 */ > +// SPDX-License-Identifier: LGPL-2.1 > /* Copyright (c) 2018 Facebook */ > > #include <stdlib.h> > diff --git a/tools/lib/bpf/btf.h b/tools/lib/bpf/btf.h > index e2a09a155f84..caac3a404dc5 100644 > --- a/tools/lib/bpf/btf.h > +++ b/tools/lib/bpf/btf.h > @@ -1,4 +1,4 @@ > -/* SPDX-License-Identifier: GPL-2.0 */ > +/* SPDX-License-Identifier: LGPL-2.1 */ > /* Copyright (c) 2018 Facebook */ > > #ifndef __BPF_BTF_H