|
| 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>
| [Prev in Thread] | Current Thread | [Next in Thread] |