Skip to content

Commit afc7c94

Browse files
Jakub Kicinskiborkmann
authored andcommitted
tools: bpftool: fix SPDX format in headers
Documentation/process/license-rules.rst sayeth: 2. Style: The SPDX license identifier is added in form of a comment. The comment style depends on the file type:: C source: // SPDX-License-Identifier: <SPDX License Expression> C header: /* SPDX-License-Identifier: <SPDX License Expression> */ Headers should use C comment style. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Acked-by: Roman Gushchin <guro@fb.com> Acked-by: YueHaibing <yuehaibing@huawei.com> Acked-by: Yonghong Song <yhs@fb.com> Acked-by: Stanislav Fomichev <sdf@google.com> Acked-by: Sean Young <sean@mess.org> Acked-by: Jiri Benc <jbenc@redhat.com> Acked-by: David Calavera <david.calavera@gmail.com> Acked-by: Andrey Ignatov <rdna@fb.com> Acked-by: Joe Stringer <joe@wand.net.nz> Acked-by: David Ahern <dsahern@gmail.com> Acked-by: Alexei Starovoitov <alexei.starovoitov@gmail.com> Acked-by: Petar Penkov <ppenkov@stanford.edu> Acked-by: Sandipan Das <sandipan@linux.ibm.com> Acked-by: Prashant Bhole <bhole_prashant_q7@lab.ntt.co.jp> Acked-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: John Fastabend <john.fastabend@gmail.com> Acked-by: Taeung Song <treeze.taeung@gmail.com> Acked-by: Jiri Olsa <jolsa@kernel.org> Acked-by: Daniel Borkmann <daniel@iogearbox.net> CC: okash.khawaja@gmail.com Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
1 parent 8f9a8a6 commit afc7c94

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tools/bpf/bpftool/cfg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
1+
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
22
/*
33
* Copyright (C) 2018 Netronome Systems, Inc.
44
*

tools/bpf/bpftool/netlink_dumper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: GPL-2.0+
1+
/* SPDX-License-Identifier: GPL-2.0+ */
22
// Copyright (C) 2018 Facebook
33

44
#ifndef _NETLINK_DUMPER_H_

tools/bpf/bpftool/xlated_dumper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
1+
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
22
/*
33
* Copyright (C) 2018 Netronome Systems, Inc.
44
*

0 commit comments

Comments
 (0)