Commit 4fb3ebbf authored by Zheng Yongjun's avatar Zheng Yongjun Committed by David S. Miller

net/ncsi: Fix spelling mistakes

Fix some spelling mistakes in comments:
constuct  ==> construct
chanels  ==> channels
Detination  ==> Destination
Signed-off-by: default avatarZheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 974d8f86
...@@ -238,7 +238,7 @@ struct ncsi_package { ...@@ -238,7 +238,7 @@ struct ncsi_package {
struct ncsi_dev_priv *ndp; /* NCSI device */ struct ncsi_dev_priv *ndp; /* NCSI device */
spinlock_t lock; /* Protect the package */ spinlock_t lock; /* Protect the package */
unsigned int channel_num; /* Number of channels */ unsigned int channel_num; /* Number of channels */
struct list_head channels; /* List of chanels */ struct list_head channels; /* List of channels */
struct list_head node; /* Form list of packages */ struct list_head node; /* Form list of packages */
bool multi_channel; /* Enable multiple channels */ bool multi_channel; /* Enable multiple channels */
...@@ -339,7 +339,7 @@ struct ncsi_cmd_arg { ...@@ -339,7 +339,7 @@ struct ncsi_cmd_arg {
unsigned char type; /* Command in the NCSI packet */ unsigned char type; /* Command in the NCSI packet */
unsigned char id; /* Request ID (sequence number) */ unsigned char id; /* Request ID (sequence number) */
unsigned char package; /* Destination package ID */ unsigned char package; /* Destination package ID */
unsigned char channel; /* Detination channel ID or 0x1f */ unsigned char channel; /* Destination channel ID or 0x1f */
unsigned short payload; /* Command packet payload length */ unsigned short payload; /* Command packet payload length */
unsigned int req_flags; /* NCSI request properties */ unsigned int req_flags; /* NCSI request properties */
union { union {
......
...@@ -627,7 +627,7 @@ static int clear_one_vid(struct ncsi_dev_priv *ndp, struct ncsi_channel *nc, ...@@ -627,7 +627,7 @@ static int clear_one_vid(struct ncsi_dev_priv *ndp, struct ncsi_channel *nc,
return 0; return 0;
} }
/* Find an outstanding VLAN tag and constuct a "Set VLAN Filter - Enable" /* Find an outstanding VLAN tag and construct a "Set VLAN Filter - Enable"
* packet. * packet.
*/ */
static int set_one_vid(struct ncsi_dev_priv *ndp, struct ncsi_channel *nc, static int set_one_vid(struct ncsi_dev_priv *ndp, struct ncsi_channel *nc,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment