forked fromtorvalds/linux
- Notifications
You must be signed in to change notification settings - Fork1
Commit3522f86
ACPI: EC: Fix debugfs_create_*() usage
acpi_ec.gpe is "unsigned long", hence treating it as "u32" would exposethe wrong half on big-endian 64-bit systems. Fix this by changing itstype to "u32" and removing the cast, as all other code already uses u32or sometimes even only u8.Fixes:1195a09 (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>1 parent30a7acd commit3522f86
3 files changed
+3
-3
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1516 | 1516 |
| |
1517 | 1517 |
| |
1518 | 1518 |
| |
1519 |
| - | |
| 1519 | + | |
1520 | 1520 |
| |
1521 | 1521 |
| |
1522 | 1522 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
128 | 128 |
| |
129 | 129 |
| |
130 | 130 |
| |
131 |
| - | |
| 131 | + | |
132 | 132 |
| |
133 | 133 |
| |
134 | 134 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
159 | 159 |
| |
160 | 160 |
| |
161 | 161 |
| |
162 |
| - | |
| 162 | + | |
163 | 163 |
| |
164 | 164 |
| |
165 | 165 |
| |
|
0 commit comments
Comments
(0)