Skip to contentSkip to conversation

Remove duplicated words in documentation and comments

PATCH Applied Thomas Huth 2 participants 3 messages Mar 13, 2025 – Mar 14, 2025 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove duplicated words in documentation and comments

Let's avoid repeating single words here!

---
 CONTRIBUTING.md                      | 2 +-
 Documentation/dt-object-internal.txt | 2 +-
 libfdt/libfdt.h                      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
CONTRIBUTING.md +1 -1
index 940dd1a..48c8efd 100644
@@ -2,7 +2,7 @@
 
 There are two ways to submit changes for dtc or libfdt:
 
-* Post patches directly to the the
+* Post patches directly to the
   [devicetree-compiler](mailto:[email protected])
   mailing list.
 * Submit pull requests via
Documentation/dt-object-internal.txt +1 -1
index c7357e6..dbbbcea 100644
@@ -6,7 +6,7 @@ the hardware capabilities. This is insufficient for platforms
 that need to dynamically insert Device Tree fragments into the
 live tree.
 
-This document explains the the Device Tree object format and
+This document explains the Device Tree object format and
 modifications made to the Device Tree compiler, which make it possible.
 
 1. Simplified Problem Definition
libfdt/libfdt.h +1 -1
index f2675b1..b5e7200 100644
@@ -1569,7 +1569,7 @@ static inline int fdt_property_cell(void *fdt, const char *name, uint32_t val)
  * @fdt: pointer to the device tree blob
  * @name: name of property to add
  * @len: length of property value in bytes
- * @valp: returns a pointer to where where the value should be placed
+ * @valp: returns a pointer to where the value should be placed
  *
  * returns:
  *	0, on success
Signature · 1 line
2.48.1
Applied
#1 lore raw
Quoted 3 lines · Thomas Huth

Let's avoid repeating single words here!

Applied, thanks.

What brings you to making dtc patches?

Quoted 45 lines
---
 CONTRIBUTING.md                      | 2 +-
 Documentation/dt-object-internal.txt | 2 +-
 libfdt/libfdt.h                      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
CONTRIBUTING.md +1 -1
index 940dd1a..48c8efd 100644
@@ -2,7 +2,7 @@
 
 There are two ways to submit changes for dtc or libfdt:
 
-* Post patches directly to the the
+* Post patches directly to the
   [devicetree-compiler](mailto:[email protected])
   mailing list.
 * Submit pull requests via
Documentation/dt-object-internal.txt +1 -1
index c7357e6..dbbbcea 100644
@@ -6,7 +6,7 @@ the hardware capabilities. This is insufficient for platforms
 that need to dynamically insert Device Tree fragments into the
 live tree.
 
-This document explains the the Device Tree object format and
+This document explains the Device Tree object format and
 modifications made to the Device Tree compiler, which make it possible.
 
 1. Simplified Problem Definition
libfdt/libfdt.h +1 -1
index f2675b1..b5e7200 100644
@@ -1569,7 +1569,7 @@ static inline int fdt_property_cell(void *fdt, const char *name, uint32_t val)
  * @fdt: pointer to the device tree blob
  * @name: name of property to add
  * @len: length of property value in bytes
- * @valp: returns a pointer to where where the value should be placed
+ * @valp: returns a pointer to where the value should be placed
  *
  * returns:
  *	0, on success
Signature · 4 lines
David Gibson (he or they)	| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you, not the other way
				| around.
http://www.ozlabs.org/~dgibson
#2 lore raw
Quoted 8 lines · David Gibson
Quoted 3 lines · Thomas Huth

Let's avoid repeating single words here!

Applied, thanks.

What brings you to making dtc patches?

I'm currently trying to clean the __ASSEMBLY__ vs. __ASSEMBLER__ stuff in the kernel, where I saw that they have a copy of fdt.h in their tree, so the origin needs to be fixed, too. While checking dtc, I noticed that I had this long-forgotten patch here sitting in my local copy of the repo since years, so I thought it would finally be a good point in time to finally send it out :-)

Thomas