It's all clean now.
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
typedef struct _VMBUS_CHANNEL_OFFER_CHANNEL
{
VMBUS_CHANNEL_MESSAGE_HEADER Header;
- VMBUS_CHANNEL_OFFER Offer;
+ struct vmbus_channel_offer Offer;
u32 ChildRelId;
u8 MonitorId;
bool MonitorAllocated;
/* GPADL for the channel's ring buffer. */
- GPADL_HANDLE RingBufferGpadlHandle;
+ u32 RingBufferGpadlHandle;
/* GPADL for the channel's server context save area. */
- GPADL_HANDLE ServerContextAreaGpadlHandle;
+ u32 ServerContextAreaGpadlHandle;
/*
* At the center of the Channel Management library is the Channel Offer. This
* struct contains the fundamental information about an offer.
*/
-typedef struct {
+struct vmbus_channel_offer {
struct hv_guid InterfaceType;
struct hv_guid InterfaceInstance;
u64 InterruptLatencyIn100nsUnits;
} Pipe;
} u;
u32 Padding;
-} __attribute__((packed)) VMBUS_CHANNEL_OFFER, *PVMBUS_CHANNEL_OFFER;
-
-typedef u32 GPADL_HANDLE;
+} __attribute__((packed));
/* Server Flags */
#define VMBUS_CHANNEL_ENUMERATE_DEVICE_INTERFACE 1
typedef struct _NVSP_1_MESSAGE_SEND_RECEIVE_BUFFER
{
- GPADL_HANDLE GpadlHandle;
+ u32 GpadlHandle;
u16 Id;
} NVSP_1_MESSAGE_SEND_RECEIVE_BUFFER, *PNVSP_1_MESSAGE_SEND_RECEIVE_BUFFER;
typedef struct _NVSP_1_MESSAGE_SEND_SEND_BUFFER
{
- GPADL_HANDLE GpadlHandle;
+ u32 GpadlHandle;
u16 Id;
} NVSP_1_MESSAGE_SEND_SEND_BUFFER, *PNVSP_1_MESSAGE_SEND_SEND_BUFFER;