]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ACPICA: Remove spurious precision from format used to dump parse trees
authorDavid Laight <david.laight.linux@gmail.com>
Wed, 27 May 2026 18:07:08 +0000 (20:07 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 27 May 2026 18:18:46 +0000 (20:18 +0200)
commitfe64bc7954b57df49cec0eee21e8f5960d9b8713
tree29494b06248c08ec39b7bd9a5d7921aa71af4e69
parent485829e6999b7909f50761a1c708660304edc945
ACPICA: Remove spurious precision from format used to dump parse trees

The debug code in acpi_ps_delete_parse_tree() uses ("%*.s", level * 4, " ")
to indent traces.

POSIX requires the empty precision be treated as zero, but the kernel treats
is as 'no precision specified'.

Change to ("%*s", level * 4, "") since there is additional whitespace and no
reason to indent by one space when level is zero.

Link: https://github.com/acpica/acpica/commit/a87038098af6
Signed-off-by: David Laight <david.laight.linux@gmail.com>
Signed-off-by: Pawel Chmielewski <pawel.chmielewski@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/2914242.BEx9A2HvPv@rafael.j.wysocki
drivers/acpi/acpica/pswalk.c