aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon/hns
diff options
context:
space:
mode:
authorPeng Li <lipeng321@huawei.com>2021-05-14 15:31:39 +0800
committerDavid S. Miller <davem@davemloft.net>2021-05-14 15:09:24 -0700
commit699e803e9a4d1c8676c77bfa7b085a1f73083e64 (patch)
tree98af6989df4e8e1b8a0de40bac991f2e58c35e3f /drivers/net/ethernet/hisilicon/hns
parentMerge branch 'hns3-next' (diff)
downloadlinux-dev-699e803e9a4d1c8676c77bfa7b085a1f73083e64.tar.xz
linux-dev-699e803e9a4d1c8676c77bfa7b085a1f73083e64.zip
net: hns: fix the comments style issue
Networking block comments don't use an empty /* line, use /* Comment... This patch fix the comments style issue. Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns')
-rw-r--r--drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c b/drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c
index f4cf569a2599..de6f051f5b0b 100644
--- a/drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c
+++ b/drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c
@@ -914,8 +914,7 @@ static int hns_mac_get_info(struct hns_mac_cb *mac_cb)
}
} else if (is_acpi_node(mac_cb->fw_port)) {
ret = hns_mac_register_phy(mac_cb);
- /*
- * Mac can work well if there is phy or not.If the port don't
+ /* Mac can work well if there is phy or not.If the port don't
* connect with phy, the return value will be ignored. Only
* when there is phy but can't find mdio bus, the return value
* will be handled.