[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9f1787b6-a435-4e15-8123-16a8a725c85d@lunn.ch>
Date: Sun, 18 Jun 2023 22:30:36 +0200
From: Andrew Lunn <andrew@...n.ch>
To: "Russell King (Oracle)" <linux@...linux.org.uk>
Cc: netdev <netdev@...r.kernel.org>, Heiner Kallweit <hkallweit1@...il.com>,
Florian Fainelli <f.fainelli@...il.com>,
Oleksij Rempel <linux@...pel-privat.de>
Subject: Re: [PATCH v4 net-next 1/9] net: phy-c45: Fix
genphy_c45_ethtool_set_eee description
> > /**
> > - * genphy_c45_ethtool_set_eee - get EEE supported and status
> > + * genphy_c45_ethtool_set_eee - set EEE supported and status
> > * @phydev: target phy_device struct
> > * @data: ethtool_eee data
> > *
> > - * Description: it reportes the Supported/Advertisement/LP Advertisement
> > - * capabilities.
> > + * Description: it set the Supported/Advertisement/LP Advertisement
>
> Description: sets the ...
>
> > + * capabilities. If eee_enabled is false, no links modes are
> > + * advertised, but the previously advertised link modes are
>
> I'd suggest moving "advertised," to the preceding line to fill it
> more...
>
> > + * retained. This allows EEE to be enabled/disabled in a none
> > + * destructive way.
>
> which then would allow "non-destructive" here rather than the slightly
> more awkward (but correct) "non-
> destructive" formatting here.
Thanks for the comments. I actually ended up submitting this patch
twice, one standalone and then again as part of this patchset. I
should stop submitting patches today, i'm getting too many things
wrong :-)
I will fixup the standalone version.
Andrew
Powered by blists - more mailing lists