diff options
author | Yunfeng Ye <yeyunfeng@huawei.com> | 2019-11-14 15:16:24 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-11-19 09:40:16 +0100 |
commit | a7583e72a5f22470d3e6fd3b6ba912892242339f (patch) | |
tree | 144be8ec3e2c88ca06bcd4d199bad21ca8c36df9 /fs/qnx6/README | |
parent | af42d3466bdc8f39806b26f593604fdc54140bcb (diff) | |
download | linux-a7583e72a5f22470d3e6fd3b6ba912892242339f.tar.gz linux-a7583e72a5f22470d3e6fd3b6ba912892242339f.tar.bz2 linux-a7583e72a5f22470d3e6fd3b6ba912892242339f.zip |
ACPI: sysfs: Change ACPI_MASKABLE_GPE_MAX to 0x100
The commit 0f27cff8597d ("ACPI: sysfs: Make ACPI GPE mask kernel
parameter cover all GPEs") says:
"Use a bitmap of size 0xFF instead of a u64 for the GPE mask so 256
GPEs can be masked"
But the masking of GPE 0xFF it not supported and the check condition
"gpe > ACPI_MASKABLE_GPE_MAX" is not valid because the type of gpe is
u8.
So modify the macro ACPI_MASKABLE_GPE_MAX to 0x100, and drop the "gpe >
ACPI_MASKABLE_GPE_MAX" check. In addition, update the docs "Format" for
acpi_mask_gpe parameter.
Fixes: 0f27cff8597d ("ACPI: sysfs: Make ACPI GPE mask kernel parameter cover all GPEs")
Signed-off-by: Yunfeng Ye <yeyunfeng@huawei.com>
[ rjw: Use u16 as gpe data type in acpi_gpe_apply_masked_gpes() ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'fs/qnx6/README')
0 files changed, 0 insertions, 0 deletions