mirror of
https://github.com/utmapp/qemu.git
synced 2026-12-01 22:23:23 -10:00
The error_vprepend() should use ERRP_GUARD() just as the documentation of ERRP_GUARD() says: > It must be used when the function dereferences @errp or passes > @errp to error_prepend(), error_vprepend(), or error_append_hint(). Considering that error_vprepend() is also an API provided in error.h, it is necessary to add it to the description of the rules for using ERRP_GUARD(). Cc: Markus Armbruster <[email protected]> Cc: Michael Roth <[email protected]> Signed-off-by: Zhao Liu <[email protected]> Reviewed-by: Markus Armbruster <[email protected]> Message-ID: <[email protected]> Signed-off-by: Thomas Huth <[email protected]>