Thread (22 messages) 22 messages, 4 authors, 2024-09-04

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

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 order  
Here, 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help