-
Eduardo Habkost authored
Assigning directly to *errp is not valid, as errp may be NULL, &error_fatal, or &error_abort. Use error_propagate() instead. With this, there's no need to check if errp is NULL anymore, as error_propagate() and error_prepend() are able to handle that. Cc: Kevin Wolf <kwolf@redhat.com> Cc: Max Reitz <mreitz@redhat.com> Cc: qemu-block@nongnu.org Signed-off-by:
Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20170608133906.12737-3-ehabkost@redhat.com>
Reviewed-by:
Alberto Garcia <berto@igalia.com>
Reviewed-by:
Eric Blake <eblake@redhat.com>
Reviewed-by:
Markus Armbruster <armbru@redhat.com>
Signed-off-by:
Markus Armbruster <armbru@redhat.com>Eduardo Habkost authoredAssigning directly to *errp is not valid, as errp may be NULL, &error_fatal, or &error_abort. Use error_propagate() instead. With this, there's no need to check if errp is NULL anymore, as error_propagate() and error_prepend() are able to handle that. Cc: Kevin Wolf <kwolf@redhat.com> Cc: Max Reitz <mreitz@redhat.com> Cc: qemu-block@nongnu.org Signed-off-by:
Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20170608133906.12737-3-ehabkost@redhat.com>
Reviewed-by:
Alberto Garcia <berto@igalia.com>
Reviewed-by:
Eric Blake <eblake@redhat.com>
Reviewed-by:
Markus Armbruster <armbru@redhat.com>
Signed-off-by:
Markus Armbruster <armbru@redhat.com>
Loading