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>
This commit is contained in:
committed by
Rafael J. Wysocki
parent
bb4049c9fe
commit
b32a543365
+2
-2
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user