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

Thomas Monjalon thomas at monjalon.net
Fri Jul 21 08:29:32 CEST 2017


18/07/2017 17:47, Shreyansh Jain:
> 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>

Series applied, thanks



More information about the dev mailing list