[dpdk-stable] patch 'eal: fix uuid header dependencies' has been queued to LTS release 18.11.10

Kevin Traynor ktraynor at redhat.com
Fri Jul 17 18:32:14 CEST 2020


Hi,

FYI, your patch has been queued to LTS release 18.11.10

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 07/23/20. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable-queue

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable-queue/commit/b0547c427caca1ca7f1173a211c233aaf60aff0d

Thanks.

Kevin.

---
>From b0547c427caca1ca7f1173a211c233aaf60aff0d Mon Sep 17 00:00:00 2001
From: Haiyue Wang <haiyue.wang at intel.com>
Date: Fri, 3 Jul 2020 22:57:17 +0800
Subject: [PATCH] eal: fix uuid header dependencies
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

[ upstream commit edca6d883eb0137bc3caf7f93651a67360ebdf96 ]

Add the dependent header files explicitly, so that the user just needs
to include the 'rte_uuid.h' header file directly to avoid compile error:
 (1). rte_uuid.h:97:55: error: unknown type name ‘size_t’
 (2). rte_uuid.h:58:2: error: implicit declaration of function ‘memcpy’

Fixes: 6bc67c497a51 ("eal: add uuid API")

Signed-off-by: Haiyue Wang <haiyue.wang at intel.com>
Acked-by: David Marchand <david.marchand at redhat.com>
---
 lib/librte_eal/common/include/rte_uuid.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/librte_eal/common/include/rte_uuid.h b/lib/librte_eal/common/include/rte_uuid.h
index 16bbed3219..64f37b35be 100644
--- a/lib/librte_eal/common/include/rte_uuid.h
+++ b/lib/librte_eal/common/include/rte_uuid.h
@@ -42,4 +42,6 @@ extern "C" {
 
 #include <stdbool.h>
+#include <stddef.h>
+#include <string.h>
 
 /**
-- 
2.21.3

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2020-07-17 17:17:01.451004551 +0100
+++ 0026-eal-fix-uuid-header-dependencies.patch	2020-07-17 17:17:00.007770846 +0100
@@ -1 +1 @@
-From edca6d883eb0137bc3caf7f93651a67360ebdf96 Mon Sep 17 00:00:00 2001
+From b0547c427caca1ca7f1173a211c233aaf60aff0d Mon Sep 17 00:00:00 2001
@@ -8,0 +9,2 @@
+[ upstream commit edca6d883eb0137bc3caf7f93651a67360ebdf96 ]
+
@@ -15 +16,0 @@
-Cc: stable at dpdk.org
@@ -20 +21 @@
- lib/librte_eal/include/rte_uuid.h | 2 ++
+ lib/librte_eal/common/include/rte_uuid.h | 2 ++
@@ -23,5 +24,5 @@
-diff --git a/lib/librte_eal/include/rte_uuid.h b/lib/librte_eal/include/rte_uuid.h
-index 044afbdfab..8b42e070af 100644
---- a/lib/librte_eal/include/rte_uuid.h
-+++ b/lib/librte_eal/include/rte_uuid.h
-@@ -16,4 +16,6 @@ extern "C" {
+diff --git a/lib/librte_eal/common/include/rte_uuid.h b/lib/librte_eal/common/include/rte_uuid.h
+index 16bbed3219..64f37b35be 100644
+--- a/lib/librte_eal/common/include/rte_uuid.h
++++ b/lib/librte_eal/common/include/rte_uuid.h
+@@ -42,4 +42,6 @@ extern "C" {



More information about the stable mailing list