qdev: Document qdev_prop_set_drive_err() return value
Since commit73ac1aac39
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>
This commit is contained in:
parent
672b2f2695
commit
0aca03a3f1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user