[dpdk-dev] [PATCH] bus/dpaa/base: fix build when assert enabled

Thomas Monjalon thomas at monjalon.net
Sat Dec 23 16:23:28 CET 2017


22/12/2017 08:05, Shreyansh Jain:
> On Friday 22 December 2017 07:43 AM, Ferruh Yigit wrote:
> > Enabling CONFIG_RTE_ENABLE_ASSERT cause build error because some fields
> > protected by RTE_LIBRTE_DPAA_HWDEBUG macro accessed within DPAA_ASSERT.
> > 
> > All DPAA_ASSERT macro usage causing the build error wrapped with
> > RTE_LIBRTE_DPAA_HWDEBUG macro.
> > 
> > Fixes: f38f61e982f8 ("bus/dpaa: add BMAN hardware interfaces")
> > Fixes: c47ff048b99a ("bus/dpaa: add QMAN driver core routines")
> > Cc: shreyansh.jain at nxp.com
> > Cc: stable at dpdk.org
> > 
> > Signed-off-by: Ferruh Yigit <ferruh.yigit at intel.com>
> 
> In near future, I will find a better way to have HWDEBUG. But, until 
> that time, we can go with this patch.
> Ferruh, thanks for doing this.
> 
> Acked-by: Shreyansh Jain <shreyansh.jain at nxp.com>

Applied, thanks



More information about the dev mailing list