You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
xen/pciback: Cleanup the driver based on checkpatch warnings and errors.
Checkpatch found some extra warnings and errors. This mega patch fixes them all in one big swoop. We also spruce up the pcistub_ids to use DEFINE_PCI_DEVICE_TABLE macro (suggested by Jan Beulich). Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
This commit is contained in:
@@ -683,20 +683,20 @@ static const struct xenbus_device_id xenpci_ids[] = {
|
||||
};
|
||||
|
||||
static struct xenbus_driver xenbus_pciback_driver = {
|
||||
.name = "pciback",
|
||||
.owner = THIS_MODULE,
|
||||
.ids = xenpci_ids,
|
||||
.probe = pciback_xenbus_probe,
|
||||
.remove = pciback_xenbus_remove,
|
||||
.otherend_changed = pciback_frontend_changed,
|
||||
.name = "pciback",
|
||||
.owner = THIS_MODULE,
|
||||
.ids = xenpci_ids,
|
||||
.probe = pciback_xenbus_probe,
|
||||
.remove = pciback_xenbus_remove,
|
||||
.otherend_changed = pciback_frontend_changed,
|
||||
};
|
||||
|
||||
int __init pciback_xenbus_register(void)
|
||||
{
|
||||
pciback_wq = create_workqueue("pciback_workqueue");
|
||||
if (!pciback_wq) {
|
||||
printk(KERN_ERR "pciback_xenbus_register: create"
|
||||
"pciback_workqueue failed\n");
|
||||
printk(KERN_ERR "%s: create"
|
||||
"pciback_workqueue failed\n", __func__);
|
||||
return -EFAULT;
|
||||
}
|
||||
return xenbus_register_backend(&xenbus_pciback_driver);
|
||||
|
||||
Reference in New Issue
Block a user