2022-06-02 18:32:18

by Xiang wangx

[permalink] [raw]
Subject: [PATCH] openrisc: Fix syntax errors in comments

Delete the redundant word 'the'.

Signed-off-by: Xiang wangx <[email protected]>
---
arch/openrisc/kernel/unwinder.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/openrisc/kernel/unwinder.c b/arch/openrisc/kernel/unwinder.c
index 8ae15c2c1845..c6ad6f867a6a 100644
--- a/arch/openrisc/kernel/unwinder.c
+++ b/arch/openrisc/kernel/unwinder.c
@@ -25,7 +25,7 @@ struct or1k_frameinfo {
/*
* Verify a frameinfo structure. The return address should be a valid text
* address. The frame pointer may be null if its the last frame, otherwise
- * the frame pointer should point to a location in the stack after the the
+ * the frame pointer should point to a location in the stack after the
* top of the next frame up.
*/
static inline int or1k_frameinfo_valid(struct or1k_frameinfo *frameinfo)
--
2.36.1



2022-06-28 00:41:46

by Stafford Horne

[permalink] [raw]
Subject: Re: [PATCH] openrisc: Fix syntax errors in comments

On Thu, Jun 02, 2022 at 04:53:50PM +0800, Xiang wangx wrote:
> Delete the redundant word 'the'.
>
> Signed-off-by: Xiang wangx <[email protected]>
> ---
> arch/openrisc/kernel/unwinder.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/openrisc/kernel/unwinder.c b/arch/openrisc/kernel/unwinder.c
> index 8ae15c2c1845..c6ad6f867a6a 100644
> --- a/arch/openrisc/kernel/unwinder.c
> +++ b/arch/openrisc/kernel/unwinder.c
> @@ -25,7 +25,7 @@ struct or1k_frameinfo {
> /*
> * Verify a frameinfo structure. The return address should be a valid text
> * address. The frame pointer may be null if its the last frame, otherwise
> - * the frame pointer should point to a location in the stack after the the
> + * the frame pointer should point to a location in the stack after the
> * top of the next frame up.
> */
> static inline int or1k_frameinfo_valid(struct or1k_frameinfo *frameinfo)
> --
> 2.36.1

This looks good to me, I will queue with 5.19 fixes.

-Stafford