* [PATCH -next] net: phy: Correct function name mdiobus_register_board_info() in comment
@ 2021-03-29 12:40 Yang Yingliang
2021-03-29 12:55 ` Andrew Lunn
2021-03-29 20:50 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Yang Yingliang @ 2021-03-29 12:40 UTC (permalink / raw)
To: netdev; +Cc: davem, andrew
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
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
---
drivers/net/phy/mdio-boardinfo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/phy/mdio-boardinfo.c b/drivers/net/phy/mdio-boardinfo.c
index 033df435f76c..2de679a68115 100644
--- a/drivers/net/phy/mdio-boardinfo.c
+++ b/drivers/net/phy/mdio-boardinfo.c
@@ -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
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH -next] net: phy: Correct function name mdiobus_register_board_info() in comment
2021-03-29 12:40 [PATCH -next] net: phy: Correct function name mdiobus_register_board_info() in comment Yang Yingliang
@ 2021-03-29 12:55 ` Andrew Lunn
2021-03-29 20:50 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Andrew Lunn @ 2021-03-29 12:55 UTC (permalink / raw)
To: Yang Yingliang; +Cc: netdev, davem
On Mon, Mar 29, 2021 at 08:40:46PM +0800, Yang Yingliang wrote:
> 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
>
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH -next] net: phy: Correct function name mdiobus_register_board_info() in comment
2021-03-29 12:40 [PATCH -next] net: phy: Correct function name mdiobus_register_board_info() in comment Yang Yingliang
2021-03-29 12:55 ` Andrew Lunn
@ 2021-03-29 20:50 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-03-29 20:50 UTC (permalink / raw)
To: Yang Yingliang; +Cc: netdev, davem, andrew
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
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 for mdio_register_board_info(). Prototype was for mdiobus_register_board_info() instead
>
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
>
> [...]
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-03-29 20:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-29 12:40 [PATCH -next] net: phy: Correct function name mdiobus_register_board_info() in comment Yang Yingliang
2021-03-29 12:55 ` Andrew Lunn
2021-03-29 20:50 ` patchwork-bot+netdevbpf
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.