patch 'vfio: fix include with musl runtime' has been queued to stable release 20.11.9

luca.boccassi at gmail.com luca.boccassi at gmail.com
Thu Jun 15 03:32:00 CEST 2023


Hi,

FYI, your patch has been queued to stable release 20.11.9

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

This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/550db8485a8bd634c4a5460118bb0d17a592fdee

Thanks.

Luca Boccassi

---
>From 550db8485a8bd634c4a5460118bb0d17a592fdee Mon Sep 17 00:00:00 2001
From: Philip Prindeville <philipp at redfish-solutions.com>
Date: Sat, 20 May 2023 12:07:30 -0600
Subject: [PATCH] vfio: fix include with musl runtime

[ upstream commit c41a103c961ded5a0966652f4daf0a661a947352 ]

pread64() and pwrite64() are declared in <unistd.h> in MUSL and
other (i.e. not glibc) C runtimes.

Signed-off-by: Philip Prindeville <philipp at redfish-solutions.com>
Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>
---
 drivers/bus/pci/linux/pci_vfio.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/bus/pci/linux/pci_vfio.c b/drivers/bus/pci/linux/pci_vfio.c
index a4ce51be7b..3b3a548352 100644
--- a/drivers/bus/pci/linux/pci_vfio.c
+++ b/drivers/bus/pci/linux/pci_vfio.c
@@ -2,6 +2,7 @@
  * Copyright(c) 2010-2014 Intel Corporation
  */
 
+#include <unistd.h>
 #include <string.h>
 #include <fcntl.h>
 #include <linux/pci_regs.h>
-- 
2.39.2

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2023-06-15 01:56:35.016317590 +0100
+++ 0005-vfio-fix-include-with-musl-runtime.patch	2023-06-15 01:56:34.491539643 +0100
@@ -1 +1 @@
-From c41a103c961ded5a0966652f4daf0a661a947352 Mon Sep 17 00:00:00 2001
+From 550db8485a8bd634c4a5460118bb0d17a592fdee Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit c41a103c961ded5a0966652f4daf0a661a947352 ]
+
@@ -9,2 +10,0 @@
-Cc: stable at dpdk.org
-
@@ -14 +13,0 @@
- .mailmap                         | 1 +
@@ -16 +15 @@
- 2 files changed, 2 insertions(+)
+ 1 file changed, 1 insertion(+)
@@ -18,12 +16,0 @@
-diff --git a/.mailmap b/.mailmap
-index 0443e461a9..db85cc66c6 100644
---- a/.mailmap
-+++ b/.mailmap
-@@ -1058,6 +1058,7 @@ Peter Spreadborough <peter.spreadborough at broadcom.com>
- Petr Houska <t-pehous at microsoft.com>
- Phanendra Vukkisala <pvukkisala at marvell.com>
- Phil Yang <phil.yang at arm.com>
-+Philip Prindeville <philipp at redfish-solutions.com>
- Pierre Pfister <ppfister at cisco.com>
- Piotr Azarewicz <piotr.azarewicz at intel.com> <piotrx.t.azarewicz at intel.com>
- Piotr Bartosiewicz <piotr.bartosiewicz at atendesoftware.pl>
@@ -31 +18 @@
-index fab3483d9f..fe83e1a04e 100644
+index a4ce51be7b..3b3a548352 100644


More information about the stable mailing list