From mboxrd@z Thu Jan 1 00:00:00 1970 From: Evgeniy Polyakov Subject: Re: [PATCH 2/4] Rename the file hv_utils.c Date: Thu, 9 Dec 2010 01:55:24 +0300 Message-ID: <20101208225524.GA11869@ioremap.net> References: <4CFFA39202000030000918CC@novprvoes0310.provo.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <4CFFA39202000030000918CC@novprvoes0310.provo.novell.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: devel-bounces@linuxdriverproject.org Errors-To: devel-bounces@linuxdriverproject.org To: Ky Srinivasan Cc: devel@driverdev.osuosl.org, Haiyang Zhang , Greg KH , Virtualization@lists.osdl.org, Stephen Hemminger List-Id: virtualization@lists.linuxfoundation.org You must be kidding. The same in hv_kvp_onchannelcallback() and probably anywhere else. On Wed, Dec 08, 2010 at 03:26:10PM -0700, Ky Srinivasan (ksrinivasan@novell.com) wrote: > +static void shutdown_onchannelcallback(void *context) > +{ > + struct vmbus_channel *channel = context; > + u8 *buf; > + u32 buflen, recvlen; > + u64 requestid; > + u8 execute_shutdown = false; > + > + struct shutdown_msg_data *shutdown_msg; > + > + struct icmsg_hdr *icmsghdrp; > + struct icmsg_negotiate *negop = NULL; > + > + buflen = PAGE_SIZE; > + buf = kmalloc(buflen, GFP_ATOMIC); > + > + vmbus_recvpacket(channel, buf, buflen, &recvlen, &requestid); > + > +static void timesync_onchannelcallback(void *context) > +{ > + struct vmbus_channel *channel = context; > + u8 *buf; > + u32 buflen, recvlen; > + u64 requestid; > + struct icmsg_hdr *icmsghdrp; > + struct ictimesync_data *timedatap; > + > + buflen = PAGE_SIZE; > + buf = kmalloc(buflen, GFP_ATOMIC); > + > + vmbus_recvpacket(channel, buf, buflen, &recvlen, &requestid); > +static void heartbeat_onchannelcallback(void *context) > +{ > + struct vmbus_channel *channel = context; > + u8 *buf; > + u32 buflen, recvlen; > + u64 requestid; > + struct icmsg_hdr *icmsghdrp; > + struct heartbeat_msg_data *heartbeat_msg; > + > + buflen = PAGE_SIZE; > + buf = kmalloc(buflen, GFP_ATOMIC); > + > + vmbus_recvpacket(channel, buf, buflen, &recvlen, &requestid); -- Evgeniy Polyakov