diff mbox series

[iproute2] Add missing SPDX headers

Message ID 20230722024236.6081-1-stephen@networkplumber.org (mailing list archive)
State Accepted
Commit 912f5de4aa8d42405e48ed20c360e42199f84b8d
Delegated to: David Ahern
Headers show
Series [iproute2] Add missing SPDX headers | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

Stephen Hemminger July 22, 2023, 2:42 a.m. UTC
All headers and source in iproute2 should be using SPDX license info.
Add a couple that were missed, and take off boilerplate.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 include/bpf_util.h   | 6 +-----
 include/cg_map.h     | 1 +
 include/json_print.h | 8 ++------
 3 files changed, 4 insertions(+), 11 deletions(-)

Comments

Daniel Borkmann July 22, 2023, 11:57 a.m. UTC | #1
On 7/22/23 4:42 AM, Stephen Hemminger wrote:
> All headers and source in iproute2 should be using SPDX license info.
> Add a couple that were missed, and take off boilerplate.
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>

Acked-by: Daniel Borkmann <daniel@iogearbox.net>
patchwork-bot+netdevbpf@kernel.org July 22, 2023, 4:40 p.m. UTC | #2
Hello:

This patch was applied to iproute2/iproute2.git (main)
by Stephen Hemminger <stephen@networkplumber.org>:

On Fri, 21 Jul 2023 19:42:36 -0700 you wrote:
> All headers and source in iproute2 should be using SPDX license info.
> Add a couple that were missed, and take off boilerplate.
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
>  include/bpf_util.h   | 6 +-----
>  include/cg_map.h     | 1 +
>  include/json_print.h | 8 ++------
>  3 files changed, 4 insertions(+), 11 deletions(-)

Here is the summary with links:
  - [iproute2] Add missing SPDX headers
    https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=912f5de4aa8d

You are awesome, thank you!
diff mbox series

Patch

diff --git a/include/bpf_util.h b/include/bpf_util.h
index 6a5f8ec6529c..1c924f501f5f 100644
--- a/include/bpf_util.h
+++ b/include/bpf_util.h
@@ -1,11 +1,7 @@ 
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * bpf_util.h	BPF common code
  *
- *		This program is free software; you can distribute it and/or
- *		modify it under the terms of the GNU General Public License
- *		as published by the Free Software Foundation; either version
- *		2 of the License, or (at your option) any later version.
- *
  * Authors:	Daniel Borkmann <daniel@iogearbox.net>
  *		Jiri Pirko <jiri@resnulli.us>
  */
diff --git a/include/cg_map.h b/include/cg_map.h
index d30517fd3417..6293b50ed1c9 100644
--- a/include/cg_map.h
+++ b/include/cg_map.h
@@ -1,3 +1,4 @@ 
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef __CG_MAP_H__
 #define __CG_MAP_H__
 
diff --git a/include/json_print.h b/include/json_print.h
index 49d3cc14789c..0b1d84f78749 100644
--- a/include/json_print.h
+++ b/include/json_print.h
@@ -1,10 +1,6 @@ 
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
- * json_print.h		"print regular or json output, based on json_writer".
- *
- *             This program is free software; you can redistribute it and/or
- *             modify it under the terms of the GNU General Public License
- *             as published by the Free Software Foundation; either version
- *             2 of the License, or (at your option) any later version.
+ * json_print.h		print regular or json output, based on json_writer.
  *
  * Authors:    Julien Fortin, <julien@cumulusnetworks.com>
  */