netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH iproute2] Add missing SPDX headers
@ 2023-07-22  2:42 Stephen Hemminger
  2023-07-22 11:57 ` Daniel Borkmann
  2023-07-22 16:40 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: Stephen Hemminger @ 2023-07-22  2:42 UTC (permalink / raw)
  To: netdev; +Cc: Daniel Borkmann, Stephen Hemminger

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(-)

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>
  */
-- 
2.39.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH iproute2] Add missing SPDX headers
  2023-07-22  2:42 [PATCH iproute2] Add missing SPDX headers Stephen Hemminger
@ 2023-07-22 11:57 ` Daniel Borkmann
  2023-07-22 16:40 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: Daniel Borkmann @ 2023-07-22 11:57 UTC (permalink / raw)
  To: Stephen Hemminger, netdev

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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH iproute2] Add missing SPDX headers
  2023-07-22  2:42 [PATCH iproute2] Add missing SPDX headers Stephen Hemminger
  2023-07-22 11:57 ` Daniel Borkmann
@ 2023-07-22 16:40 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2023-07-22 16:40 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: netdev, daniel

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!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-07-22 16:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-22  2:42 [PATCH iproute2] Add missing SPDX headers Stephen Hemminger
2023-07-22 11:57 ` Daniel Borkmann
2023-07-22 16:40 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).