All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel]  [PATCH] fix code format
@ 2011-08-19  9:17 Robert Wang
  2011-08-22 16:32 ` Anthony Liguori
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Wang @ 2011-08-19  9:17 UTC (permalink / raw)
  To: qemu-devel; +Cc: Robert Wang, wdongxu

Fix code format to make checkpatch.pl happy.

Signed-off-by: Robert Wang <wdongxu@linux.vnet.ibm.com>
---
 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;
-- 
1.7.4.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PATCH] fix code format
  2011-08-19  9:17 [Qemu-devel] [PATCH] fix code format Robert Wang
@ 2011-08-22 16:32 ` Anthony Liguori
  0 siblings, 0 replies; 2+ messages in thread
From: Anthony Liguori @ 2011-08-22 16:32 UTC (permalink / raw)
  To: Robert Wang; +Cc: wdongxu, qemu-devel

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;

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-22 16:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-19  9:17 [Qemu-devel] [PATCH] fix code format Robert Wang
2011-08-22 16:32 ` Anthony Liguori

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.