diff options
-rw-r--r-- | drivers/net/hyperv/netvsc.c | 6 | ||||
-rw-r--r-- | drivers/net/hyperv/rndis_filter.c | 5 |
2 files changed, 6 insertions, 5 deletions
diff --git a/drivers/net/hyperv/netvsc.c b/drivers/net/hyperv/netvsc.c index 58bb4102afac..208eb05446ba 100644 --- a/drivers/net/hyperv/netvsc.c +++ b/drivers/net/hyperv/netvsc.c | |||
@@ -685,9 +685,9 @@ static u32 netvsc_get_next_send_section(struct netvsc_device *net_device) | |||
685 | return ret_val; | 685 | return ret_val; |
686 | } | 686 | } |
687 | 687 | ||
688 | u32 netvsc_copy_to_send_buf(struct netvsc_device *net_device, | 688 | static u32 netvsc_copy_to_send_buf(struct netvsc_device *net_device, |
689 | unsigned int section_index, | 689 | unsigned int section_index, |
690 | struct hv_netvsc_packet *packet) | 690 | struct hv_netvsc_packet *packet) |
691 | { | 691 | { |
692 | char *start = net_device->send_buf; | 692 | char *start = net_device->send_buf; |
693 | char *dest = (start + (section_index * net_device->send_section_size)); | 693 | char *dest = (start + (section_index * net_device->send_section_size)); |
diff --git a/drivers/net/hyperv/rndis_filter.c b/drivers/net/hyperv/rndis_filter.c index 7bd83870b2a7..7816d98bdddc 100644 --- a/drivers/net/hyperv/rndis_filter.c +++ b/drivers/net/hyperv/rndis_filter.c | |||
@@ -624,7 +624,8 @@ cleanup: | |||
624 | return ret; | 624 | return ret; |
625 | } | 625 | } |
626 | 626 | ||
627 | int rndis_filter_set_offload_params(struct hv_device *hdev, | 627 | static int |
628 | rndis_filter_set_offload_params(struct hv_device *hdev, | ||
628 | struct ndis_offload_params *req_offloads) | 629 | struct ndis_offload_params *req_offloads) |
629 | { | 630 | { |
630 | struct netvsc_device *nvdev = hv_get_drvdata(hdev); | 631 | struct netvsc_device *nvdev = hv_get_drvdata(hdev); |
@@ -699,7 +700,7 @@ u8 netvsc_hash_key[HASH_KEYLEN] = { | |||
699 | 0x6a, 0x42, 0xb7, 0x3b, 0xbe, 0xac, 0x01, 0xfa | 700 | 0x6a, 0x42, 0xb7, 0x3b, 0xbe, 0xac, 0x01, 0xfa |
700 | }; | 701 | }; |
701 | 702 | ||
702 | int rndis_filter_set_rss_param(struct rndis_device *rdev, int num_queue) | 703 | static int rndis_filter_set_rss_param(struct rndis_device *rdev, int num_queue) |
703 | { | 704 | { |
704 | struct net_device *ndev = rdev->net_dev->ndev; | 705 | struct net_device *ndev = rdev->net_dev->ndev; |
705 | struct rndis_request *request; | 706 | struct rndis_request *request; |