mirror of
https://github.com/acpica/acpica/
synced 2025-02-08 01:24:34 +03:00
Improved error messages
date 2002.02.08.19.12.00; author rmoore1; state Exp;
This commit is contained in:
parent
74a1e639e2
commit
dd8df8f2ba
@ -1,7 +1,7 @@
|
||||
/*******************************************************************************
|
||||
*
|
||||
* Module Name: rsutils - Utilities for the resource manager
|
||||
* $Revision: 1.26 $
|
||||
* $Revision: 1.27 $
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
@ -182,6 +182,8 @@ AcpiRsGetPrtMethodData (
|
||||
*/
|
||||
if (ACPI_TYPE_PACKAGE != RetObj->Common.Type)
|
||||
{
|
||||
ACPI_DEBUG_PRINT ((ACPI_DB_ERROR, "_PRT did not return a Package, returned %s\n",
|
||||
AcpiUtGetTypeName (RetObj->Common.Type)));
|
||||
Status = AE_AML_OPERAND_TYPE;
|
||||
goto Cleanup;
|
||||
}
|
||||
@ -258,6 +260,8 @@ AcpiRsGetCrsMethodData (
|
||||
*/
|
||||
if (ACPI_TYPE_BUFFER != RetObj->Common.Type)
|
||||
{
|
||||
ACPI_DEBUG_PRINT ((ACPI_DB_ERROR, "_CRS did not return a Buffer, returned %s\n",
|
||||
AcpiUtGetTypeName (RetObj->Common.Type)));
|
||||
Status = AE_AML_OPERAND_TYPE;
|
||||
goto Cleanup;
|
||||
}
|
||||
@ -335,6 +339,8 @@ AcpiRsGetPrsMethodData (
|
||||
*/
|
||||
if (ACPI_TYPE_BUFFER != RetObj->Common.Type)
|
||||
{
|
||||
ACPI_DEBUG_PRINT ((ACPI_DB_ERROR, "_PRS did not return a Buffer, returned %s\n",
|
||||
AcpiUtGetTypeName (RetObj->Common.Type)));
|
||||
Status = AE_AML_OPERAND_TYPE;
|
||||
goto Cleanup;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user