]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
Staging: hv: remove USHORT typedef
authorGreg Kroah-Hartman <gregkh@suse.de>
Tue, 14 Jul 2009 22:11:03 +0000 (15:11 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:01:46 +0000 (12:01 -0700)
The USHORT typedef is now removed from the Hyper-V driver code.

Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/include/osd.h
drivers/staging/hv/include/vstorage.h

index 4e54f669e84e04a9dd1ef4dc121889315272ead5..48d8c49c8c5c4191e98f4310a272421866a65237 100644 (file)
@@ -100,7 +100,6 @@ typedef struct _DLIST_ENTRY {
 
 typedef unsigned long long     ULONGLONG;
 typedef unsigned int           ULONG;
-typedef unsigned short         USHORT;
 
 //
 // signed types
index 442c8c37d371a8a8345dfae3cf8f3c07c6e67e65..680788b308e12ea05f4e8cab162cf78e5e3b81fd 100644 (file)
@@ -141,7 +141,7 @@ C_ASSERT(SENSE_BUFFER_SIZE == 0x12);
 
 typedef struct
 {
-    USHORT Length;
+    unsigned short Length;
     unsigned char SrbStatus;
     unsigned char ScsiStatus;
 
@@ -178,7 +178,7 @@ C_ASSERT((sizeof(VMSCSI_REQUEST) % 4) == 0);
 
 typedef struct
 {
-    USHORT ProtocolVersion;
+    unsigned short ProtocolVersion;
     unsigned char  PathId;
     unsigned char  TargetId;
 
@@ -213,7 +213,7 @@ typedef struct
     // Major (MSW) and minor (LSW) version numbers.
     //
 
-    USHORT MajorMinor;
+    unsigned short MajorMinor;
 
 
     //
@@ -222,7 +222,7 @@ typedef struct
     // indicate incompatibility--but it does indicate mismatched builds.
     //
 
-    USHORT Revision;
+    unsigned short Revision;
 
 } VMSTORAGE_PROTOCOL_VERSION, *PVMSTORAGE_PROTOCOL_VERSION;