2022-08-27 16:05:06

by Shaomin Deng

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

Delete the unneeded word "that" in comments.

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

diff --git a/arch/mips/bcm47xx/prom.c b/arch/mips/bcm47xx/prom.c
index 0a63721d0fbf..bcb9c90ea041 100644
--- a/arch/mips/bcm47xx/prom.c
+++ b/arch/mips/bcm47xx/prom.c
@@ -69,7 +69,7 @@ static __init void prom_init_mem(void)
* call them at the beginning of the boot.
*
* BCM47XX uses 128MB for addressing the ram, if the system contains
- * less that that amount of ram it remaps the ram more often into the
+ * less that amount of ram it remaps the ram more often into the
* available space.
*/

--
2.35.1


2022-08-27 21:28:03

by Rafał Miłecki

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

On 27.08.2022 17:53, Shaomin Deng wrote:
> Delete the unneeded word "that" in comments.
>
> Signed-off-by: Shaomin Deng <[email protected]>
> ---
> arch/mips/bcm47xx/prom.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/mips/bcm47xx/prom.c b/arch/mips/bcm47xx/prom.c
> index 0a63721d0fbf..bcb9c90ea041 100644
> --- a/arch/mips/bcm47xx/prom.c
> +++ b/arch/mips/bcm47xx/prom.c
> @@ -69,7 +69,7 @@ static __init void prom_init_mem(void)
> * call them at the beginning of the boot.
> *
> * BCM47XX uses 128MB for addressing the ram, if the system contains
> - * less that that amount of ram it remaps the ram more often into the
> + * less that amount of ram it remaps the ram more often into the
> * available space.
> */

Are you sure you based your work on the latest mips tree? Please double
check that.

Also please read that sentence after your patch. Hint: that extra "that"
wasn't actually a simple duplication.

Finally: this isn't BCM77xx patch as stated in your subject.