[PATCH] mm: Fix comment typo

Jason Wang posted 1 patch 3 years, 9 months ago
arch/parisc/mm/fault.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] mm: Fix comment typo
Posted by Jason Wang 3 years, 9 months ago
The double `the' is duplicated in line 41, remove one.

Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
---
 arch/parisc/mm/fault.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/parisc/mm/fault.c b/arch/parisc/mm/fault.c
index 9ad80d4d3389..869204e97ec9 100644
--- a/arch/parisc/mm/fault.c
+++ b/arch/parisc/mm/fault.c
@@ -38,7 +38,7 @@ int show_unhandled_signals = 1;
 /*
  * parisc_acctyp(unsigned int inst) --
  *    Given a PA-RISC memory access instruction, determine if the
- *    the instruction would perform a memory read or memory write
+ *    instruction would perform a memory read or memory write
  *    operation.
  *
  *    This function assumes that the given instruction is a memory access
-- 
2.35.1
Re: [PATCH] mm: Fix comment typo
Posted by Helge Deller 3 years, 9 months ago
On 7/15/22 06:49, Jason Wang wrote:
> The double `the' is duplicated in line 41, remove one.
>
> Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
> ---
>  arch/parisc/mm/fault.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

applied to parisc tree.

Thanks!
Helge

>
> diff --git a/arch/parisc/mm/fault.c b/arch/parisc/mm/fault.c
> index 9ad80d4d3389..869204e97ec9 100644
> --- a/arch/parisc/mm/fault.c
> +++ b/arch/parisc/mm/fault.c
> @@ -38,7 +38,7 @@ int show_unhandled_signals = 1;
>  /*
>   * parisc_acctyp(unsigned int inst) --
>   *    Given a PA-RISC memory access instruction, determine if the
> - *    the instruction would perform a memory read or memory write
> + *    instruction would perform a memory read or memory write
>   *    operation.
>   *
>   *    This function assumes that the given instruction is a memory access