Skip to contentSkip to conversation

base:cacheinfo - Fix for typos in comment and pr_warn log message

PATCH In review Shailendra Verma 2 participants 2 messages May 25, 2015 – Jun 1, 2015 Driver core

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 base:cacheinfo - Fix for typos in comment and pr_warn log message

---
 drivers/base/cacheinfo.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/base/cacheinfo.c +2 -2
index 9c2ba1c..c75bda8 100644
@@ -191,12 +191,12 @@ static int detect_cache_attributes(unsigned int cpu)
 	if (ret)
 		goto free_ci;
 	/*
-	 * For systems using DT for cache hierarcy, of_node and shared_cpu_map
+	 * For systems using DT for cache hierarchy, of_node and shared_cpu_map
 	 * will be set up here only if they are not populated already
 	 */
 	ret = cache_shared_cpu_map_setup(cpu);
 	if (ret) {
-		pr_warn("Unable to detect cache hierarcy from DT for CPU %d\n",
+		pr_warn("Unable to detect cache hierarchy from DT for CPU %d\n",
 			cpu);
 		goto free_ci;
 	}
Signature · 1 line
1.7.9.5