patch 'eventdev: fix format string data type in log messages' has been queued to stable release 24.11.2
Kevin Traynor
ktraynor at redhat.com
Thu Feb 13 10:57:59 CET 2025
Hi,
FYI, your patch has been queued to stable release 24.11.2
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 02/17/25. 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/fcd0f442faa2129fada0515f252c1fac797cfcce
Thanks.
Kevin
---
>From fcd0f442faa2129fada0515f252c1fac797cfcce Mon Sep 17 00:00:00 2001
From: Andre Muezerie <andremue at linux.microsoft.com>
Date: Fri, 27 Dec 2024 08:18:05 -0800
Subject: [PATCH] eventdev: fix format string data type in log messages
[ upstream commit b2ff5f66189e75deea067598263929c591250e1b ]
The fix is to use the correct macro for the data type being logged.
Fixes: 112bf8055d90 ("eventdev/dma: support vchan add and delete")
Fixes: 2c6e23cd5e76 ("eventdev/dma: support adapter runtime params")
Signed-off-by: Andre Muezerie <andremue at linux.microsoft.com>
Acked-by: Stephen Hemminger <stephen at networkplumber.org>
---
lib/eventdev/rte_event_dma_adapter.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/eventdev/rte_event_dma_adapter.c b/lib/eventdev/rte_event_dma_adapter.c
index ff2bc408c1..165374d195 100644
--- a/lib/eventdev/rte_event_dma_adapter.c
+++ b/lib/eventdev/rte_event_dma_adapter.c
@@ -997,5 +997,5 @@ rte_event_dma_adapter_vchan_add(uint8_t id, int16_t dma_dev_id, uint16_t vchan,
if (!rte_dma_is_valid(dma_dev_id)) {
- RTE_EDEV_LOG_ERR("Invalid dma_dev_id = %" PRIu8, dma_dev_id);
+ RTE_EDEV_LOG_ERR("Invalid dma_dev_id = %" PRId16, dma_dev_id);
return -EINVAL;
}
@@ -1110,5 +1110,5 @@ rte_event_dma_adapter_vchan_del(uint8_t id, int16_t dma_dev_id, uint16_t vchan)
if (!rte_dma_is_valid(dma_dev_id)) {
- RTE_EDEV_LOG_ERR("Invalid dma_dev_id = %" PRIu8, dma_dev_id);
+ RTE_EDEV_LOG_ERR("Invalid dma_dev_id = %" PRId16, dma_dev_id);
return -EINVAL;
}
@@ -1268,5 +1268,5 @@ dma_adapter_cap_check(struct event_dma_adapter *adapter)
ret = rte_event_dma_adapter_caps_get(adapter->eventdev_id, adapter->next_dmadev_id, &caps);
if (ret) {
- RTE_EDEV_LOG_ERR("Failed to get adapter caps dev %" PRIu8 " cdev %" PRIu8,
+ RTE_EDEV_LOG_ERR("Failed to get adapter caps dev %" PRIu8 " cdev %" PRIu16,
adapter->eventdev_id, adapter->next_dmadev_id);
return ret;
--
2.48.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2025-02-12 17:29:38.057487849 +0000
+++ 0032-eventdev-fix-format-string-data-type-in-log-messages.patch 2025-02-12 17:29:34.298945619 +0000
@@ -1 +1 @@
-From b2ff5f66189e75deea067598263929c591250e1b Mon Sep 17 00:00:00 2001
+From fcd0f442faa2129fada0515f252c1fac797cfcce Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit b2ff5f66189e75deea067598263929c591250e1b ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
More information about the stable
mailing list