Re: [PATCH] Remove duplicated words in documentation and comments

David Gibson <[email protected]>
Newsgroups org.kernel.vger.devicetree-compiler
Message-ID <Z9OZEMY0iD9FNEO2@zatzit>
On Thu, Mar 13, 2025 at 08:05:27PM +0100, Thomas Huth wrote:
> Let's avoid repeating single words here!
> 
> Signed-off-by: Thomas Huth <[email protected]>

Applied, thanks.

What brings you to making dtc patches?

> ---
>  CONTRIBUTING.md                      | 2 +-
>  Documentation/dt-object-internal.txt | 2 +-
>  libfdt/libfdt.h                      | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
> index 940dd1a..48c8efd 100644
> --- a/CONTRIBUTING.md
> +++ b/CONTRIBUTING.md
> @@ -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
> diff --git a/Documentation/dt-object-internal.txt b/Documentation/dt-object-internal.txt
> index c7357e6..dbbbcea 100644
> --- a/Documentation/dt-object-internal.txt
> +++ b/Documentation/dt-object-internal.txt
> @@ -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
> diff --git a/libfdt/libfdt.h b/libfdt/libfdt.h
> index f2675b1..b5e7200 100644
> --- a/libfdt/libfdt.h
> +++ b/libfdt/libfdt.h
> @@ -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

-- 
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
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEO+dNsU4E3yXUXRK2zQJF27ox2GcFAmfTmQIACgkQzQJF27ox
2Gcsqw//VlzRW3fkKG6OhaQXxNwRPsdHp2wnntv1pQBgZZ3yAUvmV4J5pdzydunf
n/ORu8u1K0yzdaWDH/qdgt1O58gP5rwmLTbD7P8ECAk+NvdpT3GSbH5CjDUk7psk
xP/3F7eqJGxF4N8LIm8QW6fWFwBmz/EnWCasMg9XodVDSSaiv8y2Z1nLI7TD0kXf
FrxFOei9XUDUxb7IzVhQJn2U7XrijupNDUPzSQzbbVHH3Eh0iFExd6YcouIletHf
ofMO4QHtx1m3tB3uzdWSqtglIMFIWqf4JncRf+FsQKxvz4L02J8SKe/2nifhRZac
C8gaiqBVOFblzGcPuaV4kw5fvaqLe9RNL46GCz0LkZKI08+9mGz4HKDI7mS9J5Dl
Lt7sbIPOS0P/4OV+0imzmC2cGuNVK4NotkJzCNkR1f5zGFvMH/dMq16QLEt96gCv
NaEC3VdZItmQcrDuTNaQLbEBv65nPXUk58gsF+NE4AkB6Yfci9C9Q0Zhv3QqXjH8
z/6xOmXHUvRCw/OPubS6fXMv6MN/qX3MgaX4XkdtZKtR/6TThGDbtR0Co0PZBG4X
WSK65oVNzcHJy8ZuxiMRuL4khBaTERa1oTHGsWtQgSUOGC0g6fx1YePC+O1ctkfG
3ZCXoSRW3onOZ3MbtctR0Jjr36iT42ebm8wPAZ5JYjp9fX6wpak=
=Gmn5
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.