net: hns3: fix a typo in struct hclge_mac
authorGuangbin Huang <huangguangbin2@huawei.com>
Tue, 8 Sep 2020 02:59:50 +0000 (10:59 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Sep 2020 02:51:40 +0000 (19:51 -0700)
The member link of struct hclge_mac stores the link status of
MAC and PHY if PHY exists, but its annotation uses word "exit",
so fix it.

Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h

index 9bbdd4557c271c620179a9f539db94d37fd689ec..33e1af1df5e730dcf15b2690ceafe9211053dc29 100644 (file)
@@ -266,7 +266,7 @@ struct hclge_mac {
        u32 fec_mode; /* active fec mode */
        u32 user_fec_mode;
        u32 fec_ability;
-       int link;       /* store the link status of mac & phy (if phy exit) */
+       int link;       /* store the link status of mac & phy (if phy exists) */
        struct phy_device *phydev;
        struct mii_bus *mdio_bus;
        phy_interface_t phy_if;