Re: [PATCH v2 net-next] net: phy: improve definition of __ETHTOOL_LINK_MODE_MASK_NBITS

2019-02-24 Thread David Miller
From: Heiner Kallweit Date: Fri, 22 Feb 2019 19:25:59 +0100 > The way to define __ETHTOOL_LINK_MODE_MASK_NBITS seems to be overly > complicated, go with a standard approach instead. > Whilst we're at it, move the comment to the right place. > > v2: > - rebased > > Signed-off-by: Heiner Kallweit

[PATCH v2 net-next] net: phy: improve definition of __ETHTOOL_LINK_MODE_MASK_NBITS

2019-02-22 Thread Heiner Kallweit
The way to define __ETHTOOL_LINK_MODE_MASK_NBITS seems to be overly complicated, go with a standard approach instead. Whilst we're at it, move the comment to the right place. v2: - rebased Signed-off-by: Heiner Kallweit --- include/linux/ethtool.h | 4 include/uapi/linux/ethtool.h |