patch 'dmadev: add missing header include' has been queued to stable release 21.11.1

Kevin Traynor ktraynor at redhat.com
Tue Mar 1 11:41:17 CET 2022


Hi,

FYI, your patch has been queued to stable release 21.11.1

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

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

Thanks.

Kevin

---
>From 81c40b01d010e36ea7aca8bac9b3afd8fc9b1638 Mon Sep 17 00:00:00 2001
From: Thomas Monjalon <thomas at monjalon.net>
Date: Tue, 22 Feb 2022 12:26:10 +0100
Subject: [PATCH] dmadev: add missing header include
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

[ upstream commit e904fd77d88666f1a4270b1380f2661c9195f012 ]

When checking C++ compatibility of SDK headers,
an error is detected by the compiler:

lib/dmadev/rte_dmadev_pmd.h:95:23: error:
‘RTE_DEV_NAME_MAX_LEN’ undeclared here (not in a function)

The header file rte_dev.h must be included.

Fixes: b36970f2e13e ("dmadev: introduce DMA device library")

Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
Acked-by: Conor Walsh <conor.walsh at intel.com>
---
 lib/dmadev/rte_dmadev_pmd.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/dmadev/rte_dmadev_pmd.h b/lib/dmadev/rte_dmadev_pmd.h
index 5316ad5b5f..82ab7a8cc7 100644
--- a/lib/dmadev/rte_dmadev_pmd.h
+++ b/lib/dmadev/rte_dmadev_pmd.h
@@ -15,4 +15,6 @@
  */
 
+#include <rte_dev.h>
+
 #include "rte_dmadev.h"
 
-- 
2.34.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2022-03-01 10:41:01.506587514 +0000
+++ 0001-dmadev-add-missing-header-include.patch	2022-03-01 10:41:01.232244083 +0000
@@ -1 +1 @@
-From e904fd77d88666f1a4270b1380f2661c9195f012 Mon Sep 17 00:00:00 2001
+From 81c40b01d010e36ea7aca8bac9b3afd8fc9b1638 Mon Sep 17 00:00:00 2001
@@ -8,0 +9,2 @@
+[ upstream commit e904fd77d88666f1a4270b1380f2661c9195f012 ]
+
@@ -18 +19,0 @@
-Cc: stable at dpdk.org



More information about the stable mailing list