[PATCH 0/4] tools/libs: don't set errno to negative values

Juergen Gross posted 4 patches 2 years ago
Test gitlab-ci failed
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20220420073119.16974-1-jgross@suse.com
tools/libs/ctrl/xc_domain.c    | 4 +---
tools/libs/evtchn/freebsd.c    | 2 +-
tools/libs/evtchn/minios.c     | 2 +-
tools/libs/evtchn/netbsd.c     | 2 +-
tools/libs/evtchn/solaris.c    | 2 +-
tools/libs/guest/xg_dom_core.c | 2 +-
tools/libs/light/libxl_linux.c | 2 +-
7 files changed, 7 insertions(+), 9 deletions(-)
[PATCH 0/4] tools/libs: don't set errno to negative values
Posted by Juergen Gross 2 years ago
There are a few places in the libs where errno is set to a negative
value. Fix those.

Juergen Gross (4):
  tools/libs/evtchn: don't set errno to negative values
  tools/libs/ctrl: don't set errno to a negative value
  tools/libs/guest: don't set errno to a negative value
  tools/libs/light: don't set errno to a negative value

 tools/libs/ctrl/xc_domain.c    | 4 +---
 tools/libs/evtchn/freebsd.c    | 2 +-
 tools/libs/evtchn/minios.c     | 2 +-
 tools/libs/evtchn/netbsd.c     | 2 +-
 tools/libs/evtchn/solaris.c    | 2 +-
 tools/libs/guest/xg_dom_core.c | 2 +-
 tools/libs/light/libxl_linux.c | 2 +-
 7 files changed, 7 insertions(+), 9 deletions(-)

-- 
2.34.1