[PATCH] docs: fix doubled-word typos in user documentation

Clinton Phillips posted 1 patch 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260516005558.92136-1-clintdotphillips@gmail.com
Maintainers: "Alex Bennée" <alex.bennee@linaro.org>, "Daniel P. Berrangé" <berrange@redhat.com>, Markus Armbruster <armbru@redhat.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>, "Cédric Le Goater" <clg@kaod.org>, Peter Maydell <peter.maydell@linaro.org>, Steven Lee <steven_lee@aspeedtech.com>, Troy Lee <leetroy@gmail.com>, Jamin Lin <jamin_lin@aspeedtech.com>, Kane Chen <kane_chen@aspeedtech.com>, Andrew Jeffery <andrew@codeconstruct.com.au>, Joel Stanley <joel@jms.id.au>, Pavel Pisa <pisa@cmp.felk.cvut.cz>, Francisco Iglesias <francisco.iglesias@amd.com>, Vikram Garhwal <vikram.garhwal@bytedance.com>
docs/devel/style.rst        | 2 +-
docs/system/arm/aspeed.rst  | 2 +-
docs/system/devices/can.rst | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
[PATCH] docs: fix doubled-word typos in user documentation
Posted by Clinton Phillips 2 weeks ago
- docs/devel/style.rst: "assume that that type" -> "assume that type"
- docs/system/arm/aspeed.rst: "how to to boot" -> "how to boot"
- docs/system/devices/can.rst: "supported by by drivers" -> "supported by drivers"

Signed-off-by: Clinton Phillips <clintdotphillips@gmail.com>
---
 docs/devel/style.rst        | 2 +-
 docs/system/arm/aspeed.rst  | 2 +-
 docs/system/devices/can.rst | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/devel/style.rst b/docs/devel/style.rst
index b8edcf9..6b9544f 100644
--- a/docs/devel/style.rst
+++ b/docs/devel/style.rst
@@ -341,7 +341,7 @@ but only for RAM, it may not cover whole guest address space.
 If it's file-size related, use off_t.
 If it's file-offset related (i.e., signed), use off_t.
 If it's just counting small numbers use "unsigned int";
-(on all but oddball embedded systems, you can assume that that
+(on all but oddball embedded systems, you can assume that
 type is at least four bytes wide).
 
 In the event that you require a specific width, use a standard type
diff --git a/docs/system/arm/aspeed.rst b/docs/system/arm/aspeed.rst
index df2f539..3f1222d 100644
--- a/docs/system/arm/aspeed.rst
+++ b/docs/system/arm/aspeed.rst
@@ -195,7 +195,7 @@ boot mode of machine: SPI or eMMC. This can be useful to boot the
 boot the ``rainier-bmc`` machine from a flash device (default being
 eMMC).
 
-As an example, here is how to to boot the ``rainier-bmc`` machine from
+As an example, here is how to boot the ``rainier-bmc`` machine from
 the flash device with ``boot-emmc=false`` and let the machine use an
 eMMC image :
 
diff --git a/docs/system/devices/can.rst b/docs/system/devices/can.rst
index 0912183..95ee3e8 100644
--- a/docs/system/devices/can.rst
+++ b/docs/system/devices/can.rst
@@ -10,7 +10,7 @@ The concept of buses is generic and different CAN controllers
 can be implemented.
 
 The initial submission implemented SJA1000 controller which
-is common and well supported by by drivers for the most operating
+is common and well supported by drivers for the most operating
 systems.
 
 The PCI addon card hardware has been selected as the first CAN
-- 
2.49.0
Re: [PATCH] docs: fix doubled-word typos in user documentation
Posted by Peter Maydell 1 week, 5 days ago
On Sat, 16 May 2026 at 05:06, Clinton Phillips
<clintdotphillips@gmail.com> wrote:
>
> - docs/devel/style.rst: "assume that that type" -> "assume that type"
> - docs/system/arm/aspeed.rst: "how to to boot" -> "how to boot"
> - docs/system/devices/can.rst: "supported by by drivers" -> "supported by drivers"
>
> Signed-off-by: Clinton Phillips <clintdotphillips@gmail.com>
> ---
>  docs/devel/style.rst        | 2 +-
>  docs/system/arm/aspeed.rst  | 2 +-
>  docs/system/devices/can.rst | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/docs/devel/style.rst b/docs/devel/style.rst
> index b8edcf9..6b9544f 100644
> --- a/docs/devel/style.rst
> +++ b/docs/devel/style.rst
> @@ -341,7 +341,7 @@ but only for RAM, it may not cover whole guest address space.
>  If it's file-size related, use off_t.
>  If it's file-offset related (i.e., signed), use off_t.
>  If it's just counting small numbers use "unsigned int";
> -(on all but oddball embedded systems, you can assume that that
> +(on all but oddball embedded systems, you can assume that
>  type is at least four bytes wide).

This is not an error; both "that" and "that that" are OK here.
(The first one goes with "assume" to introduce the clause
we are assuming, and is optional; the second one is a determiner.)

-- PMM
Re: [PATCH] docs: fix doubled-word typos in user documentation
Posted by Philippe Mathieu-Daudé 2 weeks ago
On 16/5/26 02:55, Clinton Phillips wrote:
> - docs/devel/style.rst: "assume that that type" -> "assume that type"
> - docs/system/arm/aspeed.rst: "how to to boot" -> "how to boot"
> - docs/system/devices/can.rst: "supported by by drivers" -> "supported by drivers"
> 
> Signed-off-by: Clinton Phillips <clintdotphillips@gmail.com>
> ---
>   docs/devel/style.rst        | 2 +-
>   docs/system/arm/aspeed.rst  | 2 +-
>   docs/system/devices/can.rst | 2 +-
>   3 files changed, 3 insertions(+), 3 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>