net: phy: Correct function name mdiobus_register_board_info() in comment
Subsystems (3)
PATCH 1/1 net: phy: Correct function name mdiobus_register_board_info() in comment
Fix the following make W=1 kernel build warning:
drivers/net/phy/mdio-boardinfo.c:63: warning: expecting prototype for mdio_register_board_info(). Prototype was for mdiobus_register_board_info() instead
--- drivers/net/phy/mdio-boardinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/phy/mdio-boardinfo.c +1 -1
@@ -50,7 +50,7 @@ void mdiobus_setup_mdiodev_from_board_info(struct mii_bus *bus,EXPORT_SYMBOL (mdiobus_setup_mdiodev_from_board_info);/** -* mdio_register_board_info - register MDIO devices for a given board +* mdiobus_register_board_info - register MDIO devices for a given board * @info: array of devices descriptors * @n: number of descriptors provided * Context: can sleep
Signature · 1 line
2.25.1
Quoted 6 lines · Yang Yingliang
Fix the following make W=1 kernel build warning:
drivers/net/phy/mdio-boardinfo.c:63: warning: expecting prototype formdio_register_board_info(). Prototype was formdiobus_register_board_info()insteadReported-by Hulk Robot <[email protected]>Signed-off-by Yang Yingliang <[email protected]>
Andrew
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:40:46 +0800 you wrote:
Fix the following make W=1 kernel build warning:
drivers/net/phy/mdio-boardinfo.c:63: warning: expecting prototype formdio_register_board_info(). Prototype was formdiobus_register_board_info()insteadReported-by Hulk Robot <[email protected]>Signed-off-by Yang Yingliang <[email protected]>[...]
Here is the summary with links:
- [-next] net: phy: Correct function name mdiobus_register_board_info() in comment
https://git.kernel.org/netdev/net-next/c/4db0964a75a2
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html