net/ncsi: Fix spelling mistakes
authorZheng Yongjun <zhengyongjun3@huawei.com>
Mon, 7 Jun 2021 15:01:18 +0000 (23:01 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Jun 2021 21:08:30 +0000 (14:08 -0700)
Fix some spelling mistakes in comments:
constuct  ==> construct
chanels  ==> channels
Detination  ==> Destination

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ncsi/internal.h
net/ncsi/ncsi-manage.c

index 49031f8..cbbb0de 100644 (file)
@@ -238,7 +238,7 @@ struct ncsi_package {
        struct ncsi_dev_priv *ndp;        /* NCSI device            */
        spinlock_t           lock;        /* Protect the package    */
        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  */
 
        bool                 multi_channel; /* Enable multiple channels  */
@@ -339,7 +339,7 @@ struct ncsi_cmd_arg {
        unsigned char        type;        /* Command in the NCSI packet    */
        unsigned char        id;          /* Request ID (sequence number)  */
        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 int         req_flags;   /* NCSI request properties       */
        union {
index ffff8da..ca04b6d 100644 (file)
@@ -627,7 +627,7 @@ static int clear_one_vid(struct ncsi_dev_priv *ndp, struct ncsi_channel *nc,
        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.
  */
 static int set_one_vid(struct ncsi_dev_priv *ndp, struct ncsi_channel *nc,