Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 76bee4c0 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "cpuidle: lpm-levels: Fix snprintf string format"

parents 0c93994e 46db0dcd
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1464,7 +1464,8 @@ static int cluster_cpuidle_register(struct lpm_cluster *cl)
			struct lpm_cpu_level *cpu_level = &lpm_cpu->levels[i];

			snprintf(st->name, CPUIDLE_NAME_LEN, "C%u\n", i);
			snprintf(st->desc, CPUIDLE_DESC_LEN, cpu_level->name);
			snprintf(st->desc, CPUIDLE_DESC_LEN, "%s",
					cpu_level->name);
			st->flags = 0;
			st->exit_latency = cpu_level->pwr.latency_us;
			st->power_usage = cpu_level->pwr.ss_power;