[PATCH] dmadev: add missing header include

Thomas Monjalon thomas at monjalon.net
Tue Feb 22 14:44:17 CET 2022


22/02/2022 12:48, Bruce Richardson:
> 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>

Applied




More information about the stable mailing list