Skip to content

Commit

Permalink
hv_netvsc: fix comments
Browse files Browse the repository at this point in the history
Typo's and spelling errors. Also remove old comment from staging era.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Sep 24, 2016
1 parent 15a0990 commit c6a77ff
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions drivers/net/hyperv/hyperv_net.h
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ struct nvsp_1_message_revoke_send_buffer {
*/
struct nvsp_1_message_send_rndis_packet {
/*
* This field is specified by RNIDS. They assume there's two different
* This field is specified by RNDIS. They assume there's two different
* channels of communication. However, the Network VSP only has one.
* Therefore, the channel travels with the RNDIS packet.
*/
Expand Down Expand Up @@ -578,7 +578,7 @@ struct nvsp_5_send_indirect_table {
/* The number of entries in the send indirection table */
u32 count;

/* The offset of the send indireciton table from top of this struct.
/* The offset of the send indirection table from top of this struct.
* The send indirection table tells which channel to put the send
* traffic on. Each entry is a channel number.
*/
Expand Down Expand Up @@ -734,7 +734,6 @@ struct netvsc_device {
struct nvsp_message channel_init_pkt;

struct nvsp_message revoke_packet;
/* unsigned char HwMacAddr[HW_MACADDR_LEN]; */

struct vmbus_channel *chn_table[VRSS_CHANNEL_MAX];
u32 send_table[VRSS_SEND_TAB_SIZE];
Expand Down Expand Up @@ -1239,7 +1238,7 @@ struct rndis_message {
u32 ndis_msg_type;

/* Total length of this message, from the beginning */
/* of the sruct rndis_message, in bytes. */
/* of the struct rndis_message, in bytes. */
u32 msg_len;

/* Actual message */
Expand Down

0 comments on commit c6a77ff

Please sign in to comment.