* [PATCH net-next] net: phylink: add debug print for empty posssible_interfaces
@ 2024-04-28 14:51 Russell King (Oracle)
2024-04-29 8:23 ` Daniel Machon
2024-04-30 13:30 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Russell King (Oracle) @ 2024-04-28 14:51 UTC (permalink / raw)
To: Andrew Lunn, Heiner Kallweit
Cc: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni, netdev
Add a debugging print in phylink_validate_phy() when we detect that the
PHY has not supplied a possible_interfaces bitmap.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
---
drivers/net/phy/phylink.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/phy/phylink.c b/drivers/net/phy/phylink.c
index 0e692a3bcf1a..b7e5c669dc8e 100644
--- a/drivers/net/phy/phylink.c
+++ b/drivers/net/phy/phylink.c
@@ -1838,6 +1838,9 @@ static int phylink_validate_phy(struct phylink *pl, struct phy_device *phy,
interfaces);
}
+ phylink_dbg(pl, "PHY %s doesn't supply possible interfaces\n",
+ phydev_name(phy));
+
/* Check whether we would use rate matching for the proposed interface
* mode.
*/
--
2.30.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] net: phylink: add debug print for empty posssible_interfaces
2024-04-28 14:51 [PATCH net-next] net: phylink: add debug print for empty posssible_interfaces Russell King (Oracle)
@ 2024-04-29 8:23 ` Daniel Machon
2024-04-30 13:30 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Daniel Machon @ 2024-04-29 8:23 UTC (permalink / raw)
To: Russell King (Oracle)
Cc: Andrew Lunn, Heiner Kallweit, David S. Miller, Eric Dumazet,
Jakub Kicinski, Paolo Abeni, netdev
> Add a debugging print in phylink_validate_phy() when we detect that the
> PHY has not supplied a possible_interfaces bitmap.
Reviewed-by: Daniel Machon <daniel.machon@microchip.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] net: phylink: add debug print for empty posssible_interfaces
2024-04-28 14:51 [PATCH net-next] net: phylink: add debug print for empty posssible_interfaces Russell King (Oracle)
2024-04-29 8:23 ` Daniel Machon
@ 2024-04-30 13:30 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2024-04-30 13:30 UTC (permalink / raw)
To: Russell King; +Cc: andrew, hkallweit1, davem, edumazet, kuba, pabeni, netdev
Hello:
This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:
On Sun, 28 Apr 2024 15:51:02 +0100 you wrote:
> Add a debugging print in phylink_validate_phy() when we detect that the
> PHY has not supplied a possible_interfaces bitmap.
>
> Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
> ---
> drivers/net/phy/phylink.c | 3 +++
> 1 file changed, 3 insertions(+)
Here is the summary with links:
- [net-next] net: phylink: add debug print for empty posssible_interfaces
https://git.kernel.org/netdev/net-next/c/0041cd3799e7
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:[~2024-04-30 13:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-28 14:51 [PATCH net-next] net: phylink: add debug print for empty posssible_interfaces Russell King (Oracle)
2024-04-29 8:23 ` Daniel Machon
2024-04-30 13:30 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).