This patch fix compile error when enable RTE_DMADEV_DEBUG.
Fixes:
ea8cf0f8536d ("dmadev: add burst capacity API")
Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
Acked-by: Kevin Laatz <kevin.laatz@intel.com>
Acked-by: Conor Walsh <conor.walsh@intel.com>
#ifdef RTE_DMADEV_DEBUG
if (!rte_dma_is_valid(dev_id))
return 0;
- RTE_FUNC_PTR_OR_ERR_RET(*obbj->burst_capacity, 0);
+ RTE_FUNC_PTR_OR_ERR_RET(*obj->burst_capacity, 0);
#endif
return (*obj->burst_capacity)(obj->dev_private, vchan);
}