diff options
author | Kulikov Vasiliy <segooon@gmail.com> | 2010-08-03 15:42:30 (GMT) |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-08-05 02:28:21 (GMT) |
commit | 46cfc58a77de5fc8385ad87077f4dc14633e57a7 (patch) | |
tree | 43f85886cea7113741f9bb6cd1cf5fa3001f12e5 /include | |
parent | 58374713c9dfb4d231f8c56cac089f6fbdedc2ec (diff) | |
download | linux-fsl-qoriq-46cfc58a77de5fc8385ad87077f4dc14633e57a7.tar.xz |
agp: efficeon-agp: 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: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions