Skip to content
Commit 37a682ff authored by Heiner Kallweit's avatar Heiner Kallweit Committed by Alex Williamson
Browse files

vfio/pci: Fix handling of pci use accessor return codes



The pci user accessors return negative errno's on error.

Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: default avatarCornelia Huck <cohuck@redhat.com>
[aw: drop Fixes tag, pcibios_err_to_errno() behaves correctly for -errno]
Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
parent 01032156
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment