qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 04/16] virtio-scsi: Fix tgpt typo to tpgt and use ui


From: zwu . kernel
Subject: [Qemu-devel] [PATCH 04/16] virtio-scsi: Fix tgpt typo to tpgt and use uint16_t
Date: Thu, 19 Apr 2012 10:38:57 +0800

From: Stefan Hajnoczi <address@hidden>

Signed-off-by: Stefan Hajnoczi <address@hidden>
Signed-off-by: Zhi Yong Wu <address@hidden>
---
 hw/virtio-scsi.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/hw/virtio-scsi.h b/hw/virtio-scsi.h
index 9cddacb..f66d12c 100644
--- a/hw/virtio-scsi.h
+++ b/hw/virtio-scsi.h
@@ -40,9 +40,9 @@ struct vhost_vring_target {
 };
 
 typedef struct {
-    /* The tcm_vhost wwpn and tgpt */
+    /* The tcm_vhost wwpn and tpgt */
     char *wwpn;
-    char *tgpt;
+    uint16_t tpgt;
 } VirtIOSCSIConf;
 
 #endif /* _QEMU_VIRTIO_SCSI_H */
-- 
1.7.6




reply via email to

[Prev in Thread] Current Thread [Next in Thread]