summaryrefslogtreecommitdiff
path: root/drivers/acpi/acpica/rsutils.c
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2015-06-19 06:38:16 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-06-23 16:44:53 +0300
commit52c1d8038594ffd82a6cf88d3dc0ca68d8179a36 (patch)
tree1ae0e4db3793b5a0261029279781fdd960b5cd1d /drivers/acpi/acpica/rsutils.c
parentf3b6ced236259a87829b829e8e542ff53bfb9a4f (diff)
downloadlinux-52c1d8038594ffd82a6cf88d3dc0ca68d8179a36.tar.xz
ACPICA: Linuxize: Reduce divergences for 20150616 release
This patch reduces source code differences between the Linux kernel and the ACPICA upstream so that the linuxized ACPICA 20150616 release can be applied with reduced human intervention. Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/rsutils.c')
-rw-r--r--drivers/acpi/acpica/rsutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/rsutils.c b/drivers/acpi/acpica/rsutils.c
index ece3cd60cc6a..90417de38dab 100644
--- a/drivers/acpi/acpica/rsutils.c
+++ b/drivers/acpi/acpica/rsutils.c
@@ -367,7 +367,7 @@ acpi_rs_get_resource_source(acpi_rs_length resource_length,
(u32)
ACPI_STRLEN(ACPI_CAST_PTR(char, &aml_resource_source[1])) +
1;
- total_length = (u32) ACPI_ROUND_UP_TO_NATIVE_WORD(total_length);
+ total_length = (u32)ACPI_ROUND_UP_TO_NATIVE_WORD(total_length);
ACPI_MEMSET(resource_source->string_ptr, 0, total_length);