net: linkmode: add linkmode_fill() helper
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Wed, 15 Nov 2023 11:39:18 +0000 (11:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Nov 2023 23:45:04 +0000 (23:45 +0000)
commit96fa96e198f9707285003075fbbce7db6a485112
tree79ebc1615018fe25899edeabf2cf3631e98e7260
parent9a1f02f3ef96bd83162e94e4ee34a4f8240256ba
net: linkmode: add linkmode_fill() helper

Add a linkmode_fill() helper, which will allow us to convert phylink's
open coded bitmap_fill() operations.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/linkmode.h