[PATCH] dmadev: fix build if RTE_DMADEV_DEBUG enabled
David Marchand
david.marchand at redhat.com
Tue Nov 4 11:13:58 CET 2025
On Mon, 27 Oct 2025 at 17:46, Stephen Hemminger
<stephen at networkplumber.org> 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: 91e581e5c924 ("dmadev: add data plane API")
Cc: stable at dpdk.org
>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
Applied, thanks.
--
David Marchand
More information about the stable
mailing list