Re: [dpdk-dev] [PATCH 05/16] bus/fslmc: support handle portal alloc failure

2020-03-09 Thread Ferruh Yigit
On 3/9/2020 5:00 PM, Ferruh Yigit wrote: > On 3/2/2020 2:58 PM, Hemant Agrawal wrote: >> Add the error handling on failure. >> >> Signed-off-by: Nipun Gupta >> Signed-off-by: Hemant Agrawal > > > Hi, > > This commit seems doing, > - Fix 'dpaa2_put_qbman_swp()' which previously may reference th

Re: [dpdk-dev] [PATCH 05/16] bus/fslmc: support handle portal alloc failure

2020-03-09 Thread Ferruh Yigit
On 3/2/2020 2:58 PM, Hemant Agrawal wrote: > Add the error handling on failure. > > Signed-off-by: Nipun Gupta > Signed-off-by: Hemant Agrawal Hi, This commit seems doing, - Fix 'dpaa2_put_qbman_swp()' which previously may reference the 'dpio_dev' when it is null, but the function introduced

[dpdk-dev] [PATCH 05/16] bus/fslmc: support handle portal alloc failure

2020-03-02 Thread Hemant Agrawal
Add the error handling on failure. Signed-off-by: Nipun Gupta Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 28 ++-- 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_dpio.c b/drivers/bus/fslmc/p