summaryrefslogtreecommitdiff
path: root/drivers/staging/hv/Hv.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-08-19 16:21:28 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 12:01:56 -0700
commitcba4decdd3dcd224b17631572456951aace0a27e (patch)
treecb124729ece543f828c302643cfd756a809f3915 /drivers/staging/hv/Hv.c
parent910d7b31f598a1ce7a0325889537aa993ed1ce1c (diff)
Staging: hv: coding style cleanup of include/HvHcApi.h
Coding style fixes for include/HvHcApi.h Cc: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/Hv.c')
-rw-r--r--drivers/staging/hv/Hv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/hv/Hv.c b/drivers/staging/hv/Hv.c
index 31459f76f16..e48033ee84b 100644
--- a/drivers/staging/hv/Hv.c
+++ b/drivers/staging/hv/Hv.c
@@ -306,7 +306,7 @@ int HvInit (void)
goto Cleanup;
}
- gHvContext.SignalEventParam = (PHV_INPUT_SIGNAL_EVENT)(ALIGN_UP((unsigned long)gHvContext.SignalEventBuffer, HV_HYPERCALL_PARAM_ALIGN));
+ gHvContext.SignalEventParam = (struct hv_input_signal_event *)(ALIGN_UP((unsigned long)gHvContext.SignalEventBuffer, HV_HYPERCALL_PARAM_ALIGN));
gHvContext.SignalEventParam->ConnectionId.Asu32 = 0;
gHvContext.SignalEventParam->ConnectionId.u.Id = VMBUS_EVENT_CONNECTION_ID;
gHvContext.SignalEventParam->FlagNumber = 0;
@@ -393,10 +393,10 @@ HV_STATUS HvPostMessage(
{
struct alignedInput {
u64 alignment8;
- HV_INPUT_POST_MESSAGE msg;
+ struct hv_input_post_message msg;
};
- PHV_INPUT_POST_MESSAGE alignedMsg;
+ struct hv_input_post_message *alignedMsg;
HV_STATUS status;
unsigned long addr;
@@ -412,7 +412,7 @@ HV_STATUS HvPostMessage(
return -1;
}
- alignedMsg = (PHV_INPUT_POST_MESSAGE)(ALIGN_UP(addr, HV_HYPERCALL_PARAM_ALIGN));
+ alignedMsg = (struct hv_input_post_message *)(ALIGN_UP(addr, HV_HYPERCALL_PARAM_ALIGN));
alignedMsg->ConnectionId = connectionId;
alignedMsg->MessageType = messageType;