Em Fri, Jan 18, 2019 at 03:41:33PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Fri, Jan 18, 2019 at 03:28:33PM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Fri, Jan 18, 2019 at 06:24:52PM +0000, Martin Lau escreveu: > > > No concern on adding the SPDX notation. > > > I would like to add my employer to a few btf files:
> > > + Copyright (c) 2018 Facebook > > Sure, I'll add a patch, authored by you, with a signed-off-by you, etc, > > CC the group and signed by me as well, just like the kernel process. On > > top of Domenico's patch. > > Now I noticed that the patch adds Copyright entries as well, so I'm > fixing it up, as libbtf.[ch] I haven't authored, and btf_encoder.[ch] > where authored by Facebook engineers based on ctf_encoder.[ch] that I'm > the author, so I'm just fixing these things up in Martin's follow up > patch. End result, ok? commit 1610b9b4327d14589800606fc4d31229eb8f1daf Author: Martin Lau <ka...@fb.com> Date: Fri Jan 18 15:42:37 2019 -0300 Fixup copyright notices for BTF files authored by Facebook engineers Cc: Andrii Nakryiko <andr...@fb.com> Cc: Domenico Andreoli <ca...@debian.org> Cc: Yonghong Song <y...@fb.com> Signed-off-by: Martin Lau <ka...@fb.com> Signed-off-by: Arnaldo Carvalho de Melo <a...@redhat.com> diff --git a/btf_encoder.c b/btf_encoder.c index 613e7e9a6d43..7aed9b454c1f 100644 --- a/btf_encoder.c +++ b/btf_encoder.c @@ -1,7 +1,12 @@ /* SPDX-License-Identifier: GPL-2.0-only - Copyright (C) 2019 Arnaldo Carvalho de Melo <a...@redhat.com> + Copyright (C) 2019 Facebook + + Derived from ctf_encoder.c, which is: + + Copyright (C) Arnaldo Carvalho de Melo <a...@redhat.com> + Copyright (C) Red Hat Inc */ #include "dwarves.h" diff --git a/btf_encoder.h b/btf_encoder.h index daf5d372986a..80237bb4ca61 100644 --- a/btf_encoder.h +++ b/btf_encoder.h @@ -3,7 +3,10 @@ /* SPDX-License-Identifier: GPL-2.0-only - Copyright (C) 2019 Arnaldo Carvalho de Melo <a...@redhat.com> + Copyright (C) 2019 Facebook + + Derived from ctf_encoder.h, which is: + Copyright (C) Arnaldo Carvalho de Melo <a...@redhat.com> */ struct cu; diff --git a/libbtf.c b/libbtf.c index 64437f3bd2d9..c6ece9d84de5 100644 --- a/libbtf.c +++ b/libbtf.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only - Copyright (C) 2019 Arnaldo Carvalho de Melo <a...@redhat.com> + Copyright (C) 2019 Facebook */ #include <fcntl.h> diff --git a/libbtf.h b/libbtf.h index ef1c49804a20..780f3ec888d7 100644 --- a/libbtf.h +++ b/libbtf.h @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only - Copyright (C) 2019 Arnaldo Carvalho de Melo <a...@redhat.com> + Copyright (C) 2019 Facebook */ #ifndef _LIBBTF_H