Skip to content

Commit b32a543

Browse files
andy-shevrafaeljw
authored andcommitted
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>
1 parent bb4049c commit b32a543

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/acpi/proc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ acpi_system_wakeup_device_seq_show(struct seq_file *seq, void *offset)
3030
if (!dev->wakeup.flags.valid)
3131
continue;
3232

33-
seq_printf(seq, "%s\t S%d\t",
33+
seq_printf(seq, "%s\t S%llu\t",
3434
dev->pnp.bus_id,
35-
(u32) dev->wakeup.sleep_state);
35+
dev->wakeup.sleep_state);
3636

3737
mutex_lock(&dev->physical_node_lock);
3838

0 commit comments

Comments
 (0)