netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] net/hyperv: Fix long lines in netvsc.c
@ 2011-11-30 15:19 Haiyang Zhang
  2011-11-30 15:19 ` [PATCH 2/2] net/hyperv: Add support for promiscuous mode setting Haiyang Zhang
  2011-11-30 17:36 ` [PATCH 1/2] net/hyperv: Fix long lines in netvsc.c David Miller
  0 siblings, 2 replies; 5+ messages in thread
From: Haiyang Zhang @ 2011-11-30 15:19 UTC (permalink / raw)
  To: haiyangz, kys, davem, gregkh, linux-kernel, netdev, devel

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>

---
 drivers/net/hyperv/netvsc.c |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

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;
-- 
1.7.4.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-11-30 21:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-30 15:19 [PATCH 1/2] net/hyperv: Fix long lines in netvsc.c Haiyang Zhang
2011-11-30 15:19 ` [PATCH 2/2] net/hyperv: Add support for promiscuous mode setting Haiyang Zhang
2011-11-30 17:36 ` [PATCH 1/2] net/hyperv: Fix long lines in netvsc.c David Miller
2011-11-30 19:13   ` Haiyang Zhang
2011-11-30 21:57     ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).