bus/dpaa: fix build when assert enabled
authorFerruh Yigit <ferruh.yigit@intel.com>
Fri, 22 Dec 2017 02:13:16 +0000 (02:13 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 23 Dec 2017 15:26:14 +0000 (16:26 +0100)
commit996672d3514a3d2bd9ca8648c526e874f6b69232
tree2b0d6e3181791240b2da21fda2ec9e92c8e27192
parent65f88eb2842649e442e781d58a0228b3e8970e45
bus/dpaa: fix build when assert enabled

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: stable@dpdk.org
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com>
drivers/bus/dpaa/base/qbman/bman.h
drivers/bus/dpaa/base/qbman/qman.c
drivers/bus/dpaa/base/qbman/qman.h