From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind_com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=f8CZGsVtdKCIUQt0Z4k5s9g8qVuZWWULTanNJPrYcv4=; b=vtPTGR4TjBwhxM+MHIDOe/GMd5inVJSkGuyWDX44+jywbpOi2XFwg30Bb7Tr96aeXH XIh0ySoQpSGqCWgbogETBtF7ZYhb5k+EtzZsIcevhoTuK8bEXCI4vJiw5kT2ieM/Fasd ch1r3z+xRTpKS48PMNn61O1bvYylTFwJydGI91a0WVx8ijrp8m79LNBysCAZDpFi8+er NdMjrpJedKCrq+pIgEGqMi9H7GgpBITzicrM+nnDC5zSwcjl5dLsZyRE3xn2iJzgEsmB 3jW3N8J/10Lop3OSS3vACbLY+dj3nCfwniRJAR5OUCT2H+VD18u+BhRh44GdyASG2eWS cR2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=f8CZGsVtdKCIUQt0Z4k5s9g8qVuZWWULTanNJPrYcv4=; b=HuVlfBJ/UwrJdUmrCNkFXaciV+b8KNZi2gvQIv8NhGf4thYpjBMOUoVfAL7hLjpjKM E7LaG4maaOM42UkKNbyeIx8Qsem3OxSBFsw+sTlGlAdvpKMaV3U3cKLf3NXBDqiQfRcb ckzLaKIZf2ucvOh/41KSAIQTb6RNNVXj39fC3OBtcWsuUveB4bgWEp+EO2oHYf4Z5jHM y1XLVSY9w3VatlUiRhYkmYMebyiqJlzTl32qEDTB4jfEA97MpeIdDnXdtT29bS7pMk7g 2HeZEvrxqmV9ns7ZQJA10a4YdQQyxRRPPXf2xMYEoRmu8DRuWUTHkkZWR57wEvw9tRxv YzOA== X-Gm-Message-State: ALoCoQlW6PqDbDU9R9bQhup8s3Qsr+DaXvNu4J3d1XPgvyQYBzFqdryn33UY8u8ZFakn5fVWCcim X-Received: by 10.194.90.169 with SMTP id bx9mr5439950wjb.1.1447170112174; Tue, 10 Nov 2015 07:41:52 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id t5sm4743929wmt.1.2015.11.10.07.41.51 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Nov 2015 07:41:51 -0800 (PST) From: Thomas Monjalon To: Bernard Iremonger Date: Tue, 10 Nov 2015 16:40:40 +0100 Message-ID: <1888147.zhHoSAYnff@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1446830401-12862-2-git-send-email-bernard.iremonger@intel.com> References: <1446830401-12862-2-git-send-email-bernard.iremonger@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [v2 1/1] librte_ether: fix coverity errors in rte_eth_copy_pci_info X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Nov 2015 15:41:54 -0000 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