kernel_optimize_test/drivers/net/cxgb3
Kulikov Vasiliy 7aaaaa1e44 cxgb3: do not use PCI resources before pci_enable_device()
IRQ and resource[] may not have correct values until
after PCI hotplug setup occurs at pci_enable_device() time.

The semantic match that finds this problem is as follows:

// <smpl>
@@
identifier x;
identifier request ~= "pci_request.*|pci_resource.*";
@@

(
* x->irq
|
* x->resource
|
* request(x, ...)
)
 ...
*pci_enable_device(x)
// </smpl>

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-08-04 16:18:02 -07:00
..
adapter.h RDMA/cxgb3: Doorbell overflow avoidance and recovery 2010-02-24 10:40:28 -08:00
ael1002.c cxgb3: fix linkup issue 2010-04-21 16:34:41 -07:00
aq100x.c cxgb3: AQ100X phy support update 2009-07-08 10:54:18 -07:00
common.h cxgb3: convert to use netdev_for_each_addr 2010-02-17 15:59:48 -08:00
cxgb3_ctl_defs.h
cxgb3_defs.h
cxgb3_ioctl.h
cxgb3_main.c cxgb3: do not use PCI resources before pci_enable_device() 2010-08-04 16:18:02 -07:00
cxgb3_offload.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
cxgb3_offload.h RDMA/cxgb3: Doorbell overflow avoidance and recovery 2010-02-24 10:40:28 -08:00
firmware_exports.h
l2t.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
l2t.h
Makefile cxgb3: add support for the Aquantia 10G-BT phy 2009-05-29 15:55:05 -07:00
mc5.c
regs.h RDMA/cxgb3: Doorbell overflow avoidance and recovery 2010-02-24 10:40:28 -08:00
sge_defs.h
sge.c cxgb3: simplify need_skb_unmap 2010-07-08 23:12:27 -07:00
t3_cpl.h
t3_hw.c drivers/net/cxgb3/t3_hw.c: use new hex_to_bin() method 2010-07-21 11:16:09 -07:00
t3cdev.h
version.h cxgb3: request 7.10 firmware 2010-06-25 21:33:13 -07:00
vsc8211.c cxgb3: Use generic MDIO definitions and mdio_mii_ioctl() 2009-04-29 17:32:32 -07:00
xgmac.c net: convert multicast list to list_head 2010-04-03 14:22:15 -07:00