mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 00:22:00 +02:00
net: hns3: fix a typo in struct hclge_mac
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>
This commit is contained in:
parent
e639436339
commit
a3a0ff0150
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user