ACPICA: Regression fix: reinstate safe exit macros
[sfrench/cifs-2.6.git] / drivers / acpi / acpica / exprep.c
index d6eab81f54fb1ceab1146d69d4d343e9e01ca80b..6b728aef2dcab54804d11509e23660b06e11d21e 100644 (file)
@@ -276,7 +276,7 @@ acpi_ex_decode_field_access(union acpi_operand_object *obj_desc,
                /* Invalid field access type */
 
                ACPI_ERROR((AE_INFO, "Unknown field access type 0x%X", access));
-               return_VALUE(0);
+               return_UINT32(0);
        }
 
        if (obj_desc->common.type == ACPI_TYPE_BUFFER_FIELD) {
@@ -289,7 +289,7 @@ acpi_ex_decode_field_access(union acpi_operand_object *obj_desc,
        }
 
        *return_byte_alignment = byte_alignment;
-       return_VALUE(bit_length);
+       return_UINT32(bit_length);
 }
 
 /*******************************************************************************