projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d3b573
)
[PCI]
author
Cameron Gutman
<aicommander@gmail.com>
Wed, 7 Apr 2010 20:18:44 +0000
(20:18 +0000)
committer
Cameron Gutman
<aicommander@gmail.com>
Wed, 7 Apr 2010 20:18:44 +0000
(20:18 +0000)
- Fix a crash that occurs when a device is started which requires no resources
svn path=/trunk/; revision=46767
reactos/drivers/bus/pci/pdo.c
patch
|
blob
|
history
diff --git
a/reactos/drivers/bus/pci/pdo.c
b/reactos/drivers/bus/pci/pdo.c
index
6fde92e
..
266b95d
100644
(file)
--- a/
reactos/drivers/bus/pci/pdo.c
+++ b/
reactos/drivers/bus/pci/pdo.c
@@
-1199,6
+1199,9
@@
PdoStartDevice(
PPDO_DEVICE_EXTENSION DeviceExtension = DeviceObject->DeviceExtension;
UCHAR Irq;
+ if (!RawResList)
+ return STATUS_SUCCESS;
+
/* TODO: Assign the other resources we get to the card */
for (i = 0; i < RawResList->Count; i++)