Re: [PATCH net 2/2] net: hns: fix fake link up on xge port

From: Jijie Shao
Date: Sun Dec 03 2023 - 20:20:07 EST



on 2023/12/2 13:19, Jakub Kicinski wrote:
On Fri, 1 Dec 2023 18:27:03 +0800 Jijie Shao wrote:
+void hns_mac_link_anti_shake(struct mac_driver *mac_ctrl_drv, u32 *link_status)
drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c:69:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
69 | void hns_mac_link_anti_shake(struct mac_driver *mac_ctrl_drv, u32 *link_status)
| ^
| static

Thanks,
v2 patch is sent to fix it.