[dpdk-stable] patch 'pci: fix build on FreeBSD' has been queued to stable release 19.11.3

luca.boccassi at gmail.com luca.boccassi at gmail.com
Tue May 19 14:53:25 CEST 2020


Hi,

FYI, your patch has been queued to stable release 19.11.3

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 05/21/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.

Thanks.

Luca Boccassi

---
>From 5a99c0d9949a4c8488f872dbba27e777aa83d82c Mon Sep 17 00:00:00 2001
From: Bruce Richardson <bruce.richardson at intel.com>
Date: Mon, 16 Mar 2020 16:37:05 +0000
Subject: [PATCH] pci: fix build on FreeBSD

[ upstream commit 034e7d87baab01631aeb260bb33682aa9c9ce674 ]

When removing the extra headers from rte_pci.h stdlib should have been
removed instead of stdio, since off_t is missing for BSD builds when just
including stdlib.h

Fixes: 0dcba5256287 ("pci: remove unneeded includes in public header file")

Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
---
 lib/librte_pci/rte_pci.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/librte_pci/rte_pci.h b/lib/librte_pci/rte_pci.h
index c591af010d..4087771c1e 100644
--- a/lib/librte_pci/rte_pci.h
+++ b/lib/librte_pci/rte_pci.h
@@ -16,7 +16,7 @@
 extern "C" {
 #endif
 
-#include <stdlib.h>
+#include <stdio.h>
 #include <limits.h>
 #include <sys/queue.h>
 #include <inttypes.h>
-- 
2.20.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2020-05-19 13:56:19.418988176 +0100
+++ 0015-pci-fix-build-on-FreeBSD.patch	2020-05-19 13:56:18.179501099 +0100
@@ -1,14 +1,15 @@
-From 034e7d87baab01631aeb260bb33682aa9c9ce674 Mon Sep 17 00:00:00 2001
+From 5a99c0d9949a4c8488f872dbba27e777aa83d82c Mon Sep 17 00:00:00 2001
 From: Bruce Richardson <bruce.richardson at intel.com>
 Date: Mon, 16 Mar 2020 16:37:05 +0000
 Subject: [PATCH] pci: fix build on FreeBSD
 
+[ upstream commit 034e7d87baab01631aeb260bb33682aa9c9ce674 ]
+
 When removing the extra headers from rte_pci.h stdlib should have been
 removed instead of stdio, since off_t is missing for BSD builds when just
 including stdlib.h
 
 Fixes: 0dcba5256287 ("pci: remove unneeded includes in public header file")
-Cc: stable at dpdk.org
 
 Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
 ---


More information about the stable mailing list