Searched hist:"156 c55325d30261d250e88ed3a39f22008f4ca16" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/pci/ |
H A D | iov.c | diff 156c55325d30261d250e88ed3a39f22008f4ca16 Mon Aug 29 09:28:01 CEST 2016 Po Liu <po.liu@nxp.com> PCI: Check for pci_setup_device() failure in pci_iov_add_virtfn()
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: Po Liu <po.liu@nxp.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
|