2022-07-21 07:18:24

by Slark Xiao

[permalink] [raw]
Subject: [PATCH v2] microblaze: Fix some typos in comment

Replace 'the the' with 'like the' in the comment.
Replace 'an' with 'a'.

Signed-off-by: Slark Xiao <[email protected]>
---
arch/microblaze/kernel/entry.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/microblaze/kernel/entry.S b/arch/microblaze/kernel/entry.S
index b179f8f6d287..d875a0c01032 100644
--- a/arch/microblaze/kernel/entry.S
+++ b/arch/microblaze/kernel/entry.S
@@ -456,7 +456,7 @@ TRAP_return: /* Make global symbol for debugging */


/* This the initial entry point for a new child thread, with an appropriate
- stack in place that makes it look the the child is in the middle of an
+ stack in place that makes it look like the child is in the middle of a
syscall. This function is actually `returned to' from switch_thread
(copy_thread makes ret_from_fork the return address in each new thread's
saved context). */
--
2.25.1


2022-07-29 11:09:22

by Michal Simek

[permalink] [raw]
Subject: Re: [PATCH v2] microblaze: Fix some typos in comment



On 7/21/22 09:15, Slark Xiao wrote:
> Replace 'the the' with 'like the' in the comment.
> Replace 'an' with 'a'.
>
> Signed-off-by: Slark Xiao <[email protected]>
> ---
> arch/microblaze/kernel/entry.S | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/microblaze/kernel/entry.S b/arch/microblaze/kernel/entry.S
> index b179f8f6d287..d875a0c01032 100644
> --- a/arch/microblaze/kernel/entry.S
> +++ b/arch/microblaze/kernel/entry.S
> @@ -456,7 +456,7 @@ TRAP_return: /* Make global symbol for debugging */
>
>
> /* This the initial entry point for a new child thread, with an appropriate
> - stack in place that makes it look the the child is in the middle of an
> + stack in place that makes it look like the child is in the middle of a
> syscall. This function is actually `returned to' from switch_thread
> (copy_thread makes ret_from_fork the return address in each new thread's
> saved context). */

Applied.
M

--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: http://www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs