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>
This commit is contained in:
Haiyang Zhang 2011-11-30 07:19:07 -08:00 committed by Greg Kroah-Hartman
parent 4bd8b4de6f
commit c18132005e

View File

@ -230,9 +230,11 @@ static int netvsc_init_recv_buf(struct hv_device *device)
net_device->recv_section_cnt = init_packet->msg. net_device->recv_section_cnt = init_packet->msg.
v1_msg.send_recv_buf_complete.num_sections; 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 = kmemdup(
net_device->recv_section_cnt * sizeof(struct nvsp_1_receive_buffer_section), init_packet->msg.v1_msg.send_recv_buf_complete.sections,
GFP_KERNEL); net_device->recv_section_cnt *
sizeof(struct nvsp_1_receive_buffer_section),
GFP_KERNEL);
if (net_device->recv_section == NULL) { if (net_device->recv_section == NULL) {
ret = -EINVAL; ret = -EINVAL;
goto cleanup; goto cleanup;