projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CHROMIUM: chromeos-ec: use level-triggered interrupt
[cascardo/linux.git]
/
drivers
/
pci
/
xen-pcifront.c
diff --git
a/drivers/pci/xen-pcifront.c
b/drivers/pci/xen-pcifront.c
index
4010901
..
d6cc62c
100644
(file)
--- a/
drivers/pci/xen-pcifront.c
+++ b/
drivers/pci/xen-pcifront.c
@@
-290,6
+290,7
@@
static int pci_frontend_enable_msix(struct pci_dev *dev,
} else {
printk(KERN_DEBUG "enable msix get value %x\n",
op.value);
} else {
printk(KERN_DEBUG "enable msix get value %x\n",
op.value);
+ err = op.value;
}
} else {
dev_err(&dev->dev, "enable msix get err %x\n", err);
}
} else {
dev_err(&dev->dev, "enable msix get err %x\n", err);
@@
-544,7
+545,7
@@
static void free_root_bus_devs(struct pci_bus *bus)
dev = container_of(bus->devices.next, struct pci_dev,
bus_list);
dev_dbg(&dev->dev, "removing device\n");
dev = container_of(bus->devices.next, struct pci_dev,
bus_list);
dev_dbg(&dev->dev, "removing device\n");
- pci_remove_bus_device(dev);
+ pci_
stop_and_
remove_bus_device(dev);
}
}
}
}
@@
-1044,7
+1045,7
@@
static int pcifront_detach_devices(struct pcifront_device *pdev)
domain, bus, slot, func);
continue;
}
domain, bus, slot, func);
continue;
}
- pci_remove_bus_device(pci_dev);
+ pci_
stop_and_
remove_bus_device(pci_dev);
pci_dev_put(pci_dev);
dev_dbg(&pdev->xdev->dev,
pci_dev_put(pci_dev);
dev_dbg(&pdev->xdev->dev,