summaryrefslogtreecommitdiffstats
path: root/drivers/staging/hv/Connection.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2009-07-29 18:04:51 +0200
committerGreg Kroah-Hartman2009-09-15 21:01:52 +0200
commitbd1de709165a4f59878d4a272370fa228aa753f7 (patch)
treee4e112734f4632962790284721548c874bae0820 /drivers/staging/hv/Connection.c
parentStaging: hv: Remove typedef STORVSC_REQUEST and PSTORVSC_REQUEST (diff)
downloadkernel-qcow2-linux-bd1de709165a4f59878d4a272370fa228aa753f7.tar.gz
kernel-qcow2-linux-bd1de709165a4f59878d4a272370fa228aa753f7.tar.xz
kernel-qcow2-linux-bd1de709165a4f59878d4a272370fa228aa753f7.zip
Staging: hv: fix sparse static warnings
This fixes up all of the sparse warnings about static functions. 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.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/staging/hv/Connection.c b/drivers/staging/hv/Connection.c
index 7b480f0de5b0..d017c2725d52 100644
--- a/drivers/staging/hv/Connection.c
+++ b/drivers/staging/hv/Connection.c
@@ -44,7 +44,7 @@ Description:
Sends a connect request on the partition service connection
--*/
-int
+static int
VmbusConnect(
)
{
@@ -198,7 +198,7 @@ Description:
Sends a disconnect request on the partition service connection
--*/
-int
+static int
VmbusDisconnect(
void
)
@@ -254,7 +254,7 @@ Description:
Get the channel object given its child relative id (ie channel id)
--*/
-VMBUS_CHANNEL*
+static VMBUS_CHANNEL*
GetChannelFromRelId(
u32 relId
)
@@ -329,7 +329,7 @@ Description:
Handler for events
--*/
-void
+static void
VmbusOnEvents(
void
)
@@ -389,7 +389,7 @@ Description:
Send a msg on the vmbus's message connection
--*/
-int
+static int
VmbusPostMessage(
void * buffer,
size_t bufferLen
@@ -419,7 +419,7 @@ Description:
Send an event notification to the parent
--*/
-int
+static int
VmbusSetEvent(u32 childRelId)
{
int ret=0;