Avihai Horon <avih...@nvidia.com> writes: > According to Error API, usage of ERRP_GUARD() or a local Error instead > of errp is needed if errp is passed to void functions, where it is later > dereferenced to see if an error occurred. > > There are several places in migration.c that use local Error although it > is not needed. Change these places to use errp directly. > > Signed-off-by: Avihai Horon <avih...@nvidia.com>
Reviewed-by: Fabiano Rosas <faro...@suse.de>