DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] examples/multi_process: add missing SPDX header to Makefile
@ 2020-11-16  2:23 Stephen Hemminger
  2020-11-16  9:27 ` Bruce Richardson
  2020-11-16  9:33 ` [dpdk-dev] [PATCH v2] examples/multi_process: fix missing SPDX headers Bruce Richardson
  0 siblings, 2 replies; 4+ messages in thread
From: Stephen Hemminger @ 2020-11-16  2:23 UTC (permalink / raw)
  To: bruce.richardson; +Cc: dev, Stephen Hemminger

Make is still used for these examples, so add header to Makefile

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 examples/multi_process/Makefile                  | 3 +++
 examples/multi_process/client_server_mp/Makefile | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/examples/multi_process/Makefile b/examples/multi_process/Makefile
index f0a999745a7d..937d00faa313 100644
--- a/examples/multi_process/Makefile
+++ b/examples/multi_process/Makefile
@@ -1,3 +1,6 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2010-2014 Intel Corporation
+
 subdirs := client_server_mp hotplug_mp simple_mp symmetric_mp
 
 .PHONY: all static shared clean $(subdirs)
diff --git a/examples/multi_process/client_server_mp/Makefile b/examples/multi_process/client_server_mp/Makefile
index e8debdfd9ac7..fbe6d67a7771 100644
--- a/examples/multi_process/client_server_mp/Makefile
+++ b/examples/multi_process/client_server_mp/Makefile
@@ -1,3 +1,6 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2010-2014 Intel Corporation
+
 subdirs := mp_client mp_server
 
 .PHONY: all static shared clean $(subdirs)
-- 
2.27.0


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

* Re: [dpdk-dev] [PATCH] examples/multi_process: add missing SPDX header to Makefile
  2020-11-16  2:23 [dpdk-dev] [PATCH] examples/multi_process: add missing SPDX header to Makefile Stephen Hemminger
@ 2020-11-16  9:27 ` Bruce Richardson
  2020-11-16  9:33 ` [dpdk-dev] [PATCH v2] examples/multi_process: fix missing SPDX headers Bruce Richardson
  1 sibling, 0 replies; 4+ messages in thread
From: Bruce Richardson @ 2020-11-16  9:27 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: dev

On Sun, Nov 15, 2020 at 06:23:47PM -0800, Stephen Hemminger wrote:
> Make is still used for these examples, so add header to Makefile
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
>  examples/multi_process/Makefile                  | 3 +++
>  examples/multi_process/client_server_mp/Makefile | 3 +++
>  2 files changed, 6 insertions(+)
> 
> diff --git a/examples/multi_process/Makefile b/examples/multi_process/Makefile
> index f0a999745a7d..937d00faa313 100644
> --- a/examples/multi_process/Makefile
> +++ b/examples/multi_process/Makefile
> @@ -1,3 +1,6 @@
> +# SPDX-License-Identifier: BSD-3-Clause
> +# Copyright(c) 2010-2014 Intel Corporation
> +
These two Makefiles are actually completely new, replacing the older ones,
so the year should probably be 2020 just (or else 2010-2020 if you want to
keep connection to the older ones). This is also why the old notice
disappeared, as the old file was deleted before the new was created.

/Bruce

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

* [dpdk-dev] [PATCH v2] examples/multi_process: fix missing SPDX headers
  2020-11-16  2:23 [dpdk-dev] [PATCH] examples/multi_process: add missing SPDX header to Makefile Stephen Hemminger
  2020-11-16  9:27 ` Bruce Richardson
@ 2020-11-16  9:33 ` Bruce Richardson
  2020-11-20 16:34   ` David Marchand
  1 sibling, 1 reply; 4+ messages in thread
From: Bruce Richardson @ 2020-11-16  9:33 UTC (permalink / raw)
  To: dev; +Cc: stephen, Bruce Richardson

The makefiles for some of the multi_process example files were missing
SPDX license headers, so add them. These Makefiles completely replaced
the older makefiles and were written from scratch, not based on previous
versions, so add a new copyright year on them.

Fixes: 13abe17c3cd4 ("examples/multi_process: convert to pkg-config-based build")

Suggested-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
v2: adjust copyright year to reflect year of authorship
    add more detail and fixes line to commit log.
---
 examples/multi_process/Makefile                  | 3 +++
 examples/multi_process/client_server_mp/Makefile | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/examples/multi_process/Makefile b/examples/multi_process/Makefile
index f0a999745..e55204495 100644
--- a/examples/multi_process/Makefile
+++ b/examples/multi_process/Makefile
@@ -1,3 +1,6 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2020 Intel Corporation
+
 subdirs := client_server_mp hotplug_mp simple_mp symmetric_mp

 .PHONY: all static shared clean $(subdirs)
diff --git a/examples/multi_process/client_server_mp/Makefile b/examples/multi_process/client_server_mp/Makefile
index e8debdfd9..f4cab6313 100644
--- a/examples/multi_process/client_server_mp/Makefile
+++ b/examples/multi_process/client_server_mp/Makefile
@@ -1,3 +1,6 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2020 Intel Corporation
+
 subdirs := mp_client mp_server

 .PHONY: all static shared clean $(subdirs)
--
2.25.1


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

* Re: [dpdk-dev] [PATCH v2] examples/multi_process: fix missing SPDX headers
  2020-11-16  9:33 ` [dpdk-dev] [PATCH v2] examples/multi_process: fix missing SPDX headers Bruce Richardson
@ 2020-11-20 16:34   ` David Marchand
  0 siblings, 0 replies; 4+ messages in thread
From: David Marchand @ 2020-11-20 16:34 UTC (permalink / raw)
  To: Bruce Richardson; +Cc: dev, Stephen Hemminger

On Mon, Nov 16, 2020 at 10:36 AM Bruce Richardson
<bruce.richardson@intel.com> wrote:
>
> The makefiles for some of the multi_process example files were missing
> SPDX license headers, so add them. These Makefiles completely replaced
> the older makefiles and were written from scratch, not based on previous
> versions, so add a new copyright year on them.
>
> Fixes: 13abe17c3cd4 ("examples/multi_process: convert to pkg-config-based build")
>
> Suggested-by: Stephen Hemminger <stephen@networkplumber.org>
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>

Applied, thanks.


-- 
David Marchand


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

end of thread, other threads:[~2020-11-20 16:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-16  2:23 [dpdk-dev] [PATCH] examples/multi_process: add missing SPDX header to Makefile Stephen Hemminger
2020-11-16  9:27 ` Bruce Richardson
2020-11-16  9:33 ` [dpdk-dev] [PATCH v2] examples/multi_process: fix missing SPDX headers Bruce Richardson
2020-11-20 16:34   ` David Marchand

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