diff mbox series

qom/object: Fix typo in comment

Message ID 20250504215639.54860-5-gustavo.romero@linaro.org
State New
Headers show
Series qom/object: Fix typo in comment | expand

Commit Message

Gustavo Romero May 4, 2025, 9:56 p.m. UTC
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(-)

Comments

Thomas Huth May 5, 2025, 10:08 a.m. UTC | #1
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
diff mbox series

Patch

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];