Displaying 3 results from an estimated 3 matches for "num_sect".
2003 Apr 21
3
COM32 Question
Does the COMBOOT stuff with 2.04 work correctly with function calls?
or does one need to write it as one huge function?
If memory serves me correctly, there was some problem if hello.c
was modified to include additional functions, in an earlier
version.
- Murali
2011 Feb 14
2
[PATCH 1/2] staging: hv: Remove dead code from netvsc.c
...,6 @@ static int netvsc_init_recv_buf(struct hv_device *device)
}
/* Parse the response */
- /* ASSERT(netDevice->ReceiveSectionCount == 0); */
- /* ASSERT(netDevice->ReceiveSections == NULL); */
net_device->recv_section_cnt = init_packet->msg.
v1_msg.send_recv_buf_complete.num_sections;
@@ -363,9 +351,6 @@ static int netvsc_init_send_buf(struct hv_device *device)
goto cleanup;
}
- /* page-size grandularity */
- /* ASSERT((netDevice->SendBufferSize & (PAGE_SIZE - 1)) == 0); */
-
net_device->send_buf =
(void *)__get_free_pages(GFP_KERNEL|__GFP_ZERO,
g...
2011 Feb 14
2
[PATCH 1/2] staging: hv: Remove dead code from netvsc.c
...,6 @@ static int netvsc_init_recv_buf(struct hv_device *device)
}
/* Parse the response */
- /* ASSERT(netDevice->ReceiveSectionCount == 0); */
- /* ASSERT(netDevice->ReceiveSections == NULL); */
net_device->recv_section_cnt = init_packet->msg.
v1_msg.send_recv_buf_complete.num_sections;
@@ -363,9 +351,6 @@ static int netvsc_init_send_buf(struct hv_device *device)
goto cleanup;
}
- /* page-size grandularity */
- /* ASSERT((netDevice->SendBufferSize & (PAGE_SIZE - 1)) == 0); */
-
net_device->send_buf =
(void *)__get_free_pages(GFP_KERNEL|__GFP_ZERO,
g...