projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa48144
)
- Check that the device number is not invalid
author
Cameron Gutman
<aicommander@gmail.com>
Wed, 17 Mar 2010 07:16:08 +0000
(07:16 +0000)
committer
Cameron Gutman
<aicommander@gmail.com>
Wed, 17 Mar 2010 07:16:08 +0000
(07:16 +0000)
- ACPI now crashes later on VMware
svn path=/trunk/; revision=46240
reactos/drivers/bus/acpi/osl.c
patch
|
blob
|
history
diff --git
a/reactos/drivers/bus/acpi/osl.c
b/reactos/drivers/bus/acpi/osl.c
index
1c55c32
..
d86e70b
100644
(file)
--- a/
reactos/drivers/bus/acpi/osl.c
+++ b/
reactos/drivers/bus/acpi/osl.c
@@
-466,7
+466,7
@@
AcpiOsReadPciConfiguration (
NTSTATUS Status;
PCI_SLOT_NUMBER slot;
- if (Register == 0)
+ if (Register == 0
|| PciId->Device == 0
)
return AE_ERROR;
slot.u.AsULONG = 0;
@@
-498,7
+498,7
@@
AcpiOsWritePciConfiguration (
ULONG buf = Value;
PCI_SLOT_NUMBER slot;
- if (Register == 0)
+ if (Register == 0
|| PciId->Device == 0
)
return AE_ERROR;
slot.u.AsULONG = 0;