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

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

Merge "msm: cpuidle: use format string in snprintf"

parents 36f7b9f3 275642d1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -100,8 +100,8 @@ static void msm_cpuidle_set_states(void)
		cstate = &msm_cstates[i];

		state = &msm_cpuidle_driver.states[state_count];
		snprintf(state->name, CPUIDLE_NAME_LEN, cstate->name);
		snprintf(state->desc, CPUIDLE_DESC_LEN, cstate->desc);
		snprintf(state->name, CPUIDLE_NAME_LEN, "%s", cstate->name);
		snprintf(state->desc, CPUIDLE_DESC_LEN, "%s", cstate->desc);
		state->flags = 0;
		state->exit_latency = 0;
		state->power_usage = 0;