diff options
author | Len Brown <len.brown@intel.com> | 2007-05-10 06:49:34 (GMT) |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-05-10 06:49:34 (GMT) |
commit | 71b43ca46fc5f0588ef64a14c6133c19a9b3f1ea (patch) | |
tree | af25c06aa1af3ff2c210fe4b39abfdda55b84349 /drivers/acpi/executer/exconvrt.c | |
parent | 3dd6786f55219f87fd33e153669600d715ca9270 (diff) | |
parent | fd3509436fde38d4c854bf5a6b83d2c779904f8e (diff) | |
download | linux-71b43ca46fc5f0588ef64a14c6133c19a9b3f1ea.tar.xz |
Pull acpica into release branch
Diffstat (limited to 'drivers/acpi/executer/exconvrt.c')
-rw-r--r-- | drivers/acpi/executer/exconvrt.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/acpi/executer/exconvrt.c b/drivers/acpi/executer/exconvrt.c index d470e8b..79f2c0d 100644 --- a/drivers/acpi/executer/exconvrt.c +++ b/drivers/acpi/executer/exconvrt.c @@ -512,9 +512,8 @@ acpi_ex_convert_to_string(union acpi_operand_object * obj_desc, * Create a new string object and string buffer * (-1 because of extra separator included in string_length from above) */ - return_desc = - acpi_ut_create_string_object((acpi_size) - (string_length - 1)); + return_desc = acpi_ut_create_string_object((acpi_size) + (string_length - 1)); if (!return_desc) { return_ACPI_STATUS(AE_NO_MEMORY); } |