Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c1813200 authored by Haiyang Zhang's avatar Haiyang Zhang Committed by Greg Kroah-Hartman
Browse files

net/hyperv: Fix long lines in netvsc.c

parent 4bd8b4de
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -230,8 +230,10 @@ 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),
	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;