Utilities: Fix missing parentheses in ACPI_GET_BITS()/ACPI_SET_BITS()
authorLv Zheng <lv.zheng@intel.com>
Thu, 24 Mar 2016 01:41:02 +0000 (09:41 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 5 Apr 2016 01:53:33 +0000 (03:53 +0200)
commit0461f34e16b39b083f289d27d2355df9d5ba1420
tree9968d659849088735bb80698fc748301ce18d167
parenta8d1e1c063b0b1c91a9415f5cb09e37a75bce809
Utilities: Fix missing parentheses in ACPI_GET_BITS()/ACPI_SET_BITS()

Some compilers require parentheses to be enforced in the macro definition,
so that the macro caller side can be simpler.

This patch fixes this kind of macro issue in
ACPI_SET_BITS()/ACPI_GET_BITS(). Lv Zheng.

Link: https://bugs.acpica.org/show_bug.cgi?id=1268
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/acmacros.h