All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julien Grall <julien.grall@linaro.org>
To: Ian Campbell <ian.campbell@citrix.com>, xen-devel@lists.xen.org
Cc: tim@xen.org, stefano.stabellini@eu.citrix.com
Subject: Re: [PATCH] xen: arm: correct return value of raw_copy_to_guest_*
Date: Fri, 06 Dec 2013 16:00:33 +0000	[thread overview]
Message-ID: <52A1F4A1.5080201@linaro.org> (raw)
In-Reply-To: <1386343510-31974-1-git-send-email-ian.campbell@citrix.com>



On 12/06/2013 03:25 PM, Ian Campbell wrote:
> This is a generic interface which is supposed to return the number of bytes
> which were not copied. Make it so and update the one incorrect caller.

This is also the same for raw_clear_guest and raw_copy_from_guest.

It seems the most of ARM code assume that these functions (or macro that 
call them) will return a negative value if it's fails.

-- 
Julien Grall

  reply	other threads:[~2013-12-06 16:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-06 15:25 [PATCH] xen: arm: correct return value of raw_copy_to_guest_* Ian Campbell
2013-12-06 16:00 ` Julien Grall [this message]
2013-12-06 17:03   ` Ian Campbell
2013-12-06 17:42     ` Julien Grall
2013-12-06 17:44       ` Ian Campbell

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=52A1F4A1.5080201@linaro.org \
    --to=julien.grall@linaro.org \
    --cc=ian.campbell@citrix.com \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=tim@xen.org \
    --cc=xen-devel@lists.xen.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.