[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240903104407.31a7cde6@kernel.org>
Date: Tue, 3 Sep 2024 10:44:07 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Jijie Shao <shaojijie@...wei.com>
Cc: Paolo Abeni <pabeni@...hat.com>, <davem@...emloft.net>,
<edumazet@...gle.com>, <shenjian15@...wei.com>, <wangpeiyang1@...wei.com>,
<liuyonglong@...wei.com>, <chenhao418@...wei.com>,
<sudongming1@...wei.com>, <xujunsheng@...wei.com>,
<shiyongbang@...wei.com>, <libaihan@...wei.com>, <andrew@...n.ch>,
<jdamato@...tly.com>, <horms@...nel.org>, <jonathan.cameron@...wei.com>,
<shameerali.kolothum.thodi@...wei.com>, <salil.mehta@...wei.com>,
<netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH V6 net-next 03/11] net: hibmcge: Add mdio and hardware
configuration supported in this module
On Tue, 3 Sep 2024 20:13:58 +0800 Jijie Shao wrote:
> >> +{
> >> + 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.
Powered by blists - more mailing lists