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
..
2010-04-21 16:34:41 -07:00
2009-07-08 10:54:18 -07:00
2008-10-13 18:47:30 -07:00
2008-10-13 18:47:30 -07:00
2008-10-13 18:47:30 -07:00
2008-10-13 18:47:30 -07:00
2010-07-08 23:12:27 -07:00
2008-10-13 18:47:30 -07:00
2008-10-13 18:47:30 -07:00
2010-06-25 21:33:13 -07:00