[PATCH] ARM: vfp: Fix the cacography in vfpmodule.c

Luo Yifan posted 1 patch 1 month ago
There is a newer version of this series
arch/arm/vfp/vfpmodule.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] ARM: vfp: Fix the cacography in vfpmodule.c
Posted by Luo Yifan 1 month ago
The word 'swtich' is wrong, so fix it.

Signed-off-by: Luo Yifan <luoyifan@cmss.chinamobile.com>
---
 arch/arm/vfp/vfpmodule.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/vfp/vfpmodule.c b/arch/arm/vfp/vfpmodule.c
index b68efe643..63f053d6f 100644
--- a/arch/arm/vfp/vfpmodule.c
+++ b/arch/arm/vfp/vfpmodule.c
@@ -140,7 +140,7 @@ static void vfp_thread_copy(struct thread_info *thread)
 /*
  * When this function is called with the following 'cmd's, the following
  * is true while this function is being run:
- *  THREAD_NOFTIFY_SWTICH:
+ *  THREAD_NOFTIFY_SWITCH:
  *   - the previously running thread will not be scheduled onto another CPU.
  *   - the next thread to be run (v) will not be running on another CPU.
  *   - thread->cpu is the local CPU number
-- 
2.27.0
[PATCH] ARM: vfp: Fix the cacography in vfpmodule.c
Posted by Luo Yifan 1 week, 6 days ago
The word 'swtich' is wrong, so fix it.

Signed-off-by: Luo Yifan <luoyifan@cmss.chinamobile.com>
---
 arch/arm/vfp/vfpmodule.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/vfp/vfpmodule.c b/arch/arm/vfp/vfpmodule.c
index b68efe643..63f053d6f 100644
--- a/arch/arm/vfp/vfpmodule.c
+++ b/arch/arm/vfp/vfpmodule.c
@@ -140,7 +140,7 @@ static void vfp_thread_copy(struct thread_info *thread)
 /*
  * When this function is called with the following 'cmd's, the following
  * is true while this function is being run:
- *  THREAD_NOFTIFY_SWTICH:
+ *  THREAD_NOFTIFY_SWITCH:
  *   - the previously running thread will not be scheduled onto another CPU.
  *   - the next thread to be run (v) will not be running on another CPU.
  *   - thread->cpu is the local CPU number
-- 
2.27.0
Re: [PATCH] ARM: vfp: Fix the cacography in vfpmodule.c
Posted by Linus Walleij 1 week, 5 days ago
On Tue, Nov 12, 2024 at 11:08 AM Luo Yifan
<luoyifan@cmss.chinamobile.com> wrote:

> The word 'swtich' is wrong, so fix it.

That's not all that is wrong with this string...

> Signed-off-by: Luo Yifan <luoyifan@cmss.chinamobile.com>
(...)
> - *  THREAD_NOFTIFY_SWTICH:
> + *  THREAD_NOFTIFY_SWITCH:

THREAD_NOTIFY_SWITCH

Yours,
Linus Walleij
[PATCH v2] ARM: vfp: Fix typographical errors in vfpmodule.c
Posted by Luo Yifan 1 week, 4 days ago
Correct the misspellings of "noftify" (should be "notify") and "swtich"
(should be "switch").

Signed-off-by: Luo Yifan <luoyifan@cmss.chinamobile.com>
---
 arch/arm/vfp/vfpmodule.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/vfp/vfpmodule.c b/arch/arm/vfp/vfpmodule.c
index b68efe643..409165077 100644
--- a/arch/arm/vfp/vfpmodule.c
+++ b/arch/arm/vfp/vfpmodule.c
@@ -140,7 +140,7 @@ static void vfp_thread_copy(struct thread_info *thread)
 /*
  * When this function is called with the following 'cmd's, the following
  * is true while this function is being run:
- *  THREAD_NOFTIFY_SWTICH:
+ *  THREAD_NOTIFY_SWITCH:
  *   - the previously running thread will not be scheduled onto another CPU.
  *   - the next thread to be run (v) will not be running on another CPU.
  *   - thread->cpu is the local CPU number
-- 
2.27.0
Re: [PATCH v2] ARM: vfp: Fix typographical errors in vfpmodule.c
Posted by Linus Walleij 1 week, 4 days ago
On Thu, Nov 14, 2024 at 2:20 AM Luo Yifan <luoyifan@cmss.chinamobile.com> wrote:

> Correct the misspellings of "noftify" (should be "notify") and "swtich"
> (should be "switch").
>
> Signed-off-by: Luo Yifan <luoyifan@cmss.chinamobile.com>

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Please put this into Russell's patch tracker.

Yours,
Linus Walleij