diff options
author | Lv Zheng <lv.zheng@intel.com> | 2015-04-13 11:48:18 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-04-14 14:51:50 +0200 |
commit | f254e3c57b9d952e987502aefa0804c177dd2503 (patch) | |
tree | 9a2d1ce8a0d8a16744e3411614b9720e0798928c /tools | |
parent | 18ae90214d385e9b992ead6653e6976b42097978 (diff) | |
download | linux-stable-f254e3c57b9d952e987502aefa0804c177dd2503.tar.gz linux-stable-f254e3c57b9d952e987502aefa0804c177dd2503.tar.bz2 linux-stable-f254e3c57b9d952e987502aefa0804c177dd2503.zip |
ACPICA: Tables: Change acpi_find_root_pointer() to use acpi_physical_address.
ACPICA commit 7d9fd64397d7c38899d3dc497525f6e6b044e0e3
OSPMs like Linux expect an acpi_physical_address returning value from
acpi_find_root_pointer(). This triggers warnings if sizeof (acpi_size) doesn't
equal to sizeof (acpi_physical_address):
drivers/acpi/osl.c:275:3: warning: passing argument 1 of 'acpi_find_root_pointer' from incompatible pointer type [enabled by default]
In file included from include/acpi/acpi.h:64:0,
from include/linux/acpi.h:36,
from drivers/acpi/osl.c:41:
include/acpi/acpixf.h:433:1: note: expected 'acpi_size *' but argument is of type 'acpi_physical_address *'
This patch corrects acpi_find_root_pointer().
Link: https://github.com/acpica/acpica/commit/7d9fd643
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions