ACPICA: Audit/update for ACPICA return macros and debug depth counter
1) Ensure that all functions that use the various TRACE macros also use the appropriate ACPICA return macros. 2) Ensure that all normal return statements surround the return expression (value) with parens. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:

gecommit door
Rafael J. Wysocki

bovenliggende
86ff0e508f
commit
68aafc3516
@@ -109,7 +109,7 @@ acpi_rs_convert_aml_to_resources(u8 * aml,
|
||||
ACPI_ERROR((AE_INFO,
|
||||
"Invalid/unsupported resource descriptor: Type 0x%2.2X",
|
||||
resource_index));
|
||||
return (AE_AML_INVALID_RESOURCE_TYPE);
|
||||
return_ACPI_STATUS(AE_AML_INVALID_RESOURCE_TYPE);
|
||||
}
|
||||
|
||||
/* Convert the AML byte stream resource to a local resource struct */
|
||||
@@ -200,7 +200,7 @@ acpi_rs_convert_resources_to_aml(struct acpi_resource *resource,
|
||||
ACPI_ERROR((AE_INFO,
|
||||
"Invalid/unsupported resource descriptor: Type 0x%2.2X",
|
||||
resource->type));
|
||||
return (AE_AML_INVALID_RESOURCE_TYPE);
|
||||
return_ACPI_STATUS(AE_AML_INVALID_RESOURCE_TYPE);
|
||||
}
|
||||
|
||||
status = acpi_rs_convert_resource_to_aml(resource,
|
||||
|
Verwijs in nieuw issue
Block a user