Skip to content

Commit

Permalink
Staging: hv: fix sparse function warnings
Browse files Browse the repository at this point in the history
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: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Greg Kroah-Hartman committed Sep 15, 2009
1 parent bd1de70 commit 1277290
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions drivers/staging/hv/Connection.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ struct VMBUS_CONNECTION gVmbusConnection = {
--*/
static int
VmbusConnect(
)
VmbusConnect(void)
{
int ret=0;
VMBUS_CHANNEL_MSGINFO *msgInfo=NULL;
Expand Down
3 changes: 1 addition & 2 deletions drivers/staging/hv/Hv.c
Original file line number Diff line number Diff line change
Expand Up @@ -445,8 +445,7 @@ HvPostMessage(
--*/
static HV_STATUS
HvSignalEvent(
)
HvSignalEvent(void)
{
HV_STATUS status;

Expand Down

0 comments on commit 1277290

Please sign in to comment.