diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-07-20 14:16:59 +0200 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2020-08-19 10:44:29 -0400 |
commit | 0aca03a3f182ca460a4ffa60239e8addb0f3d493 (patch) | |
tree | ee152ebea446b135f1fd43166739c224825cd40d /include | |
parent | 672b2f2695891b6d818bddc3ce0df964c7627969 (diff) | |
download | qemu-0aca03a3f182ca460a4ffa60239e8addb0f3d493.zip |
qdev: Document qdev_prop_set_drive_err() return value
Since commit 73ac1aac39 qdev_prop_set_drive_err() returns
a boolean value. Document it.
Fixes: 73ac1aac39 "Make functions taking Error ** return bool, not void"
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20200720121659.31886-1-f4bug@amsat.org>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/qdev-properties.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/qdev-properties.h b/include/hw/qdev-properties.h index 8f3a98cba6..528310bb22 100644 --- a/include/hw/qdev-properties.h +++ b/include/hw/qdev-properties.h @@ -238,6 +238,8 @@ extern const PropertyInfo qdev_prop_pcie_link_width; /* * Set properties between creation and realization. + * + * Returns: %true on success, %false on error. */ bool qdev_prop_set_drive_err(DeviceState *dev, const char *name, BlockBackend *value, Error **errp); |