summaryrefslogtreecommitdiffstats
path: root/drivers/pmdomain
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2024-09-04 16:30:45 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2024-09-13 13:34:52 +0200
commit692c20c4d075bd452acfbbc68200fc226c7c9496 (patch)
tree4daca205eb5ea13a1c14f45feb6f349b10e2d9bd /drivers/pmdomain
parentpmdomain: rockchip: Add gating masks for rk3576 (diff)
downloadlinux-692c20c4d075bd452acfbbc68200fc226c7c9496.tar.xz
linux-692c20c4d075bd452acfbbc68200fc226c7c9496.zip
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: 45fbc464b047 ("PM: domains: Add "performance" column to debug summary") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/ae61eb363621b981edde878e1e74d701702a579f.1725459707.git.geert+renesas@glider.be Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/pmdomain')
-rw-r--r--drivers/pmdomain/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pmdomain/core.c b/drivers/pmdomain/core.c
index 2731b285e017..fa9d538045fb 100644
--- a/drivers/pmdomain/core.c
+++ b/drivers/pmdomain/core.c
@@ -3271,7 +3271,7 @@ static int genpd_summary_one(struct seq_file *s,
else
snprintf(state, sizeof(state), "%s",
status_lookup[genpd->status]);
- seq_printf(s, "%-30s %-50s %u", genpd->name, state, genpd->performance_state);
+ seq_printf(s, "%-30s %-49s %u", genpd->name, state, genpd->performance_state);
/*
* Modifications on the list require holding locks on both