2018-02-06 16:13:41

by Kangmin Park

[permalink] [raw]
Subject: [PATCH] Fix a misspelling in kernel/cpu.c

---
kernel/cpu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/cpu.c b/kernel/cpu.c
index 53f7dc6..9a1ee53 100644
--- a/kernel/cpu.c
+++ b/kernel/cpu.c
@@ -1336,7 +1336,7 @@ static struct cpuhp_step cpuhp_ap_states[] = {
.teardown.single = smpcfd_dying_cpu,
},
/* Entry state on starting. Interrupts enabled from here on. Transient
- * state for synchronsization */
+ * state for synchronization */
[CPUHP_AP_ONLINE] = {
.name = "ap:online",
},
--
2.7.4



2018-02-13 13:07:38

by Ingo Molnar

[permalink] [raw]
Subject: Re: [PATCH] Fix a misspelling in kernel/cpu.c


* Kangmin Park <[email protected]> wrote:

> ---
> kernel/cpu.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/cpu.c b/kernel/cpu.c
> index 53f7dc6..9a1ee53 100644
> --- a/kernel/cpu.c
> +++ b/kernel/cpu.c
> @@ -1336,7 +1336,7 @@ static struct cpuhp_step cpuhp_ap_states[] = {
> .teardown.single = smpcfd_dying_cpu,
> },
> /* Entry state on starting. Interrupts enabled from here on. Transient
> - * state for synchronsization */
> + * state for synchronization */
> [CPUHP_AP_ONLINE] = {
> .name = "ap:online",
> },

The comment style should be fixed too to match the rest of the kernel, plus a
Signed-off-by is required as well.

Thanks,

Ingo