diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2025-06-12 23:11:26 +0300 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2025-06-26 21:08:13 +0200 |
| commit | b32a54336595d52408b9f0678b5e308dca2d1f40 (patch) | |
| tree | 02a2027f19f536c139356d2ca893309cb1fe02f7 /drivers/acpi/proc.c | |
| parent | bb4049c9fe94f6b257cf4c211b6df398487da6bf (diff) | |
ACPI: proc: Use correct format specifier and drop casting
The format string in acpi_system_wakeup_device_seq_show() uses incorrect
specifier along with explicit (unneeded) casting. Drop the latter and
update the former.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20250612201321.3536493-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/proc.c')
| -rw-r--r-- | drivers/acpi/proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/proc.c b/drivers/acpi/proc.c index 4322f2da6d10..48215ba09193 100644 --- a/drivers/acpi/proc.c +++ b/drivers/acpi/proc.c @@ -30,9 +30,9 @@ acpi_system_wakeup_device_seq_show(struct seq_file *seq, void *offset) if (!dev->wakeup.flags.valid) continue; - seq_printf(seq, "%s\t S%d\t", + seq_printf(seq, "%s\t S%llu\t", dev->pnp.bus_id, - (u32) dev->wakeup.sleep_state); + dev->wakeup.sleep_state); mutex_lock(&dev->physical_node_lock); |