summaryrefslogtreecommitdiffstats
path: root/drivers/staging/hv/Hv.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-08-20 12:14:11 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 12:01:58 -0700
commit034469e6338b8d683419e3ee7f2543419dd5b574 (patch)
treec2b1469f72c2ea35b18fb3538eeb0aafc5d36781 /drivers/staging/hv/Hv.c
parent6658be6ad728c347df33b8593b75aafa3c52eeba (diff)
Staging: hv: coding style cleanups for HvStatus.h
Ugh, what a mess, it's all better now. 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.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/drivers/staging/hv/Hv.c b/drivers/staging/hv/Hv.c
index 468401b48e4..3800bf32481 100644
--- a/drivers/staging/hv/Hv.c
+++ b/drivers/staging/hv/Hv.c
@@ -384,12 +384,9 @@ Description:
involves a hypercall.
--*/
-HV_STATUS HvPostMessage(
- union hv_connection_id connectionId,
- enum hv_message_type messageType,
- void * payload,
- size_t payloadSize
- )
+u16 HvPostMessage(union hv_connection_id connectionId,
+ enum hv_message_type messageType,
+ void *payload, size_t payloadSize)
{
struct alignedInput {
u64 alignment8;
@@ -397,7 +394,7 @@ HV_STATUS HvPostMessage(
};
struct hv_input_post_message *alignedMsg;
- HV_STATUS status;
+ u16 status;
unsigned long addr;
if (payloadSize > HV_MESSAGE_PAYLOAD_BYTE_COUNT)
@@ -437,9 +434,9 @@ Description:
involves a hypercall.
--*/
-HV_STATUS HvSignalEvent(void)
+u16 HvSignalEvent(void)
{
- HV_STATUS status;
+ u16 status;
status = HvDoHypercall(HvCallSignalEvent, gHvContext.SignalEventParam, NULL) & 0xFFFF;