summaryrefslogtreecommitdiffstats
path: root/drivers/staging/hv/Connection.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2009-07-29 18:05:33 +0200
committerGreg Kroah-Hartman2009-09-15 21:01:53 +0200
commit127729066686c363c405c586731235443c03c252 (patch)
tree52ce81a0dc7bb48e509596207b7423972eac2c43 /drivers/staging/hv/Connection.c
parentStaging: hv: fix sparse static warnings (diff)
downloadkernel-qcow2-linux-127729066686c363c405c586731235443c03c252.tar.gz
kernel-qcow2-linux-127729066686c363c405c586731235443c03c252.tar.xz
kernel-qcow2-linux-127729066686c363c405c586731235443c03c252.zip
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: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/Connection.c')
-rw-r--r--drivers/staging/hv/Connection.c3
1 files changed, 1 insertions, 2 deletions
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;