[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8069a3db-4fbc-4d89-a4d8-3d5b4cf4e89d@gmail.com>
Date: Thu, 27 Feb 2025 22:06:51 +0100
From: Heiner Kallweit <hkallweit1@...il.com>
To: Paolo Abeni <pabeni@...hat.com>, Jakub Kicinski <kuba@...nel.org>,
Andrew Lunn <andrew@...n.ch>,
Russell King - ARM Linux <linux@...linux.org.uk>
Cc: Eric Dumazet <edumazet@...gle.com>, David Miller <davem@...emloft.net>,
Daniel Golle <daniel@...rotopia.org>, Qingfang Deng <dqfext@...il.com>,
SkyLake Huang <SkyLake.Huang@...iatek.com>,
Matthias Brugger <matthias.bgg@...il.com>,
AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>,
Richard Cochran <richardcochran@...il.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>, linux-mediatek@...ts.infradead.org,
linux-arm-msm@...r.kernel.org
Subject: Re: [PATCH net-next 3/8] net: phy: add getters for public members of
struct phy_package_shared
On 25.02.2025 10:12, Paolo Abeni wrote:
> On 2/25/25 3:01 AM, Jakub Kicinski wrote:
>> On Wed, 19 Feb 2025 22:04:47 +0100 Heiner Kallweit wrote:
>>> +struct device_node *phy_package_shared_get_node(struct phy_device *phydev);
>>> +void *phy_package_shared_get_priv(struct phy_device *phydev);
>>
>> A bit sad that none of the users can fit in a line with this naming.
>> Isn't "shared" implied by "package" here ?
>> How would you feel about phy_package_get_priv() ?
>
> FWIW I personally agree the latter would be a better name.
>
> @Heiner: could you please give that naming schema a shot here?
>
> /P
>
Sure. I'll submit a v2 with the suggested changes.
Powered by blists - more mailing lists