Skip to contentSkip to conversation

net: mdio: Correct function name mdio45_links_ok() in comment

PATCH Applied Yang Yingliang 2 participants 2 messages Mar 29, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: mdio: Correct function name mdio45_links_ok() in comment

Fix the following make W=1 kernel build warning:

drivers/net/mdio.c:95: warning: expecting prototype for mdio_link_ok(). Prototype was for mdio45_links_ok() instead

---
 drivers/net/mdio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/mdio.c +1 -1
index 5e72cc55afbd..e08c90ac0c6e 100644
@@ -83,7 +83,7 @@ int mdio_set_flag(const struct mdio_if_info *mdio,
 EXPORT_SYMBOL(mdio_set_flag);
 
 /**
- * mdio_link_ok - is link status up/OK
+ * mdio45_links_ok - is link status up/OK
  * @mdio: MDIO interface
  * @mmd_mask: Mask for MMDs to check
  *
Signature · 1 line
2.25.1
#1 lore raw
This patch was applied to netdev/net-next.git (refs/heads/master):

Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

Quoted 8 lines · On Mon, 29 Mar 2021 20:44:27 +0800 you wrote:

Fix the following make W=1 kernel build warning:

drivers/net/mdio.c:95: warning: expecting prototype for mdio_link_ok(). Prototype was for mdio45_links_ok() instead

[...]

Here is the summary with links:
- [-next] net: mdio: Correct function name mdio45_links_ok() in comment

    https://git.kernel.org/netdev/net-next/c/177cb7876dce

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html