[PATCH] dmadev: fix build if RTE_DMADEV_DEBUG enabled

fengchengwen fengchengwen at huawei.com
Tue Oct 28 01:45:37 CET 2025


Acked-by: Chengwen Feng <fengchengwen at huawei.com>

On 10/28/2025 12:46 AM, Stephen Hemminger wrote:
> Missing definition of errnos causes build failure:
> 
> In file included from ../lib/dmadev/rte_dmadev_trace.h:16,
>                  from ../lib/dmadev/rte_dmadev_trace_points.c:8:
> ../lib/dmadev/rte_dmadev.h: In function ‘rte_dma_copy’:
> ../lib/dmadev/rte_dmadev.h:1183:25: error: ‘EINVAL’ undeclared (first use in this function)
>  1183 |                 return -EINVAL;
>       |                         ^~~~~~
> 
> Bugzilla ID: 1814
> Fixes: 8f1d23ece06a ("eal: deprecate RTE_FUNC_PTR_* macros")
> Cc: david.marchand at redhat.com
> 
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>



More information about the stable mailing list