diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-08-26 22:16:04 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 19:01:58 (GMT) |
commit | 82250213d08689ab34589923be3064bb8f4c1964 (patch) | |
tree | acabbdfa1e0bfe56801a5c76dcf3bcc5d738c799 /drivers/staging/hv/Connection.c | |
parent | 314b1c8b1064f4727687bd374aa4ccbe5f10b6ab (diff) | |
download | linux-fsl-qoriq-82250213d08689ab34589923be3064bb8f4c1964.tar.xz |
Staging: hv: typedef removal for ChannelMessages.h
ChannelMessages.h is now coding style clean.
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/Connection.c')
-rw-r--r-- | drivers/staging/hv/Connection.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/hv/Connection.c b/drivers/staging/hv/Connection.c index 5cdfbc9..d8ff49d 100644 --- a/drivers/staging/hv/Connection.c +++ b/drivers/staging/hv/Connection.c @@ -51,7 +51,7 @@ int VmbusConnect(void) { int ret=0; struct vmbus_channel_msginfo *msgInfo = NULL; - VMBUS_CHANNEL_INITIATE_CONTACT *msg; + struct vmbus_channel_initiate_contact *msg; unsigned long flags; DPRINT_ENTER(VMBUS); @@ -100,7 +100,7 @@ int VmbusConnect(void) goto Cleanup; } - msgInfo = kzalloc(sizeof(*msgInfo) + sizeof(VMBUS_CHANNEL_INITIATE_CONTACT), GFP_KERNEL); + msgInfo = kzalloc(sizeof(*msgInfo) + sizeof(struct vmbus_channel_initiate_contact), GFP_KERNEL); if (msgInfo == NULL) { ret = -1; @@ -108,7 +108,7 @@ int VmbusConnect(void) } msgInfo->WaitEvent = osd_WaitEventCreate(); - msg = (VMBUS_CHANNEL_INITIATE_CONTACT*)msgInfo->Msg; + msg = (struct vmbus_channel_initiate_contact *)msgInfo->Msg; msg->Header.MessageType = ChannelMessageInitiateContact; msg->VMBusVersionRequested = VMBUS_REVISION_NUMBER; @@ -129,7 +129,7 @@ int VmbusConnect(void) DPRINT_DBG(VMBUS, "Sending channel initiate msg..."); - ret = VmbusPostMessage(msg, sizeof(VMBUS_CHANNEL_INITIATE_CONTACT)); + ret = VmbusPostMessage(msg, sizeof(struct vmbus_channel_initiate_contact)); if (ret != 0) { REMOVE_ENTRY_LIST(&msgInfo->MsgListEntry); @@ -208,7 +208,7 @@ Description: int VmbusDisconnect(void) { int ret=0; - VMBUS_CHANNEL_UNLOAD *msg; + struct vmbus_channel_message_header *msg; DPRINT_ENTER(VMBUS); @@ -216,11 +216,11 @@ int VmbusDisconnect(void) if (gVmbusConnection.ConnectState != Connected) return -1; - msg = kzalloc(sizeof(VMBUS_CHANNEL_UNLOAD), GFP_KERNEL); + msg = kzalloc(sizeof(struct vmbus_channel_message_header), GFP_KERNEL); msg->MessageType = ChannelMessageUnload; - ret = VmbusPostMessage(msg, sizeof(VMBUS_CHANNEL_UNLOAD)); + ret = VmbusPostMessage(msg, sizeof(struct vmbus_channel_message_header)); if (ret != 0) { |