Re: [PATCH V6 net-next 03/11] net: hibmcge: Add mdio and hardware configuration supported in this module
From: Jakub Kicinski <kuba@kernel.org>
Date: 2024-09-03 17:44:09
Also in:
lkml
From: Jakub Kicinski <kuba@kernel.org>
Date: 2024-09-03 17:44:09
Also in:
lkml
On Tue, 3 Sep 2024 20:13:58 +0800 Jijie Shao wrote:
quoted
quoted
+{ + struct hbg_priv *priv = netdev_priv(netdev); + struct phy_device *phydev = priv->mac.phydev;Minor nit: please respect the reverse x-mas tree orderHere, I need to get the *priv first, so I'm not following the reverse x-mas tree order here. I respect the reverse x-mas tree order everywhere else.
In this case you should move the init into the body of the function.