[PATCH] init: Fix comment typo

Jason Wang posted 1 patch 3 years, 9 months ago
drivers/base/init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] init: Fix comment typo
Posted by Jason Wang 3 years, 9 months ago
The double `core' is duplicated in line 33, remove one.

Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
---
 drivers/base/init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/base/init.c b/drivers/base/init.c
index 397eb9880cec..ae75ed7bbc41 100644
--- a/drivers/base/init.c
+++ b/drivers/base/init.c
@@ -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();
-- 
2.35.1
Re: [PATCH] init: Fix comment typo
Posted by Greg KH 3 years, 8 months ago
On Fri, Jul 15, 2022 at 01:10:33PM +0800, Jason Wang wrote:
> The double `core' is duplicated in line 33, remove one.
> 
> Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
> ---
>  drivers/base/init.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/base/init.c b/drivers/base/init.c
> index 397eb9880cec..ae75ed7bbc41 100644
> --- a/drivers/base/init.c
> +++ b/drivers/base/init.c
> @@ -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