git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46cfc58
)
agp: intel-agp: do not use PCI resources before pci_enable_device()
author
Kulikov Vasiliy
<segooon@gmail.com>
Tue, 3 Aug 2010 15:42:34 +0000
(19:42 +0400)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 5 Aug 2010 02:28:25 +0000
(12:28 +1000)
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>
drivers/char/agp/intel-agp.c
patch
|
blob
|
history
diff --cc
drivers/char/agp/intel-agp.c
Simple merge