DEFINE_PCI_DEVICE_TABLE\n" . $herecurr) && + if (CHK("DEFINE_PCI_DEVICE_TABLE", + "Prefer struct pci_device_id over deprecated DEFINE_PCI_DEVICE_TABLE\n" . $herecurr) && $fix) { $fixed[$fixlinenr] =~ s/\b(?:static\s+|)DEFINE_PCI_DEVICE_TABLE\s*\(\s*(\w+)\s*\)\s*...
`DEFINE_PCI_DEVICE_TABLE` to meet kernel coding style guidelines. This issue was reported by checkpatch. A simplified version of the semantic patch that makes this change is as follows (http://coccinelle.lip6.fr/): // <smpl> @@ identifier i; declarer name DEFINE_PCI_DEVICE_TABLE; initial...
}voidpci_cmd646_ide_init(PCIBus *bus, DriveInfo **hd_table,intsecondary_ide_enabled){ PCIDevice *dev; dev = pci_create(bus,-1,"cmd646-ide"); qdev_prop_set_uint32(&dev->qdev,"secondary", secondary_ide_enabled); qdev_init_nofail(&dev->qdev); pci_ide_create_devs(dev, hd_tabl...
+++ b/drivers/usb/host/isp1760-if.c @@ -322,7 +322,7 @@ static void isp1761_pci_shutdown(struct pci_dev *dev) printk(KERN_ERR "ips1761_pci_shutdown\n"); } -static const struct pci_device_id isp1760_plx [] = { +static DEFINE_PCI_DEVICE_TABLE(isp1760_plx) = { { .class ...
> We should prefer `const struct pci_device_id` over > `DEFINE_PCI_DEVICE_TABLE` to meet kernel coding style guidelines. > This issue was reported by checkpatch. What kernel coding style? checkpatch isn't the arbiter of style, if
Re: [ath5k-devel] [PATCH 0/25] Replace DEFINE_PCI_DEVICE_TABLE macro use Keller, Jacob EFri, 18 Jul 2014 14:16:31 -0700 Previous message View by thread View by date Next message [ath5k-devel] [PATCH 0/25] Replace DEFINE_PCI_DEVICE_TABL...Benoit Taine ...
MODULE_DEVICE_TABLE(pci, mv_pci_tbl); MODULE_VERSION(DRV_VERSION); +MODULE_ALIAS("platform:sata_mv"); #ifdef CONFIG_PCI module_param(msi, int, 0444); .. Acked-by: Mark Lord <[EMAIL PROTECTED]> Looks safe enough. - To unsubscribe from this list: send the line "unsubscribe linux-ide...
/* The smp table must be in 0-1K, 639K-640K, or 960K-1M */ // new_low_table_end = write_smp_table(low_table_end); Index: LinuxBIOSv3-postcode/arch/x86/pci_ops_auto.c === --- LinuxBIOSv3-postcode/arch/x86/pci_ops_auto.c (Revision 548) +++ LinuxBIOSv3-postcode/arch...
( IN PVOID DeviceExtension ); +#ifdef MSI_SUPPORTED +#ifndef PCIX_TABLE_POINTER +typedef struct { + union { + struct { + ULONG BaseIndexRegister :3; + ULONG Reserved :29; + }; + ULONG TableOffset; + }; +} PCIX_TABLE_POINTER, *PPCIX_TABLE_POINTER; +#endif +#ifndef PCI_MSIX...
Linville wrote: > > On Fri, Jul 18, 2014 at 05:26:47PM +0200, Benoit Taine wrote: > > > We should prefer `const struct pci_device_id` over > > > `DEFINE_PCI_DEVICE_TABLE` to meet kernel coding style guidelines. > > > This issue was reported by checkpatch. > > > > ...