2023-09-25 08:17:48

by Lukasz Luba

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

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

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