diff options
author | Bob Moore <robert.moore@intel.com> | 2009-02-18 15:03:30 +0800 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-03-26 16:38:29 -0400 |
commit | ec41f193eadb6301f3c052b5e0dbc0b5636982e8 (patch) | |
tree | 9fd86c3b86925fc21868ca6f7e6bd6a0ecbf1d46 /drivers/acpi/acpica/utcopy.c | |
parent | 7bcc06e845479bde939059bafa088bf25ede9dbf (diff) | |
download | kernel_samsung_aries-ec41f193eadb6301f3c052b5e0dbc0b5636982e8.zip kernel_samsung_aries-ec41f193eadb6301f3c052b5e0dbc0b5636982e8.tar.gz kernel_samsung_aries-ec41f193eadb6301f3c052b5e0dbc0b5636982e8.tar.bz2 |
ACPICA: Formatting update - no functional changes
Split some long lines.
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/utcopy.c')
-rw-r--r-- | drivers/acpi/acpica/utcopy.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/acpi/acpica/utcopy.c b/drivers/acpi/acpica/utcopy.c index cabe860..919624f 100644 --- a/drivers/acpi/acpica/utcopy.c +++ b/drivers/acpi/acpica/utcopy.c @@ -496,8 +496,9 @@ acpi_ut_copy_esimple_to_isimple(union acpi_object *external_object, case ACPI_TYPE_STRING: internal_object->string.pointer = - ACPI_ALLOCATE_ZEROED((acpi_size) external_object->string. - length + 1); + ACPI_ALLOCATE_ZEROED((acpi_size) + external_object->string.length + 1); + if (!internal_object->string.pointer) { goto error_exit; } |