Staging: hv: Channel.c: fix up compiler warning
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 6 May 2010 04:04:19 +0000 (21:04 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:36:15 +0000 (11:36 -0700)
In the series of ASSERT removals, somehow we ended up with a compiler
warning in Channel.c.  This patch fixes that up.

Cc: Bill Pemberton <wfp5p@virginia.edu>
Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/Channel.c

index 158f62d8553af66444a88cfb006b1da18103fa0d..eab7d16dd5ef6754f597b01d5c796e5fa8394645 100644 (file)
@@ -376,7 +376,7 @@ static int VmbusChannelCreateGpadlHeader(void *Kbuffer, u32 Size,
        struct vmbus_channel_gpadl_header *gpaHeader;
        struct vmbus_channel_gpadl_body *gpadlBody;
        struct vmbus_channel_msginfo *msgHeader;
-       struct vmbus_channel_msginfo *msgBody;
+       struct vmbus_channel_msginfo *msgBody = NULL;
        u32 msgSize;
 
        int pfnSum, pfnCount, pfnLeft, pfnCurr, pfnSize;