Skip to content

tools/libs: don't set errno to negative values

Juergen Gross xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4tools/libs/evtchn: don't set errno to negative valuestools/libs/evtchn/freebsd.c tools/libs/evtchn/minios.c tools/libs/evtchn/netbsd.c +1 more+4 -41 reply
2/4tools/libs/ctrl: don't set errno to a negative valuetools/libs/ctrl/xc_domain.c+1 -31 reply
3/4tools/libs/guest: don't set errno to a negative valuetools/libs/guest/xg_dom_core.c+1 -11 reply
4/4tools/libs/light: don't set errno to a negative valuetools/libs/light/libxl_linux.c+1 -13 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchAndrew Cooper
1/4A-b
2/4A-b
3/4A-b
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)
Signature · 1 line
2.34.1