From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by dpdk.org (Postfix) with ESMTP id A357637AA for ; Wed, 27 Apr 2016 16:03:55 +0200 (CEST) Received: by mail-wm0-f47.google.com with SMTP id a17so17533451wme.0 for ; Wed, 27 Apr 2016 07:03:55 -0700 (PDT) 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; bh=pMLaR+dYWgr23yNr+803/SfPgdY7XSSpv8Gr4XMfGq8=; b=EIJxScXpnC4Vp+0Iemaqkvdhwu0FlIAZwR1qbuZEZU1n2vo+6BzKq6blNpjyYlx7nq up41Tl70eKxXY4jes7bk4i/ndLTs4PvxWcJyi9uP7YeshcdyqQdM+T9t8wAoIPEO2J1a JUza0vAq9PRrQIm/qa/IJK1m46hdTWt9+7aQQLRtYwfC5ZvXHUYwFocbKw0LRJhEEeP+ NyKnGLsL71ZhseHMeu5kJdNZTh2kUGjv7kMg2aVLy/ZpWuQAPA2RB1zd5lcDKZVX4PL2 ILPNfR8uHuxq9xIRdTj0OvssjJ+IWw8RCYodnxVLG+JQKmIv+Ba60OcmwEyo0UJLiT9g zwFA== 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; bh=pMLaR+dYWgr23yNr+803/SfPgdY7XSSpv8Gr4XMfGq8=; b=IGnEp0yqbaPP2x814tiAp0ETMJyNluHr62y10LIZuNhjrEzfDK9Be3dEhkt/7K8m9l 41+zOR3+rS6zqX1Cx9/dBqDufY63ksNqgpRwCW7CIcrXfhilvCIi+M8+0t/PDOVj6PP4 HJj4y2kCGHKQFJY7+kbE/v/KLVwax5tNH528yuVuLPfr1JQzZL2NFpqvkJ7JaIwywIHf LGERFfGq3xk814YkAfNmUf39EHlorMqAYcRqYFthoHcAYqIBZ84cJ2AMEBiQnqKCNBGW wN5Roq5ULVn3yYow0wxnFCA9gma2SQYsDO6y9XbVlr+esLVMvcjlp6Q7xKc9VzHdOOKo g+Tw== X-Gm-Message-State: AOPr4FVoZWeiuWOPPqtMXpE/jiMBn6yFod//szNKN/FggzIV9c7gesAugjed1AotxxXyujtp X-Received: by 10.28.138.193 with SMTP id m184mr25663496wmd.100.1461765835461; Wed, 27 Apr 2016 07:03:55 -0700 (PDT) Received: from xps13.localnet (51.111.75.86.rev.sfr.net. [86.75.111.51]) by smtp.gmail.com with ESMTPSA id jq1sm4246654wjc.28.2016.04.27.07.03.54 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 27 Apr 2016 07:03:54 -0700 (PDT) From: Thomas Monjalon To: Daniel Mrzyglod Cc: dev@dpdk.org Date: Wed, 27 Apr 2016 16:03:52 +0200 Message-ID: <2523924.cjX2MQbCfl@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1461331029-192359-1-git-send-email-danielx.t.mrzyglod@intel.com> References: <1461239817-96357-1-git-send-email-danielx.t.mrzyglod@intel.com> <1461331029-192359-1-git-send-email-danielx.t.mrzyglod@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] eal: fix unchecked return value from library 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: Wed, 27 Apr 2016 14:03:55 -0000 2016-04-22 15:17, Daniel Mrzyglod: > Fix issue reported by Coverity. > Coverity ID 13194 > > The function returns a value that indicates an error condition. If this > is not checked, the error condition may not be handled correctly. > > In pci_vfio_mp_sync_thread: Value returned from a library function is not > checked for errors before being used. This value may indicate an error condition. > > Fixes: 2f4adfad0a69 ("vfio: add multiprocess support") > > v2: > Changed ERR to WARNING because it has no real impact on the application > usability > > Signed-off-by: Daniel Mrzyglod > Acked-by: Anatoly Burakov Applied, thanks