[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181126021019.GB32164@lunn.ch>
Date: Mon, 26 Nov 2018 03:10:19 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Heiner Kallweit <hkallweit1@...il.com>
Cc: Florian Fainelli <f.fainelli@...il.com>,
David Miller <davem@...emloft.net>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [PATCH net-next] net: phy: fix two issues with linkmode bitmaps
> Because function naming is the same I'm afraid they easily can be used
> incorrectly (the bugs we just discuss are good examples). Maybe it
> could be an option to reflect the semantics in the name like this
> (better suited proposals welcome):
>
> case 1: mii_xxx_to_linkmode_yyy
> case 2: mii_xxx_or_linkmode_yyy
> case 3: mii_xxx_mod_linkmode_yyy
Hi Heiner
I started a patchset using this idea, and reworks your fix. Lets work
on that, rather than merge this patch.
Andrew
Powered by blists - more mailing lists