2022-07-18 14:16:51

by Jason Wang

[permalink] [raw]
Subject: [PATCH] init: Fix comment typo

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

Signed-off-by: Jason Wang <[email protected]>
---
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


2022-07-28 15:09:29

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH] init: Fix comment typo

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 <[email protected]>
> ---
> 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