Skip to contentSkip to conversation

xc_evtchn_open do not return -1 on error.

PATCH In review Vincent Bernardoff 2 participants 2 messages Jun 27, 2013 – Jun 28, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xc_evtchn_open do not return -1 on error.

---
 tools/libxc/xenctrl.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tools/libxc/xenctrl.h +2 -2
index 5697765..388a9c3 100644
@@ -966,8 +966,8 @@ typedef struct evtchn_status xc_evtchn_status_t;
 int xc_evtchn_status(xc_interface *xch, xc_evtchn_status_t *status);
 
 /*
- * Return a handle to the event channel driver, or -1 on failure, in which case
- * errno will be set appropriately.
+ * Return a handle to the event channel driver, or NULL on failure, in
+ * which case errno will be set appropriately.
  *
  * Note:
  * After fork a child process must not use any opened xc evtchn
Signature · 1 line
1.8.3.1
#1 lore raw
Quoted 1 line · Vincent Bernardoff

Acked. Don't think we need a release ack for this sort of thing, so applied.

Quoted 19 lines
---
 tools/libxc/xenctrl.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tools/libxc/xenctrl.h +2 -2
index 5697765..388a9c3 100644
@@ -966,8 +966,8 @@ typedef struct evtchn_status xc_evtchn_status_t;
 int xc_evtchn_status(xc_interface *xch, xc_evtchn_status_t *status);
 
 /*
- * Return a handle to the event channel driver, or -1 on failure, in which case
- * errno will be set appropriately.
+ * Return a handle to the event channel driver, or NULL on failure, in
+ * which case errno will be set appropriately.
  *
  * Note:
  * After fork a child process must not use any opened xc evtchn