@samitouri / QOSamiQemu / commits / 504be94fe3

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>

Mark Cave-Ayland committed Jul 17, 2026 at 14:51 UTC 504be94fe34262fe04d5e36333432169741a740c
1 file changed +2 -2
include/qom/object.h
+2 -2
@@ -1802,8 +1802,8 @@ void object_property_allow_set_link(const Object *obj, const char *name,
1802 * property is read-only and cannot be set. Care must be taken to handle NULL
1803 * values for @val.
1804 *
1805 - * Ownership of the pointer that @child points to is transferred to the
1806 - * link property. The reference count for *@child is
1805 + * Ownership of the pointer that @targetp points to is transferred to the
1806 + * link property. The reference count for *@targetp is
1807 * managed by the property from after the function returns till the
1808 * property is deleted with object_property_del(). If the
1809 * @flags %OBJ_PROP_LINK_STRONG bit is set,