Re: [PATCH 2/4] tools/libs/ctrl: don't set errno to a negative value

2022-04-22 Thread Andrew Cooper
On 20/04/2022 08:31, Juergen Gross wrote: > The claimed reason for setting errno to -1 is wrong. On x86 > xc_domain_pod_target() will set errno to a sane value in the error > case. Fixes: ff1745d5882b > Signed-off-by: Juergen Gross Acked-by: Andrew Cooper

[PATCH 2/4] tools/libs/ctrl: don't set errno to a negative value

2022-04-20 Thread Juergen Gross
The claimed reason for setting errno to -1 is wrong. On x86 xc_domain_pod_target() will set errno to a sane value in the error case. Signed-off-by: Juergen Gross --- tools/libs/ctrl/xc_domain.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/libs/ctrl/xc_domain.c