OpenCloudOS-Kernel/drivers/infiniband/hw/usnic
Benoit Taine 9baa3c34ac PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use
We should prefer `struct pci_device_id` over `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;
initializer z;
@@

- DEFINE_PCI_DEVICE_TABLE(i)
+ const struct pci_device_id i[]
= z;

// </smpl>

[bhelgaas: add semantic patch]
Signed-off-by: Benoit Taine <benoit.taine@lip6.fr>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
2014-08-12 12:15:14 -06:00
..
Kconfig IB/usnic: Add dependency on CONFIG_INET 2014-01-18 13:48:54 -08:00
Makefile IB/usnic: Add Cisco VIC low-level hardware driver 2014-01-14 00:44:28 -08:00
usnic.h IB/usnic: Update ABI and Version file for UDP support 2014-01-14 00:44:43 -08:00
usnic_abi.h IB/usnic: Set userspace/kernel ABI ver to 4 2014-01-18 13:48:54 -08:00
usnic_common_pkt_hdr.h IB/usnic: Add Cisco VIC low-level hardware driver 2014-01-14 00:44:28 -08:00
usnic_common_util.h IB/usnic: Fix endianness-related warnings 2014-01-18 13:48:54 -08:00
usnic_debugfs.c IB/usnic: Remove unused variable in usnic_debugfs_exit() 2014-01-18 13:50:14 -08:00
usnic_debugfs.h IB/usnic: Expose flows via debugfs 2014-01-14 00:44:46 -08:00
usnic_fwd.c IB/usnic: Add UDP support to usnic_fwd.[hc] 2014-01-14 00:44:43 -08:00
usnic_fwd.h IB/usnic: Add UDP support to usnic_fwd.[hc] 2014-01-14 00:44:43 -08:00
usnic_ib.h IB/usnic: Remove unused includes of <linux/version.h> 2014-01-22 23:05:51 -08:00
usnic_ib_main.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
usnic_ib_qp_grp.c IB/usnic: Fix smatch endianness error 2014-02-14 09:47:29 -08:00
usnic_ib_qp_grp.h IB/usnic: Expose flows via debugfs 2014-01-14 00:44:46 -08:00
usnic_ib_sysfs.c IB/usnic: Expose flows via debugfs 2014-01-14 00:44:46 -08:00
usnic_ib_sysfs.h IB/usnic: Add Cisco VIC low-level hardware driver 2014-01-14 00:44:28 -08:00
usnic_ib_verbs.c IB: Return error for unsupported QP creation flags 2014-06-02 14:58:11 -07:00
usnic_ib_verbs.h IB/usnic: Add Cisco VIC low-level hardware driver 2014-01-14 00:44:28 -08:00
usnic_log.h IB/usnic: Add Cisco VIC low-level hardware driver 2014-01-14 00:44:28 -08:00
usnic_transport.c IB/usnic: Fix endianness-related warnings 2014-01-18 13:48:54 -08:00
usnic_transport.h IB/usnic: Append documentation to usnic_transport.h and cleanup 2014-01-14 00:51:00 -08:00
usnic_uiom.c IB/usnic: Remove '0x' when using %pa format 2014-03-17 16:26:38 -07:00
usnic_uiom.h IB/usnic: Add Cisco VIC low-level hardware driver 2014-01-14 00:44:28 -08:00
usnic_uiom_interval_tree.c IB/usnic: Fix source file missing copyright and license 2014-05-27 13:24:40 -07:00
usnic_uiom_interval_tree.h IB/usnic: Remove unused includes of <linux/version.h> 2014-01-22 23:05:51 -08:00
usnic_vnic.c IB/usnic: Add Cisco VIC low-level hardware driver 2014-01-14 00:44:28 -08:00
usnic_vnic.h IB/usnic: Add Cisco VIC low-level hardware driver 2014-01-14 00:44:28 -08:00