-
由 Po Liu 提交于
If pci_setup_device() returns failure, we must return failure from pci_iov_add_virtfn(). If we ignore the failure and continue with an uninitialized pci_dev for virtfn, we crash later when we try to use those uninitialized parts. Signed-off-by: NPo Liu <po.liu@nxp.com> Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
156c5532