ACPICA: Hardware: Cast GPE enable_mask before storing
authorDavid E. Box <david.e.box@linux.intel.com>
Thu, 5 Feb 2015 07:20:38 +0000 (15:20 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 5 Feb 2015 14:31:38 +0000 (15:31 +0100)
commitd6c02669b486a7742a27e9f3a7a66148a5a7c248
tree24251e6e64a4d507f2b9a14d2d449e7964dfdc07
parent7c43312af8b363b679d1e7840858ff8d204a4d91
ACPICA: Hardware: Cast GPE enable_mask before storing

ACPICA commit 490ec7f7839bf7ee5e8710a34d1d1a78d54a49b6

In function acpi_hw_low_set_gpe(), cast enable_mask to u8 before
storing. The mask was read from a 32 bit register but is an 8 bit
value. Fixes Visual Studio compiler warning.

Link: https://github.com/acpica/acpica/commit/490ec7f7
Signed-off-by: David E. Box <david.e.box@linux.intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/hwgpe.c