On Thu, 22 Jun 2017 18:18:07 +0530, Hemant Agrawal <[email protected]> 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: [email protected] > > Signed-off-by: Hemant Agrawal <[email protected]>
Reviewed-by: Olivier Matz <[email protected]>

