qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH for 1.2] scsi-disk: Fix typo (uint32 -> uint32_t)
@ 2012-08-29 18:39 Stefan Weil
  2012-08-29 18:49 ` Paolo Bonzini
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Weil @ 2012-08-29 18:39 UTC (permalink / raw)
  To: qemu-trivial; +Cc: Stefan Weil, Anthony Liguori, qemu-devel, Paolo Bonzini

Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
 hw/scsi-disk.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/scsi-disk.c b/hw/scsi-disk.c
index 409f760..cd72afd 100644
--- a/hw/scsi-disk.c
+++ b/hw/scsi-disk.c
@@ -1461,7 +1461,7 @@ static void scsi_unmap_complete(void *opaque, int ret)
     SCSIDiskReq *r = data->r;
     SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev);
     uint64_t sector_num;
-    uint32 nb_sectors;
+    uint32_t nb_sectors;
 
     r->req.aiocb = NULL;
     if (ret < 0) {
-- 
1.7.10

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

* Re: [Qemu-devel] [PATCH for 1.2] scsi-disk: Fix typo (uint32 -> uint32_t)
  2012-08-29 18:39 [Qemu-devel] [PATCH for 1.2] scsi-disk: Fix typo (uint32 -> uint32_t) Stefan Weil
@ 2012-08-29 18:49 ` Paolo Bonzini
  0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2012-08-29 18:49 UTC (permalink / raw)
  To: Stefan Weil; +Cc: qemu-trivial, Blue Swirl, Anthony Liguori, qemu-devel

Il 29/08/2012 20:39, Stefan Weil ha scritto:
> Cc: Paolo Bonzini <pbonzini@redhat.com>
> Signed-off-by: Stefan Weil <sw@weilnetz.de>
> ---
>  hw/scsi-disk.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/hw/scsi-disk.c b/hw/scsi-disk.c
> index 409f760..cd72afd 100644
> --- a/hw/scsi-disk.c
> +++ b/hw/scsi-disk.c
> @@ -1461,7 +1461,7 @@ static void scsi_unmap_complete(void *opaque, int ret)
>      SCSIDiskReq *r = data->r;
>      SCSIDiskState *s = DO_UPCAST(SCSIDiskState, qdev, r->req.dev);
>      uint64_t sector_num;
> -    uint32 nb_sectors;
> +    uint32_t nb_sectors;
>  
>      r->req.aiocb = NULL;
>      if (ret < 0) {
> 

Good catch.

I added it to the pending pull request.

Paolo

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

end of thread, other threads:[~2012-08-29 18:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-29 18:39 [Qemu-devel] [PATCH for 1.2] scsi-disk: Fix typo (uint32 -> uint32_t) Stefan Weil
2012-08-29 18:49 ` Paolo Bonzini

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).