[PATCH] dmadev: add missing header include

Bruce Richardson bruce.richardson at intel.com
Tue Feb 22 12:48:27 CET 2022


On Tue, Feb 22, 2022 at 12:41:04PM +0100, Thomas Monjalon wrote:
> 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")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> ---
Acked-by: Bruce Richardson <bruce.richardson at intel.com>


More information about the stable mailing list