[dpdk-dev] [PATCH v2 1/2] mempool/dpaa2: fix the return value for alloc fail

Shreyansh Jain shreyansh.jain at nxp.com
Tue Jul 18 16:47:20 CEST 2017


On Thursday 22 June 2017 06:18 PM, Hemant Agrawal 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: stable at dpdk.org
> 
> Signed-off-by: Hemant Agrawal <hemant.agrawal at nxp.com>
> ---

Acked-by: Shreyansh Jain <shreyansh.jain at nxp.com>



More information about the dev mailing list