Skip to contentSkip to conversation

Add missing SPDX headers

PATCH Applied Stephen Hemminger 3 participants 3 messages Jul 22, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add missing SPDX headers

All headers and source in iproute2 should be using SPDX license info. Add a couple that were missed, and take off boilerplate.

---
 include/bpf_util.h   | 6 +-----
 include/cg_map.h     | 1 +
 include/json_print.h | 8 ++------
 3 files changed, 4 insertions(+), 11 deletions(-)
include/bpf_util.h +1 -5
index 6a5f8ec6529c..1c924f501f5f 100644
@@ -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 <[email protected]>
  *		Jiri Pirko <[email protected]>
  */
include/cg_map.h +1 -0
index d30517fd3417..6293b50ed1c9 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #ifndef __CG_MAP_H__
 #define __CG_MAP_H__
 
include/json_print.h +2 -6
index 49d3cc14789c..0b1d84f78749 100644
@@ -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, <[email protected]>
  */
Signature · 1 line
2.39.2
#2 lore raw
In reply to Stephen Hemminger
This patch was applied to iproute2/iproute2.git (main) by Stephen Hemminger <[email protected]>:

Hello:

This patch was applied to iproute2/iproute2.git (main) by Stephen Hemminger <[email protected]>:

Quoted 9 lines · 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.

---
 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!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html