[dpdk-dev] [dpdk-stable] [PATCH] vfio: fix error check when	checking if vfio is enabled
    Thomas Monjalon 
    thomas at monjalon.net
       
    Fri Jan 12 16:02:33 CET 2018
    
    
  
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 at rehivetech.com
> Cc: stable at dpdk.org
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
Applied, thanks
    
    
More information about the dev
mailing list