lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20181213035926.30063-2-jakub.kicinski@netronome.com>
Date:   Wed, 12 Dec 2018 19:59:24 -0800
From:   Jakub Kicinski <jakub.kicinski@...ronome.com>
To:     alexei.starovoitov@...il.com, daniel@...earbox.net
Cc:     guro@...com, yuehaibing@...wei.com, yhs@...com, sdf@...gle.com,
        sean@...s.org, jbenc@...hat.com, david.calavera@...il.com,
        rdna@...com, joe@...d.net.nz, dsahern@...il.com,
        ppenkov@...nford.edu, sandipan@...ux.ibm.com,
        bhole_prashant_q7@....ntt.co.jp, stephen@...workplumber.org,
        john.fastabend@...il.com, treeze.taeung@...il.com,
        jolsa@...nel.org, netdev@...r.kernel.org,
        oss-drivers@...ronome.com,
        Jakub Kicinski <jakub.kicinski@...ronome.com>,
        okash.khawaja@...il.com
Subject: [PATCH bpf-next 1/3] 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@...ronome.com>
Acked-by: Roman Gushchin <guro@...com>
Acked-by: YueHaibing <yuehaibing@...wei.com>
Acked-by: Yonghong Song <yhs@...com>
Acked-by: Stanislav Fomichev <sdf@...gle.com>
Acked-by: Sean Young <sean@...s.org>
Acked-by: Jiri Benc <jbenc@...hat.com>
Acked-by: David Calavera <david.calavera@...il.com>
Acked-by: Andrey Ignatov <rdna@...com>
Acked-by: Joe Stringer <joe@...d.net.nz>
Acked-by: David Ahern <dsahern@...il.com>
Acked-by: Alexei Starovoitov <alexei.starovoitov@...il.com>
Acked-by: Petar Penkov <ppenkov@...nford.edu>
Acked-by: Sandipan Das <sandipan@...ux.ibm.com>
Acked-by: Prashant Bhole <bhole_prashant_q7@....ntt.co.jp>
Acked-by: Stephen Hemminger <stephen@...workplumber.org>
Acked-by: John Fastabend <john.fastabend@...il.com>
Acked-by: Taeung Song <treeze.taeung@...il.com>
Acked-by: Jiri Olsa <jolsa@...nel.org>
Acked-by: Daniel Borkmann <daniel@...earbox.net>
CC: okash.khawaja@...il.com
---
 tools/bpf/bpftool/cfg.h            | 2 +-
 tools/bpf/bpftool/netlink_dumper.h | 2 +-
 tools/bpf/bpftool/xlated_dumper.h  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tools/bpf/bpftool/cfg.h b/tools/bpf/bpftool/cfg.h
index 2cc9bd990b13..493e2389d3cc 100644
--- a/tools/bpf/bpftool/cfg.h
+++ b/tools/bpf/bpftool/cfg.h
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
 /*
  * Copyright (C) 2018 Netronome Systems, Inc.
  *
diff --git a/tools/bpf/bpftool/netlink_dumper.h b/tools/bpf/bpftool/netlink_dumper.h
index e3516b586a34..fb1b1a685f7e 100644
--- a/tools/bpf/bpftool/netlink_dumper.h
+++ b/tools/bpf/bpftool/netlink_dumper.h
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+
+/* SPDX-License-Identifier: GPL-2.0+ */
 // Copyright (C) 2018 Facebook
 
 #ifndef _NETLINK_DUMPER_H_
diff --git a/tools/bpf/bpftool/xlated_dumper.h b/tools/bpf/bpftool/xlated_dumper.h
index a24f89df8cb2..f950ab2dafbf 100644
--- a/tools/bpf/bpftool/xlated_dumper.h
+++ b/tools/bpf/bpftool/xlated_dumper.h
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
 /*
  * Copyright (C) 2018 Netronome Systems, Inc.
  *
-- 
2.17.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ