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

2019-02-21 Thread David Miller
From: Heiner Kallweit Date: Mon, 18 Feb 2019 21:43:31 +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. > > Signed-off-by: Heiner Kallweit Hey Heiner, you'll

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

2019-02-18 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. Signed-off-by: Heiner Kallweit --- include/linux/ethtool.h | 4 include/uapi/linux/ethtool.h | 17 +---