[PATCH] openrisc: Fix syntax errors in comments

Xiang wangx posted 1 patch 3 years, 10 months ago
arch/openrisc/kernel/unwinder.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] openrisc: Fix syntax errors in comments
Posted by Xiang wangx 3 years, 10 months ago
Delete the redundant word 'the'.

Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>
---
 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
Re: [PATCH] openrisc: Fix syntax errors in comments
Posted by Stafford Horne 3 years, 10 months ago
On Thu, Jun 02, 2022 at 04:53:50PM +0800, Xiang wangx wrote:
> Delete the redundant word 'the'.
> 
> Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>
> ---
>  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