[PATCH openEuler-1.0-LTS 03/60] vfio/pci: Fix error return code in vfio_ecap_init()