Skip to contentSkip to conversation

cpuidle: governors: Fixes a typo in a comment

PATCH Applied Atul Kumar Pant 2 participants 2 messages Jun 16, 2024 – Jun 21, 2024 CPU idle time management framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cpuidle: governors: Fixes a typo in a comment

---
 drivers/cpuidle/governors/teo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/cpuidle/governors/teo.c +1 -1
index 7244f71c5..95831d2a5 100644
@@ -592,7 +592,7 @@ static int teo_select(struct cpuidle_driver *drv, struct cpuidle_device *dev,
 	cpu_data->sleep_length_ns = duration_ns;
 
 	/*
-	 * If the closest expected timer is before the terget residency of the
+	 * If the closest expected timer is before the target residency of the
 	 * candidate state, a shallower one needs to be found.
 	 */
 	if (drv->states[idx].target_residency_ns > duration_ns) {
Signature · 1 line
2.25.1
maintainer Applied
#1 lore raw
Quoted 11 lines · Atul Kumar Pant
---
 drivers/cpuidle/governors/teo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/cpuidle/governors/teo.c +0 -0
index 7244f71c5..95831d2a5 100644

drivers/cpuidle/governors/teo.c static int teo_select(struct cpuidle_driver *drv, struct cpuidle_device *dev,

Quoted 9 lines
drivers/cpuidle/governors/teo.c +1 -2
@@ -592,7 +592,7 @@ static int teo_select(struct cpuidle_driver *drv, struct cpuidle_device *dev,
        cpu_data->sleep_length_ns = duration_ns;
 
        /*
-        * If the closest expected timer is before the terget residency of the
+        * If the closest expected timer is before the target residency of the
         * candidate state, a shallower one needs to be found.
         */
        if (drv->states[idx].target_residency_ns > duration_ns) {
--

Applied as 6.11 material (with a changelog), thanks!