ACPICA: Executer: Introduce a set of macros to handle bit width mask generation
authorLv Zheng <lv.zheng@intel.com>
Thu, 5 May 2016 04:58:45 +0000 (12:58 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 5 May 2016 13:22:27 +0000 (15:22 +0200)
commit9222aa8234d9f07a70e815ddd3b44a97d673aff5
treeb0b8f78a412d8023d28b4f81319894a6aa0d7cb0
parentb314a172ee968d45f72dffea68ab8af38aa80ded
ACPICA: Executer: Introduce a set of macros to handle bit width mask generation

ACPICA commit c23034a3a09d5ed79f1827d51f43cfbccf68ab64

A regression was reported to the shift offset >= width of type.
This patch fixes this issue. BZ 1270.

This is a part of the fix because the order of the patches are modified for
Linux upstream, containing the cleanups for the old code. Lv Zheng.

Link: https://github.com/acpica/acpica/commit/c23034a3
Link: https://bugs.acpica.org/show_bug.cgi?id=1270
Reported-by: Sascha Wildner <swildner@gmail.com>
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>
drivers/acpi/acpica/acmacros.h
drivers/acpi/acpica/exfldio.c