From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [v2 1/1] librte_ether: fix coverity errors in rte_eth_copy_pci_info Date: Tue, 10 Nov 2015 16:40:40 +0100 Message-ID: <1888147.zhHoSAYnff@xps13> References: <1446830401-12862-2-git-send-email-bernard.iremonger@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Bernard Iremonger Return-path: Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id 395AF378E for ; Tue, 10 Nov 2015 16:41:54 +0100 (CET) Received: by wmww144 with SMTP id w144so6014702wmw.0 for ; Tue, 10 Nov 2015 07:41:54 -0800 (PST) In-Reply-To: <1446830401-12862-2-git-send-email-bernard.iremonger@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2015-11-06 17:20, Bernard Iremonger: > add return statement to if branch > > Dereferencing NULL pointer reported by Coverity, CID 119256. > Dereferencing NULL pointer reported by Coverity, CID 119257. > > Signed-off-by: Bernard Iremonger Fixes: 494adb7f63f2 ("ethdev: add device fields from PCI layer") Applied, thanks