Skip to contentSkip to conversation

arm64: delete duplicated words

PATCH Applied Randy Dunlap 2 participants 5 messages Jul 26, 2020 – Jul 30, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover arm64: delete duplicated words

Delete duplicated words in arch/arm64/ header files.

Cc Catalin Marinas <[email protected]>
Cc Will Deacon <[email protected]>
 arch/arm64/include/asm/pgtable-hwdef.h   |    4 ++--
 arch/arm64/include/asm/ptrace.h          |    2 +-
 arch/arm64/include/uapi/asm/sigcontext.h |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
#1 lore raw

PATCH 1/3 arm64: pgtable-hwdef.h: delete duplicated words

Drop the repeated words "at" and "the".

---
 arch/arm64/include/asm/pgtable-hwdef.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/include/asm/pgtable-hwdef.h +2 -2
@@ -29,7 +29,7 @@
  * Size mapped by an entry at level n ( 0 <= n <= 3)
  * We map (PAGE_SHIFT - 3) at all translation levels and PAGE_SHIFT bits
  * in the final page. The maximum number of translation levels supported by
- * the architecture is 4. Hence, starting at at level n, we have further
+ * the architecture is 4. Hence, starting at level n, we have further
  * ((4 - n) - 1) levels of translation excluding the offset within the page.
  * So, the total number of bits mapped by an entry at level n is :
  *
@@ -98,7 +98,7 @@
 #define CONT_PMDS		(1 << (CONT_PMD_SHIFT - PMD_SHIFT))
 #define CONT_PMD_SIZE		(CONT_PMDS * PMD_SIZE)
 #define CONT_PMD_MASK		(~(CONT_PMD_SIZE - 1))
-/* the the numerical offset of the PTE within a range of CONT_PTES */
+/* the numerical offset of the PTE within a range of CONT_PTES */
 #define CONT_RANGE_OFFSET(addr) (((addr)>>PAGE_SHIFT)&(CONT_PTES-1))
 
 /*
#2 lore raw

PATCH 2/3 arm64: ptrace.h: delete duplicated word

In reply to Randy Dunlap

Drop the repeated word "the".

---
 arch/arm64/include/asm/ptrace.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/include/asm/ptrace.h +1 -1
@@ -27,7 +27,7 @@
  *
  * Some code sections either automatically switch back to PSR.I or explicitly
  * require to not use priority masking. If bit GIC_PRIO_PSR_I_SET is included
- * in the  the priority mask, it indicates that PSR.I should be set and
+ * in the priority mask, it indicates that PSR.I should be set and
  * interrupt disabling temporarily does not rely on IRQ priorities.
  */
 #define GIC_PRIO_IRQON			0xe0
#3 lore raw

PATCH 3/3 arm64: sigcontext.h: delete duplicated word

In reply to Randy Dunlap

Drop the repeated word "the".

---
 arch/arm64/include/uapi/asm/sigcontext.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/include/uapi/asm/sigcontext.h +1 -1
@@ -179,7 +179,7 @@ struct sve_context {
  * The same convention applies when returning from a signal: a caller
  * will need to remove or resize the sve_context block if it wants to
  * make the SVE registers live when they were previously non-live or
- * vice-versa.  This may require the the caller to allocate fresh
+ * vice-versa.  This may require the caller to allocate fresh
  * memory and/or move other context blocks in the signal frame.
  *
  * Changing the vector length during signal return is not permitted:
maintainer Applied
#4 lore raw
In reply to Randy Dunlap
Quoted 6 lines · Randy Dunlap

Delete duplicated words in arch/arm64/ header files.

Cc Catalin Marinas <[email protected]>
Cc Will Deacon <[email protected]>
Quoted 6 lines
 arch/arm64/include/asm/pgtable-hwdef.h   |    4 ++--
 arch/arm64/include/asm/ptrace.h          |    2 +-
 arch/arm64/include/uapi/asm/sigcontext.h |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

[...]

Applied to arm64 (for-next/trivial), thanks!

[1/3] arm64: pgtable-hwdef.h: delete duplicated words

      https://git.kernel.org/arm64/c/c4334d576cf4
[2/3] arm64: ptrace.h: delete duplicated word
      https://git.kernel.org/arm64/c/c4b5abba0083
[3/3] arm64: sigcontext.h: delete duplicated word
      https://git.kernel.org/arm64/c/1a9ea25d1874
Signature · 1 line
Catalin