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>
Цей коміт міститься в:
@@ -18,8 +18,8 @@
|
||||
static int permissive;
|
||||
module_param(permissive, bool, 0644);
|
||||
|
||||
#define DEFINE_PCI_CONFIG(op, size, type) \
|
||||
int pciback_##op##_config_##size \
|
||||
#define DEFINE_PCI_CONFIG(op, size, type) \
|
||||
int pciback_##op##_config_##size \
|
||||
(struct pci_dev *dev, int offset, type value, void *data) \
|
||||
{ \
|
||||
return pci_##op##_config_##size(dev, offset, value); \
|
||||
|
Посилання в новій задачі
Заблокувати користувача