From: Wei Liu <wei.liu2@citrix.com>
To: Xen-devel <xen-devel@lists.xenproject.org>
Cc: Sergei Lebedev <sergei.a.lebedev@gmail.com>,
Wei Liu <wei.liu2@citrix.com>,
Ian Jackson <ian.jackson@eu.citrix.com>
Subject: [PATCH] tools/python/xs: fix two comments
Date: Mon, 29 Feb 2016 16:01:24 +0000 [thread overview]
Message-ID: <1456761684-17964-1-git-send-email-wei.liu2@citrix.com> (raw)
These two functions require transaction handle as the first argument.
Reported-by: Sergei Lebedev <sergei.a.lebedev@gmail.com>
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
---
Cc: Sergei Lebedev <sergei.a.lebedev@gmail.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Compile test only
---
tools/python/xen/lowlevel/xs/xs.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/tools/python/xen/lowlevel/xs/xs.c b/tools/python/xen/lowlevel/xs/xs.c
index 76ae3ac..a86edbe 100644
--- a/tools/python/xen/lowlevel/xs/xs.c
+++ b/tools/python/xen/lowlevel/xs/xs.c
@@ -191,7 +191,8 @@ static PyObject *xspy_ls(XsHandle *self, PyObject *args)
#define xspy_mkdir_doc "\n" \
"Make a directory.\n" \
- " path [string]: path to directory to create.\n" \
+ " transaction [string]: transaction handle.\n" \
+ " path [string] : path to directory to create.\n" \
"\n" \
"Returns None on success.\n" \
"Raises xen.lowlevel.xs.Error on error.\n" \
@@ -555,7 +556,8 @@ static PyObject *xspy_transaction_start(XsHandle *self)
#define xspy_transaction_end_doc "\n" \
"End the current transaction.\n" \
"Attempts to commit the transaction unless abort is true.\n" \
- " abort [int]: abort flag (default 0).\n" \
+ " transaction [string] : transaction handle.\n" \
+ " abort [int] : abort flag (default 0).\n" \
"\n" \
"Returns True on success, False if you need to try again.\n" \
"Raises xen.lowlevel.xs.Error on error.\n" \
--
2.1.4
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next reply other threads:[~2016-02-29 16:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-29 16:01 Wei Liu [this message]
2016-03-01 18:01 ` [PATCH] tools/python/xs: fix two comments Ian Jackson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1456761684-17964-1-git-send-email-wei.liu2@citrix.com \
--to=wei.liu2@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=sergei.a.lebedev@gmail.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).