From: Avi Kivity <avi@redhat.com>
To: Sasha Levin <levinsasha928@gmail.com>
Cc: kvm@vger.kernel.org, Marcelo Tosatti <mtosatti@redhat.com>
Subject: Re: [PATCH resend] KVM: Document KVM_IRQFD
Date: Mon, 29 Aug 2011 15:50:19 +0300 [thread overview]
Message-ID: <4E5B8B0B.3030900@redhat.com> (raw)
In-Reply-To: <1314621797.29761.19.camel@sasha>
On 08/29/2011 03:43 PM, Sasha Levin wrote:
> On Mon, 2011-08-29 at 15:37 +0300, Avi Kivity wrote:
> > On 08/29/2011 03:34 PM, Sasha Levin wrote:
> > > Cc: Avi Kivity<avi@redhat.com>
> > > Cc: Marcelo Tosatti<mtosatti@redhat.com>
> > > Signed-off-by: Sasha Levin<levinsasha928@gmail.com>
> >
> > Thanks, applied.
> >
> > > +Returns: 0 on success, !0 on error
> > > +
> >
> > -1 (I fixed this).
> >
>
> Why -1? It could be anything< 0, no?
>
No. ioctl()s (and most system calls) return -1 on error and set errno.
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2011-08-29 12:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-29 12:34 [PATCH resend] KVM: Document KVM_IRQFD Sasha Levin
2011-08-29 12:37 ` Avi Kivity
2011-08-29 12:43 ` Sasha Levin
2011-08-29 12:50 ` Avi Kivity [this message]
2011-08-29 21:52 ` Scott Wood
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=4E5B8B0B.3030900@redhat.com \
--to=avi@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=levinsasha928@gmail.com \
--cc=mtosatti@redhat.com \
/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