diff options
author | 2018-01-02 16:26:31 +0100 | |
---|---|---|
committer | 2018-01-04 13:54:51 +0100 | |
commit | 3522f867c13b63cf62acdf1b8ca5664c549a716a (patch) | |
tree | 21c4cea2dd889dbfdc94b5ce7414d73bd98b44a5 /drivers/s390/block/dasd_3990_erp.c | |
parent | Linux 4.15-rc6 (diff) | |
download | linux-dev-3522f867c13b63cf62acdf1b8ca5664c549a716a.tar.xz linux-dev-3522f867c13b63cf62acdf1b8ca5664c549a716a.zip |
ACPI: EC: Fix debugfs_create_*() usage
acpi_ec.gpe is "unsigned long", hence treating it as "u32" would expose
the wrong half on big-endian 64-bit systems. Fix this by changing its
type to "u32" and removing the cast, as all other code already uses u32
or sometimes even only u8.
Fixes: 1195a098168fcacf (ACPI: Provide /sys/kernel/debug/ec/...)
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/s390/block/dasd_3990_erp.c')
0 files changed, 0 insertions, 0 deletions