+2
−2
Loading
If vfio_add_std_cap() errors then going to out prepends irrelevant errors for capabilities we haven't attempted to add as we unwind our recursive stack. Just return error. Fixes: 7ef165b9 ("vfio/pci: Pass an error object to vfio_add_capabilities") Signed-off-by:Alex Williamson <alex.williamson@redhat.com>