From: Greg Kroah-Hartman Date: Thu, 6 May 2010 04:04:19 +0000 (-0700) Subject: Staging: hv: Channel.c: fix up compiler warning X-Git-Tag: v2.6.35-rc1~441^2^2~151 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=e61fbe66cbe10fed6bcc2d07ac802a7386b93673;p=linux-2.6-block.git Staging: hv: Channel.c: fix up compiler warning 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 Cc: Hank Janssen Cc: Haiyang Zhang Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/hv/Channel.c b/drivers/staging/hv/Channel.c index 158f62d8553a..eab7d16dd5ef 100644 --- a/drivers/staging/hv/Channel.c +++ b/drivers/staging/hv/Channel.c @@ -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;