Re: [dpdk-dev] [PATCH] net/enic:fix no return value bug

2017-08-28 Thread Ferruh Yigit
On 8/28/2017 12:31 PM, Ferruh Yigit wrote: > On 8/23/2017 9:49 AM, Rongqiang XIE wrote: >> In enic_alloc_consistent() function, if the value mze malloc >> faile, !mze is true, free the rz should return NULL. >> >> Signed-off-by: Rongqiang XIE > > Reviewed-by: Ferruh Yigit Applied to dpdk-next-n

Re: [dpdk-dev] [PATCH] net/enic:fix no return value bug

2017-08-28 Thread Ferruh Yigit
On 8/23/2017 9:49 AM, Rongqiang XIE wrote: > In enic_alloc_consistent() function, if the value mze malloc > faile, !mze is true, free the rz should return NULL. > > Signed-off-by: Rongqiang XIE Reviewed-by: Ferruh Yigit

[dpdk-dev] [PATCH] net/enic:fix no return value bug

2017-08-23 Thread Rongqiang XIE
In enic_alloc_consistent() function, if the value mze malloc faile, !mze is true, free the rz should return NULL. Signed-off-by: Rongqiang XIE --- drivers/net/enic/enic_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/enic/enic_main.c b/drivers/net/enic/enic_main.c index 40