On Thu, 22 Jun 2017 18:18:07 +0530, Hemant Agrawal <hemant.agra...@nxp.com> 
wrote:
> In case the alloc api is not able to allocate the required
> number of buffer, it can return '0', which will not indicate
> the failure to the calling function.
> This patch fix the return value to indicate the failure.
> 
> Fixes: 5dc43d22b5ad ("mempool/dpaa2: add hardware offloaded mempool")
> CC: sta...@dpdk.org
> 
> Signed-off-by: Hemant Agrawal <hemant.agra...@nxp.com>

Reviewed-by: Olivier Matz <olivier.m...@6wind.com>

Reply via email to