Skip to content

Commit 692c20c

Browse files
geertustorulf
authored andcommitted
pmdomain: core: Harden inter-column space in debug summary
The inter-column space in the debug summary is two spaces. However, in one case, the extra space is handled implicitly in a field width specifier. Make inter-column space explicit to ease future maintenance. Fixes: 45fbc46 ("PM: domains: Add "performance" column to debug summary") Signed-off-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/ae61eb363621b981edde878e1e74d701702a579f.1725459707.git.geert+renesas@glider.be Signed-off-by: Ulf Hansson <[email protected]>
1 parent d030e94 commit 692c20c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pmdomain/core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3271,7 +3271,7 @@ static int genpd_summary_one(struct seq_file *s,
32713271
else
32723272
snprintf(state, sizeof(state), "%s",
32733273
status_lookup[genpd->status]);
3274-
seq_printf(s, "%-30s %-50s %u", genpd->name, state, genpd->performance_state);
3274+
seq_printf(s, "%-30s %-49s %u", genpd->name, state, genpd->performance_state);
32753275

32763276
/*
32773277
* Modifications on the list require holding locks on both

0 commit comments

Comments
 (0)