The ULONG and LONG typedefs are 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>
// Each unique Port/Path/Target represents 1 channel ie scsi controller. In reality, the pathid, targetid is always 0
// and the port is set by us
- ULONG PortNumber;
+ unsigned int PortNumber;
unsigned char PathId;
unsigned char TargetId;
} STORVSC_DRIVER_OBJECT;
typedef struct _STORVSC_DEVICE_INFO {
- ULONG PortNumber;
+ unsigned int PortNumber;
unsigned char PathId;
unsigned char TargetId;
} STORVSC_DEVICE_INFO;
struct _DLIST_ENTRY *Blink;
} DLIST_ENTRY;
-//
-// unsigned types
-//
-typedef unsigned int ULONG;
-
-//
-// signed types
-//
-typedef int LONG;
-
//
// Other types
//
unsigned char DataIn;
unsigned char Reserved;
- ULONG DataTransferLength;
+ unsigned int DataTransferLength;
union
{
//
// Note: port number is only really known on the client side
//
- ULONG PortNumber;
+ unsigned int PortNumber;
- ULONG Flags;
+ unsigned int Flags;
- ULONG MaxTransferBytes;
+ unsigned int MaxTransferBytes;
//
// This id is unique for each channel and will correspond with
// Flags - see below for values
//
- ULONG Flags;
+ unsigned int Flags;
//
// Status of the request returned from the server side.
//
- ULONG Status;
+ unsigned int Status;
//
// Data payload area