diff options
| author | 2010-08-03 19:44:20 +0400 | |
|---|---|---|
| committer | 2010-08-31 11:13:57 -0700 | |
| commit | 13b631a599cddabc1cbb3a2fb862aee5ceb6e427 (patch) | |
| tree | 7282d0acf5ea7cd0e37fbd669e5da61b87d66c8c /include/linux/flex_array.h | |
| parent | staging: vt6656: added spaces around '||' (diff) | |
staging: vt6655: 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: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/flex_array.h')
0 files changed, 0 insertions, 0 deletions
