From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH] net/enic:fix no return value bug Date: Mon, 28 Aug 2017 12:31:41 +0100 Message-ID: <9adf091a-c240-2b51-6f47-bc9292b4e299@intel.com> References: <1503478164-13185-1-git-send-email-xie.rongqiang@zte.com.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org To: Rongqiang XIE , johndale@cisco.com Return-path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id DAF761B53 for ; Mon, 28 Aug 2017 13:31:44 +0200 (CEST) In-Reply-To: <1503478164-13185-1-git-send-email-xie.rongqiang@zte.com.cn> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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