mirror of
https://github.com/reactos/reactos.git
synced 2024-09-09 20:30:04 +00:00
[ACPI]
- Don't attempt to parse output arguments if none were returned svn path=/trunk/; revision=46417
This commit is contained in:
parent
25b4bd1bff
commit
e10113d22d
|
@ -93,6 +93,10 @@ Bus_PDO_EvalMethod(PPDO_DEVICE_DATA DeviceData,
|
||||||
ACPI_OBJECT *Obj = RetBuff.Pointer;
|
ACPI_OBJECT *Obj = RetBuff.Pointer;
|
||||||
ULONG ExtraParamLength;
|
ULONG ExtraParamLength;
|
||||||
|
|
||||||
|
/* If we didn't get anything back then we're done */
|
||||||
|
if (!RetBuff.Pointer || RetBuff.Length == 0)
|
||||||
|
return STATUS_SUCCESS;
|
||||||
|
|
||||||
switch (Obj->Type)
|
switch (Obj->Type)
|
||||||
{
|
{
|
||||||
case ACPI_TYPE_INTEGER:
|
case ACPI_TYPE_INTEGER:
|
||||||
|
|
Loading…
Reference in a new issue