2022-08-31 07:10:39

by Jilin Yuan

[permalink] [raw]
Subject: [PATCH] ARM: mm: fix repeated words in comments

Delete the redundant word 'there'.
Delete the redundant word 'as'.

Signed-off-by: Jilin Yuan <[email protected]>
---
arch/arm/mm/cache-b15-rac.c | 2 +-
arch/arm/mm/mmu.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mm/cache-b15-rac.c b/arch/arm/mm/cache-b15-rac.c
index 9c1172f26885..b7cb31bda8ab 100644
--- a/arch/arm/mm/cache-b15-rac.c
+++ b/arch/arm/mm/cache-b15-rac.c
@@ -203,7 +203,7 @@ static struct notifier_block b15_rac_reboot_nb = {
* set RAC_ENABLED
* However, there is no hotplug activity based on the Linux booting procedure.
*
- * Since we have to disable RAC for all cores, we keep RAC on as long as as
+ * Since we have to disable RAC for all cores, we keep RAC on as long as
* possible (disable it as late as possible) to gain the cache benefit.
*
* Thus, dying/dead states are chosen here
diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c
index a49f0b9c0f75..1207d431e1b4 100644
--- a/arch/arm/mm/mmu.c
+++ b/arch/arm/mm/mmu.c
@@ -1301,7 +1301,7 @@ static __init void prepare_page_table(void)
/*
* Skip over the KASan shadow area. KASAN_SHADOW_END is sometimes
* equal to MODULES_VADDR and then we exit the pmd clearing. If we
- * are using a thumb-compiled kernel, there there will be 8MB more
+ * are using a thumb-compiled kernel, there will be 8MB more
* to clear as KASan always offset to 16 MB below MODULES_VADDR.
*/
for (addr = KASAN_SHADOW_END; addr < MODULES_VADDR; addr += PMD_SIZE)
--
2.36.1


2022-11-09 18:50:13

by Florian Fainelli

[permalink] [raw]
Subject: Re: [PATCH] ARM: mm: fix repeated words in comments

On 8/30/22 23:27, Jilin Yuan wrote:
> Delete the redundant word 'there'.
> Delete the redundant word 'as'.
>
> Signed-off-by: Jilin Yuan <[email protected]>

Acked-by: Florian Fainelli <[email protected]>

Can you toss that patch into RMK's patch tracker:

https://www.armlinux.org.uk/developer/patches/
--
Florian