From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [dpdk-stable] [PATCH v2 1/2] mempool/dpaa2: fix the return value for alloc fail Date: Fri, 21 Jul 2017 09:29:32 +0300 Message-ID: <1777391.uy2g6WzqRN@xps> References: <1495532028-9700-1-git-send-email-hemant.agrawal@nxp.com> <1498135688-3853-1-git-send-email-hemant.agrawal@nxp.com> <05874f60-e427-b9e3-93da-a78e0b03d284@nxp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: stable@dpdk.org, Shreyansh Jain , olivier.matz@6wind.com, dev@dpdk.org To: Hemant Agrawal Return-path: In-Reply-To: <05874f60-e427-b9e3-93da-a78e0b03d284@nxp.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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@dpdk.org > > > > Signed-off-by: Hemant Agrawal > > Acked-by: Shreyansh Jain Series applied, thanks