Message ID | E1s15rq-00AHye-22@rmk-PC.armlinux.org.uk (mailing list archive) |
---|---|
State | Accepted |
Commit | 0041cd3799e76704a66f0ddd1a374fb77ec94e7f |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net-next] net: phylink: add debug print for empty posssible_interfaces | expand |
> 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>
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!
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. */
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(+)