From: Stefan Hajnoczi <stefanha@gmail.com>
To: Petar Jovanovic <petar.jovanovic@rt-rk.com>
Cc: riku.voipio@linaro.org, qemu-devel@nongnu.org,
petar.jovanovic@imgtec.com
Subject: Re: [Qemu-devel] [PATCH] linux-user: change do_semop to return target errno when unsuccessful
Date: Fri, 19 Apr 2013 11:42:10 +0200 [thread overview]
Message-ID: <20130419094210.GF30143@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <1363888656-123910-1-git-send-email-petar.jovanovic@rt-rk.com>
On Thu, Mar 21, 2013 at 06:57:36PM +0100, Petar Jovanovic wrote:
> From: Petar Jovanovic <petar.jovanovic@imgtec.com>
>
> do_semop() is called from two places, and one of these fails to convert
> return error to target errno when semop fails. This patch changes the
> function to always return target errno in case of an unsuccessful call.
>
> Signed-off-by: Petar Jovanovic <petar.jovanovic@imgtec.com>
> ---
> linux-user/syscall.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Thanks, applied to the trivial patches tree:
https://github.com/stefanha/qemu/commits/trivial-patches
Stefan
next prev parent reply other threads:[~2013-04-19 9:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-21 17:57 [Qemu-devel] [PATCH] linux-user: change do_semop to return target errno when unsuccessful Petar Jovanovic
2013-03-21 18:03 ` Peter Maydell
2013-04-01 17:07 ` Petar Jovanovic
2013-04-08 18:31 ` Petar Jovanovic
2013-04-15 12:10 ` Petar Jovanovic
2013-04-19 9:42 ` Stefan Hajnoczi [this message]
2013-04-19 10:10 ` Riku Voipio
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=20130419094210.GF30143@stefanha-thinkpad.redhat.com \
--to=stefanha@gmail.com \
--cc=petar.jovanovic@imgtec.com \
--cc=petar.jovanovic@rt-rk.com \
--cc=qemu-devel@nongnu.org \
--cc=riku.voipio@linaro.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).