diff mbox series

ARC: Fix syntax errors in comments

Message ID 20220603130141.6516-1-wangxiang@cdjrlc.com
State New
Headers show
Series ARC: Fix syntax errors in comments | expand

Commit Message

Xiang wangx June 3, 2022, 1:01 p.m. UTC
Delete the redundant word 'to'.
Delete the redundant word 'since'.

Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>
---
 arch/arc/mm/cache.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Vineet Gupta June 11, 2022, 12:17 a.m. UTC | #1
On 6/3/22 06:01, Xiang wangx wrote:
> Delete the redundant word 'to'.
> Delete the redundant word 'since'.
>
> Signed-off-by: Xiang wangx<wangxiang@cdjrlc.com>


Thx for the fix. Added to for-curr

-Vineet
diff mbox series

Patch

diff --git a/arch/arc/mm/cache.c b/arch/arc/mm/cache.c
index 5446967ea98d..55c6de138eae 100644
--- a/arch/arc/mm/cache.c
+++ b/arch/arc/mm/cache.c
@@ -750,7 +750,7 @@  static inline void arc_slc_enable(void)
  *  -In SMP, if hardware caches are coherent
  *
  * There's a corollary case, where kernel READs from a userspace mapped page.
- * If the U-mapping is not congruent to to K-mapping, former needs flushing.
+ * If the U-mapping is not congruent to K-mapping, former needs flushing.
  */
 void flush_dcache_page(struct page *page)
 {
@@ -910,7 +910,7 @@  EXPORT_SYMBOL(flush_icache_range);
  * @vaddr is typically user vaddr (breakpoint) or kernel vaddr (vmalloc)
  *    However in one instance, when called by kprobe (for a breakpt in
  *    builtin kernel code) @vaddr will be paddr only, meaning CDU operation will
- *    use a paddr to index the cache (despite VIPT). This is fine since since a
+ *    use a paddr to index the cache (despite VIPT). This is fine since a
  *    builtin kernel page will not have any virtual mappings.
  *    kprobe on loadable module will be kernel vaddr.
  */