ACPICA: Silence a -Wbad-function-cast warning when acpi_uintptr_t is 'uintptr_t'
authorLv Zheng <lv.zheng@intel.com>
Fri, 15 Jan 2016 00:17:11 +0000 (08:17 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 15 Jan 2016 21:22:05 +0000 (22:22 +0100)
commitc11e5dd3eadf3abcddcc509605eb24c20c03fc6d
tree33fc968b55022b979fe62c7aad03dbc2a6710659
parentc8100dc4643d80a94f074dfc8a2af3d3d327b7aa
ACPICA: Silence a -Wbad-function-cast warning when acpi_uintptr_t is 'uintptr_t'

Do not pass the return value of strtoul() to the ACPI_TO_POINTER()
macro to avoid a -Wbad-function-cast warning.

Signed-off-by: Sascha Wildner <saw@online.de>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
[ rjw: Changelog ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/dbdisply.c