Commit 12772906 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Staging: hv: fix sparse function warnings

This fixes up all of the sparse warnings about functions not being
properly declared.  Meaning, void functions need to say they are a void
function, otherwise the compiler assumes it is an integer here.

Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent bd1de709
...@@ -45,8 +45,7 @@ struct VMBUS_CONNECTION gVmbusConnection = { ...@@ -45,8 +45,7 @@ struct VMBUS_CONNECTION gVmbusConnection = {
--*/ --*/
static int static int
VmbusConnect( VmbusConnect(void)
)
{ {
int ret=0; int ret=0;
VMBUS_CHANNEL_MSGINFO *msgInfo=NULL; VMBUS_CHANNEL_MSGINFO *msgInfo=NULL;
......
...@@ -445,8 +445,7 @@ HvPostMessage( ...@@ -445,8 +445,7 @@ HvPostMessage(
--*/ --*/
static HV_STATUS static HV_STATUS
HvSignalEvent( HvSignalEvent(void)
)
{ {
HV_STATUS status; HV_STATUS status;
......
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