]> git.baikalelectronics.ru Git - kernel.git/commitdiff
net: hns3: add required space in comment
authorHao Chen <chenhao288@hisilicon.com>
Sat, 28 Aug 2021 06:55:21 +0000 (14:55 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 28 Aug 2021 10:20:05 +0000 (11:20 +0100)
Add some required spaces in comment for cleanup.

Signed-off-by: Hao Chen <chenhao288@hisilicon.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hclge_mbx.h
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c

index aa86a81c8f4af1dcdb696630bf60ab7ea9dd41a0..c2bd2584201f87c509bf8469b92da3ba9a40dfde 100644 (file)
@@ -9,7 +9,7 @@
 
 enum HCLGE_MBX_OPCODE {
        HCLGE_MBX_RESET = 0x01,         /* (VF -> PF) assert reset */
-       HCLGE_MBX_ASSERTING_RESET,      /* (PF -> VF) PF is asserting reset*/
+       HCLGE_MBX_ASSERTING_RESET,      /* (PF -> VF) PF is asserting reset */
        HCLGE_MBX_SET_UNICAST,          /* (VF -> PF) set UC addr */
        HCLGE_MBX_SET_MULTICAST,        /* (VF -> PF) set MC addr */
        HCLGE_MBX_SET_VLAN,             /* (VF -> PF) set VLAN */
index dfad9060c284d4cf7dba070d6ccd08cc8cce62b4..299802995091b85b5484600525f23b69c52206b0 100644 (file)
@@ -348,7 +348,7 @@ enum hns3_pkt_l3type {
        HNS3_L3_TYPE_LLDP,
        HNS3_L3_TYPE_BPDU,
        HNS3_L3_TYPE_MAC_PAUSE,
-       HNS3_L3_TYPE_PFC_PAUSE,/* 0x9*/
+       HNS3_L3_TYPE_PFC_PAUSE, /* 0x9 */
 
        /* reserved for 0xA~0xB */
 
index 0583e88d31d37ac9300f01336800ad3c21780dc4..33244472e0d0e7e820e96a49e0cef8a81b2d0db8 100644 (file)
@@ -453,7 +453,7 @@ struct hclge_tc_thrd {
 };
 
 struct hclge_priv_buf {
-       struct hclge_waterline wl;      /* Waterline for low and high*/
+       struct hclge_waterline wl;      /* Waterline for low and high */
        u32 buf_size;   /* TC private buffer size */
        u32 tx_buf_size;
        u32 enable;     /* Enable TC private buffer or not */
index a1dcdf76fdfe4a7a3f69cffec5e145d970239842..fb1c33cac2a814adc5d1d78da525aa588b5d9da1 100644 (file)
@@ -3421,7 +3421,7 @@ static irqreturn_t hclge_misc_irq_handle(int irq, void *data)
        hclge_enable_vector(&hdev->misc_vector, false);
        event_cause = hclge_check_event_cause(hdev, &clearval);
 
-       /* vector 0 interrupt is shared with reset and mailbox source events.*/
+       /* vector 0 interrupt is shared with reset and mailbox source events. */
        switch (event_cause) {
        case HCLGE_VECTOR0_EVENT_ERR:
                hclge_errhand_task_schedule(hdev);