2022-07-18 13:01:34

by Jason Wang

[permalink] [raw]
Subject: [PATCH] mm: Fix comment typo

The double `the' is duplicated in line 41, remove one.

Signed-off-by: Jason Wang <[email protected]>
---
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


2022-07-18 16:03:17

by Helge Deller

[permalink] [raw]
Subject: Re: [PATCH] mm: Fix comment typo

On 7/15/22 06:49, Jason Wang wrote:
> The double `the' is duplicated in line 41, remove one.
>
> Signed-off-by: Jason Wang <[email protected]>
> ---
> 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