From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [dpdk-stable] [PATCH] vfio: fix error check when checking if vfio is enabled Date: Fri, 12 Jan 2018 16:02:33 +0100 Message-ID: <15164666.XZrsZrdajf@xps> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: stable@dpdk.org, dev@dpdk.org, viktorin@rehivetech.com To: Anatoly Burakov Return-path: In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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