[PATCH] dmadev: add missing header include
    Walsh, Conor 
    conor.walsh at intel.com
       
    Tue Feb 22 14:44:04 CET 2022
    
    
  
> From: Thomas Monjalon <thomas at monjalon.net>
> Sent: Tuesday 22 February 2022 11:41
> To: dev at dpdk.org
> Cc: Richardson, Bruce <bruce.richardson at intel.com>; stable at dpdk.org;
> Chengwen Feng <fengchengwen at huawei.com>; Laatz, Kevin
> <kevin.laatz at intel.com>; Morten Brørup <mb at smartsharesystems.com>;
> Walsh, Conor <conor.walsh at intel.com>
> Subject: [PATCH] dmadev: add missing header include
> 
> 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: Conor Walsh <conor.walsh at intel.com>
    
    
More information about the dev
mailing list