2024-02-08 11:56:18

by Lukasz Luba

[permalink] [raw]
Subject: [PATCH v8 01/23] PM: EM: Add missing newline for the message log

Fix missing newline for the string long in the error code path.

Reviewed-by: Hongyan Xia <[email protected]>
Reviewed-by: Dietmar Eggemann <[email protected]>
Tested-by: Dietmar Eggemann <[email protected]>
Signed-off-by: Lukasz Luba <[email protected]>
---
kernel/power/energy_model.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/power/energy_model.c b/kernel/power/energy_model.c
index 7b44f5b89fa1..8b9dd4a39f63 100644
--- a/kernel/power/energy_model.c
+++ b/kernel/power/energy_model.c
@@ -250,7 +250,7 @@ static void em_cpufreq_update_efficiencies(struct device *dev)

policy = cpufreq_cpu_get(cpumask_first(em_span_cpus(pd)));
if (!policy) {
- dev_warn(dev, "EM: Access to CPUFreq policy failed");
+ dev_warn(dev, "EM: Access to CPUFreq policy failed\n");
return;
}

--
2.25.1