Message ID | 1322666348-6554-1-git-send-email-haiyangz@microsoft.com |
---|---|
State | Superseded, archived |
Delegated to: | David Miller |
Headers | show |
Well, since Greg's tree is where the staging move happened, he'll have to take any patches to this driver that happen now, rather than me. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
> -----Original Message----- > From: David Miller [mailto:davem@davemloft.net] > Sent: Wednesday, November 30, 2011 12:36 PM > To: Haiyang Zhang > Cc: KY Srinivasan; gregkh@suse.de; linux-kernel@vger.kernel.org; > netdev@vger.kernel.org; devel@linuxdriverproject.org > Subject: Re: [PATCH 1/2] net/hyperv: Fix long lines in netvsc.c > > > Well, since Greg's tree is where the staging move happened, he'll have > to take any patches to this driver that happen now, rather than me. Sounds good. And, these patches were sent to devel@linuxdriverproject.org too. Greg, could you consider these patches for your tree? Thanks, - Haiyang -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Wed, Nov 30, 2011 at 07:13:49PM +0000, Haiyang Zhang wrote: > > -----Original Message----- > > From: David Miller [mailto:davem@davemloft.net] > > Sent: Wednesday, November 30, 2011 12:36 PM > > To: Haiyang Zhang > > Cc: KY Srinivasan; gregkh@suse.de; linux-kernel@vger.kernel.org; > > netdev@vger.kernel.org; devel@linuxdriverproject.org > > Subject: Re: [PATCH 1/2] net/hyperv: Fix long lines in netvsc.c > > > > > > Well, since Greg's tree is where the staging move happened, he'll have > > to take any patches to this driver that happen now, rather than me. > > Sounds good. And, these patches were sent to devel@linuxdriverproject.org > too. > > Greg, could you consider these patches for your tree? Yes, I'll queue them up, thanks. greg k-h -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/net/hyperv/netvsc.c b/drivers/net/hyperv/netvsc.c index 28e69a6..4a807e4 100644 --- a/drivers/net/hyperv/netvsc.c +++ b/drivers/net/hyperv/netvsc.c @@ -230,9 +230,11 @@ static int netvsc_init_recv_buf(struct hv_device *device) net_device->recv_section_cnt = init_packet->msg. v1_msg.send_recv_buf_complete.num_sections; - net_device->recv_section = kmemdup(init_packet->msg.v1_msg.send_recv_buf_complete.sections, - net_device->recv_section_cnt * sizeof(struct nvsp_1_receive_buffer_section), - GFP_KERNEL); + net_device->recv_section = kmemdup( + init_packet->msg.v1_msg.send_recv_buf_complete.sections, + net_device->recv_section_cnt * + sizeof(struct nvsp_1_receive_buffer_section), + GFP_KERNEL); if (net_device->recv_section == NULL) { ret = -EINVAL; goto cleanup;