From: Greg Kroah-Hartman Date: Wed, 29 Jul 2009 16:05:33 +0000 (-0700) Subject: Staging: hv: fix sparse function warnings X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=127729066686c363c405c586731235443c03c252;p=deliverable%2Flinux.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/hv/Connection.c b/drivers/staging/hv/Connection.c index d017c2725d52..a2888cb46709 100644 --- a/drivers/staging/hv/Connection.c +++ b/drivers/staging/hv/Connection.c @@ -45,8 +45,7 @@ Description: --*/ static int -VmbusConnect( - ) +VmbusConnect(void) { int ret=0; VMBUS_CHANNEL_MSGINFO *msgInfo=NULL; diff --git a/drivers/staging/hv/Hv.c b/drivers/staging/hv/Hv.c index c19c527f7058..ef328d0d3821 100644 --- a/drivers/staging/hv/Hv.c +++ b/drivers/staging/hv/Hv.c @@ -445,8 +445,7 @@ Description: --*/ static HV_STATUS -HvSignalEvent( - ) +HvSignalEvent(void) { HV_STATUS status;