[PATCH] qom/object: Fix typo in comment

Gustavo Romero posted 1 patch 7 months, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20250504215639.54860-5-gustavo.romero@linaro.org
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, Eduardo Habkost <eduardo@habkost.net>
qom/object.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] qom/object: Fix typo in comment
Posted by Gustavo Romero 7 months, 2 weeks ago
Fix duplicate preposition in comment.

Signed-off-by: Gustavo Romero <gustavo.romero@linaro.org>
---
 qom/object.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qom/object.c b/qom/object.c
index 664f0f24ae..7b013f40a0 100644
--- a/qom/object.c
+++ b/qom/object.c
@@ -485,7 +485,7 @@ bool object_apply_global_props(Object *obj, const GPtrArray *props,
  * Slot 0: accelerator's global property defaults
  * Slot 1: machine's global property defaults
  * Slot 2: global properties from legacy command line option
- * Each is a GPtrArray of of GlobalProperty.
+ * Each is a GPtrArray of GlobalProperty.
  * Applied in order, later entries override earlier ones.
  */
 static GPtrArray *object_compat_props[3];
-- 
2.34.1
Re: [PATCH] qom/object: Fix typo in comment
Posted by Thomas Huth 7 months, 2 weeks ago
On 04/05/2025 23.56, Gustavo Romero wrote:
> Fix duplicate preposition in comment.
> 
> Signed-off-by: Gustavo Romero <gustavo.romero@linaro.org>
> ---
>   qom/object.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/qom/object.c b/qom/object.c
> index 664f0f24ae..7b013f40a0 100644
> --- a/qom/object.c
> +++ b/qom/object.c
> @@ -485,7 +485,7 @@ bool object_apply_global_props(Object *obj, const GPtrArray *props,
>    * Slot 0: accelerator's global property defaults
>    * Slot 1: machine's global property defaults
>    * Slot 2: global properties from legacy command line option
> - * Each is a GPtrArray of of GlobalProperty.
> + * Each is a GPtrArray of GlobalProperty.
>    * Applied in order, later entries override earlier ones.
>    */
>   static GPtrArray *object_compat_props[3];

Reviewed-by: Thomas Huth <thuth@redhat.com>

There seems to be another "of of" in linux-user/mmap.c in case you want to 
extend your patch.

Also:

$ grep -r " the the " *
block.c:     * will not run most of the the code in .drained_begin() again 
(which is not
hw/xen/xen-hvm-common.c:     * to provide the the addresses to map the 
shared page and/or to get the
include/exec/cpu-common.h: * Attempt to load the the unwind state for a host 
pc occurring in
include/hw/xen/interface/io/blkif.h: *      since the the backend driver 
will still try to map those grants
qapi/qom.json:#     HMAT indexed via the the node ID in this SRAT structure) to

$ grep -r " in in " *
hw/display/apple-gfx.m:     * All unique MemoryRegions for which a mapping 
has been created in in this
qapi/machine-target.json:#     removed in in some future version of QEMU 
according to the QEMU

  Thomas