Skip to contentSkip to conversation

init: Fix comment typo

PATCH In review Jason Wang 2 participants 2 messages Jul 18, 2022 – Jul 28, 2022 Driver core

lore
Share & tools
lore

Jason Wang

author
#0 lore raw

PATCH 1/1 init: Fix comment typo

The double `core' is duplicated in line 33, remove one.

---
 drivers/base/init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/base/init.c +1 -1
index 397eb9880cec..ae75ed7bbc41 100644
@@ -30,7 +30,7 @@ void __init driver_init(void)
 	hypervisor_init();
 
 	/* These are also core pieces, but must come after the
-	 * core core pieces.
+	 * core pieces.
 	 */
 	of_core_init();
 	platform_bus_init();
Signature · 1 line
2.35.1
maintainer
#1 lore raw
Quoted 12 lines · Jason Wang

The double `core' is duplicated in line 33, remove one.

---
 drivers/base/init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/base/init.c +0 -0
index 397eb9880cec..ae75ed7bbc41 100644

drivers/base/init.c void __init driver_init(void) · line 33

Quoted 5 lines
drivers/base/init.c +1 -1
@@ -30,7 +30,7 @@ void __init driver_init(void)
 	hypervisor_init();
 
 	/* These are also core pieces, but must come after the
-	 * core core pieces.
+	 * core pieces.

Nope, the original is correct here, please read it again.

greg k-h