aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorHaiyang Zhang <haiyangz@microsoft.com>2011-11-30 10:19:07 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2011-12-01 13:25:25 -0500
commitc18132005e711c07523d8c6602e5b2266ab9a0f2 (patch)
treed10f283961912d1780ec08d9bd4560cc843a53d5 /drivers/net
parent4bd8b4de6f806f1429d23a2f6e2549ed0e8bc49b (diff)
net/hyperv: Fix long lines in netvsc.c
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/hyperv/netvsc.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/net/hyperv/netvsc.c b/drivers/net/hyperv/netvsc.c
index 28e69a6c74a1..4a807e44ec60 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)
230 net_device->recv_section_cnt = init_packet->msg. 230 net_device->recv_section_cnt = init_packet->msg.
231 v1_msg.send_recv_buf_complete.num_sections; 231 v1_msg.send_recv_buf_complete.num_sections;
232 232
233 net_device->recv_section = kmemdup(init_packet->msg.v1_msg.send_recv_buf_complete.sections, 233 net_device->recv_section = kmemdup(
234 net_device->recv_section_cnt * sizeof(struct nvsp_1_receive_buffer_section), 234 init_packet->msg.v1_msg.send_recv_buf_complete.sections,
235 GFP_KERNEL); 235 net_device->recv_section_cnt *
236 sizeof(struct nvsp_1_receive_buffer_section),
237 GFP_KERNEL);
236 if (net_device->recv_section == NULL) { 238 if (net_device->recv_section == NULL) {
237 ret = -EINVAL; 239 ret = -EINVAL;
238 goto cleanup; 240 goto cleanup;