qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Robert Wang <wdongxu@linux.vnet.ibm.com>
Cc: wdongxu@cn.ibm.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] fix code format
Date: Mon, 22 Aug 2011 11:32:08 -0500	[thread overview]
Message-ID: <4E528488.6070600@codemonkey.ws> (raw)
In-Reply-To: <1313745432-31662-1-git-send-email-wdongxu@linux.vnet.ibm.com>

On 08/19/2011 04:17 AM, Robert Wang wrote:
> Fix code format to make checkpatch.pl happy.
>
> Signed-off-by: Robert Wang<wdongxu@linux.vnet.ibm.com>

Applied.  Thanks.

Regards,

Anthony Liguori

> ---
>   block.c |    6 +++---
>   1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/block.c b/block.c
> index 26910ca..87e83bc 100644
> --- a/block.c
> +++ b/block.c
> @@ -2251,9 +2251,9 @@ BlockDriverAIOCB *bdrv_aio_readv(BlockDriverState *bs, int64_t sector_num,
>                                 cb, opaque);
>
>       if (ret) {
> -	/* Update stats even though technically transfer has not happened. */
> -	bs->rd_bytes += (unsigned) nb_sectors * BDRV_SECTOR_SIZE;
> -	bs->rd_ops ++;
> +        /* Update stats even though technically transfer has not happened. */
> +        bs->rd_bytes += (unsigned) nb_sectors * BDRV_SECTOR_SIZE;
> +        bs->rd_ops++;
>       }
>
>       return ret;

      reply	other threads:[~2011-08-22 16:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-19  9:17 [Qemu-devel] [PATCH] fix code format Robert Wang
2011-08-22 16:32 ` Anthony Liguori [this message]

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=4E528488.6070600@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=qemu-devel@nongnu.org \
    --cc=wdongxu@cn.ibm.com \
    --cc=wdongxu@linux.vnet.ibm.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;
as well as URLs for NNTP newsgroup(s).