From: Marc-André Lureau <[email protected]> Reviewed-by: Peter Maydell <[email protected]> Signed-off-by: Marc-André Lureau <[email protected]> --- include/qom/object.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/qom/object.h b/include/qom/object.h index f40d8ccd4a2..2a2829343d0 100644 --- a/include/qom/object.h +++ b/include/qom/object.h @@ -1714,10 +1714,10 @@ void object_property_allow_set_link(const Object *obj, const char *name, * * Links form the graph in the object model. * - * The @check() callback is invoked when - * object_property_set_link() is called and can raise an error to prevent the - * link being set. If @check is NULL, the property is read-only - * and cannot be set. + * The @check() callback is invoked when object_property_set_link() is called + * and can raise an error to prevent the link being set. If @check is NULL, the + * 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 -- 2.54.0
