2022-08-27 15:48:50

by Shaomin Deng

[permalink] [raw]
Subject: [PATCH] MIPS: Fix comments typo

Remove the repeated word "as" in comments.

Signed-off-by: Shaomin Deng <[email protected]>
---
arch/mips/cavium-octeon/setup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/cavium-octeon/setup.c b/arch/mips/cavium-octeon/setup.c
index 00bf269763cf..9ad12fb6a9a6 100644
--- a/arch/mips/cavium-octeon/setup.c
+++ b/arch/mips/cavium-octeon/setup.c
@@ -527,7 +527,7 @@ void octeon_user_io_init(void)
/* Get the current settings for CP0_CVMMEMCTL_REG */
cvmmemctl.u64 = read_c0_cvmmemctl();
/* R/W If set, marked write-buffer entries time out the same
- * as as other entries; if clear, marked write-buffer entries
+ * as other entries; if clear, marked write-buffer entries
* use the maximum timeout. */
cvmmemctl.s.dismarkwblongto = 1;
/* R/W If set, a merged store does not clear the write-buffer
--
2.35.1


2022-09-12 14:06:52

by Thomas Bogendoerfer

[permalink] [raw]
Subject: Re: [PATCH] MIPS: Fix comments typo

On Sat, Aug 27, 2022 at 11:46:40AM -0400, Shaomin Deng wrote:
> Remove the repeated word "as" in comments.
>
> Signed-off-by: Shaomin Deng <[email protected]>
> ---
> arch/mips/cavium-octeon/setup.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/mips/cavium-octeon/setup.c b/arch/mips/cavium-octeon/setup.c
> index 00bf269763cf..9ad12fb6a9a6 100644
> --- a/arch/mips/cavium-octeon/setup.c
> +++ b/arch/mips/cavium-octeon/setup.c
> @@ -527,7 +527,7 @@ void octeon_user_io_init(void)
> /* Get the current settings for CP0_CVMMEMCTL_REG */
> cvmmemctl.u64 = read_c0_cvmmemctl();
> /* R/W If set, marked write-buffer entries time out the same
> - * as as other entries; if clear, marked write-buffer entries
> + * as other entries; if clear, marked write-buffer entries
> * use the maximum timeout. */
> cvmmemctl.s.dismarkwblongto = 1;
> /* R/W If set, a merged store does not clear the write-buffer
> --
> 2.35.1

applied to mips-next.

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]