Commit 034469e6 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

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: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 6658be6a
......@@ -384,12 +384,9 @@ void HvCleanup (void)
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 @@ HV_STATUS HvPostMessage(
involves a hypercall.
--*/
HV_STATUS HvSignalEvent(void)
u16 HvSignalEvent(void)
{
HV_STATUS status;
u16 status;
status = HvDoHypercall(HvCallSignalEvent, gHvContext.SignalEventParam, NULL) & 0xFFFF;
......
......@@ -132,12 +132,11 @@ extern int HvInit(void);
extern void HvCleanup(void);
extern HV_STATUS HvPostMessage(union hv_connection_id connectionId,
enum hv_message_type messageType,
void *payload,
size_t payloadSize);
extern u16 HvPostMessage(union hv_connection_id connectionId,
enum hv_message_type messageType,
void *payload, size_t payloadSize);
extern HV_STATUS HvSignalEvent(void);
extern u16 HvSignalEvent(void);
extern int HvSynicInit(u32 irqVector);
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment