From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 18344A499; Fri, 12 Jan 2018 16:03:03 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 8EB6A20A72; Fri, 12 Jan 2018 10:03:03 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Fri, 12 Jan 2018 10:03:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=5PX6Qg7WhpADmTzX8kDezNt+w/ I7CCpzqGebe+OQ7V8=; b=CUyMQHD/esQ8VWhGiOV7/jIymxuTmVpVHONFsIzFVa PBmp1XwuevGxjB4m8jKTwgXk4Z2AMvubYX8QdNo/sT23aJm/Ya3vfVlQ2HI3Af+G z5RVfiTkd+E+UaYzDhE9EaxwBZA762eM3QKwBT4tk0a9IKqEKw1yfUg2XwaplxF+ M= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=5PX6Qg 7WhpADmTzX8kDezNt+w/I7CCpzqGebe+OQ7V8=; b=arj3XptkS6MNU13a+/fKP3 C7cpTHBupwaTXUtuwWltGXgCYInXZdOMeIWCZfROIk8qDygmNhNfMDD87rIynC7F Gh2E7wFPzC3Ggy1AR3D7XE1xH67JIlWpPekFYRYaEA549cRJHFCyEIUNRrQ08ePL 5MJoHm9/3QmStbABmO/DqKbJymJz2fJh9m4EkU5T6EEl/gJ3E2YKCiTEIcQLLN89 SctMtVTPmOtneHhWSWjHv2769FLKw0bRwAcmHgzHj5ZjkkQeFMtqqTyngx5Jksw8 yBgzjS4XOIPSQg+NK8ks/PMM2NswmY8hFebEckA3sDK+R//eyXmShQFzA8GygTnw == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 422357E353; Fri, 12 Jan 2018 10:03:03 -0500 (EST) From: Thomas Monjalon To: Anatoly Burakov Cc: stable@dpdk.org, dev@dpdk.org, viktorin@rehivetech.com Date: Fri, 12 Jan 2018 16:02:33 +0100 Message-ID: <15164666.XZrsZrdajf@xps> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [PATCH] vfio: fix error check when checking if vfio is enabled X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jan 2018 15:03:04 -0000 22/12/2017 11:30, Anatoly Burakov: > rte_eal_check_module() might return -1, which would have been a > "not false" condition for mod_available. Fix that to only report > vfio being enabled if rte_eal_check_module() returns 1. > > Fixes: 221f7c220d6b ("vfio: move global config out of PCI files") > Cc: viktorin@rehivetech.com > Cc: stable@dpdk.org > Signed-off-by: Anatoly Burakov Applied, thanks