From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] eal: fix unchecked return value from library Date: Wed, 27 Apr 2016 16:03:52 +0200 Message-ID: <2523924.cjX2MQbCfl@xps13> 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Daniel Mrzyglod 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) In-Reply-To: <1461331029-192359-1-git-send-email-danielx.t.mrzyglod@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" 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