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

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -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 {
	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 {
+1 −1
Original line number Original line Diff line number Diff line
@@ -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,