Re: [PATCH] net: ftgmac100: use bus name in mdio error messages

2022-08-08 Thread Tom Rini
On Tue, May 17, 2022 at 03:16:39PM -0700, Zev Weiss wrote: > Previously we'd been using a device name retrieved via > ftgmac100_data->phydev, but the mdio read/write functions may be > called before that member is initialized in ftgmac100_phy_init(), > leading to a NULL pointer dereference while p

Re: [PATCH] net: ftgmac100: use bus name in mdio error messages

2022-05-18 Thread Cédric Le Goater
On 5/18/22 00:16, Zev Weiss wrote: Previously we'd been using a device name retrieved via ftgmac100_data->phydev, but the mdio read/write functions may be called before that member is initialized in ftgmac100_phy_init(), leading to a NULL pointer dereference while printing the error message issue

[PATCH] net: ftgmac100: use bus name in mdio error messages

2022-05-18 Thread Zev Weiss
Previously we'd been using a device name retrieved via ftgmac100_data->phydev, but the mdio read/write functions may be called before that member is initialized in ftgmac100_phy_init(), leading to a NULL pointer dereference while printing the error message issued if the mdio access fails. We can i