Commit 504be94fe3 for qemu.org

commit 504be94fe34262fe04d5e36333432169741a740c
Author: Mark Cave-Ayland <mark.caveayland@nutanix.com>
Date:   Fri Jul 17 14:51:44 2026 +0100

    qom/object.h: rename @child to @targetp in object_property_add_link() documentation

    This was missed when updating the parameter name in commit 36854207f0 ("object:
    rename link "child" to "target"").

    Signed-off-by: Mark Cave-Ayland <mark.caveayland@nutanix.com>
    Fixes: 36854207f0 ("object: rename link "child" to "target"")
    Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
    Message-Id: <20260717135254.508701-5-mark.caveayland@nutanix.com>

diff --git a/include/qom/object.h b/include/qom/object.h
index 11f55613fc..4e7fe2af7c 100644
--- a/include/qom/object.h
+++ b/include/qom/object.h
@@ -1802,8 +1802,8 @@ void object_property_allow_set_link(const Object *obj, const char *name,
  * property is read-only and cannot be set. Care must be taken to handle NULL
  * values for @val.
  *
- * Ownership of the pointer that @child points to is transferred to the
- * link property.  The reference count for *@child is
+ * Ownership of the pointer that @targetp points to is transferred to the
+ * link property.  The reference count for *@targetp is
  * managed by the property from after the function returns till the
  * property is deleted with object_property_del().  If the
  * @flags %OBJ_PROP_LINK_STRONG bit is set,