Commit 2be8093a authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Staging: hv: remove USHORT typedef

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: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 59471438
...@@ -100,7 +100,6 @@ typedef struct _DLIST_ENTRY { ...@@ -100,7 +100,6 @@ typedef struct _DLIST_ENTRY {
typedef unsigned long long ULONGLONG; typedef unsigned long long ULONGLONG;
typedef unsigned int ULONG; typedef unsigned int ULONG;
typedef unsigned short USHORT;
// //
// signed types // signed types
......
...@@ -141,7 +141,7 @@ C_ASSERT(SENSE_BUFFER_SIZE == 0x12); ...@@ -141,7 +141,7 @@ C_ASSERT(SENSE_BUFFER_SIZE == 0x12);
typedef struct typedef struct
{ {
USHORT Length; unsigned short Length;
unsigned char SrbStatus; unsigned char SrbStatus;
unsigned char ScsiStatus; unsigned char ScsiStatus;
...@@ -178,7 +178,7 @@ C_ASSERT((sizeof(VMSCSI_REQUEST) % 4) == 0); ...@@ -178,7 +178,7 @@ C_ASSERT((sizeof(VMSCSI_REQUEST) % 4) == 0);
typedef struct typedef struct
{ {
USHORT ProtocolVersion; unsigned short ProtocolVersion;
unsigned char PathId; unsigned char PathId;
unsigned char TargetId; unsigned char TargetId;
...@@ -213,7 +213,7 @@ typedef struct ...@@ -213,7 +213,7 @@ typedef struct
// Major (MSW) and minor (LSW) version numbers. // Major (MSW) and minor (LSW) version numbers.
// //
USHORT MajorMinor; unsigned short MajorMinor;
// //
...@@ -222,7 +222,7 @@ typedef struct ...@@ -222,7 +222,7 @@ typedef struct
// indicate incompatibility--but it does indicate mismatched builds. // indicate incompatibility--but it does indicate mismatched builds.
// //
USHORT Revision; unsigned short Revision;
} VMSTORAGE_PROTOCOL_VERSION, *PVMSTORAGE_PROTOCOL_VERSION; } VMSTORAGE_PROTOCOL_VERSION, *PVMSTORAGE_PROTOCOL_VERSION;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment