qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 11/11] migration/multifd: Remove unnecessary usage of local E


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 11/11] migration/multifd: Remove unnecessary usage of local Error
Date: Tue, 2 Jan 2024 11:07:22 +0100
User-agent: Mozilla Thunderbird

On 31/12/23 10:30, Avihai Horon wrote:
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 multifd.c that use local Error although it
is not needed. Change these places to use errp directly.

Signed-off-by: Avihai Horon <avihaih@nvidia.com>
---
  migration/multifd.c | 8 ++------
  1 file changed, 2 insertions(+), 6 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]