net: introduce and use netdev_features_t for device features sets
v2: add couple missing conversions in drivers split unexporting netdev_fix_features() implemented %pNF convert sock::sk_route_(no?)caps Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
a59e2ecb85
commit
c8f44affb7
74 changed files with 305 additions and 202 deletions
|
|
@ -165,7 +165,8 @@ static int xenvif_change_mtu(struct net_device *dev, int mtu)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static u32 xenvif_fix_features(struct net_device *dev, u32 features)
|
||||
static netdev_features_t xenvif_fix_features(struct net_device *dev,
|
||||
netdev_features_t features)
|
||||
{
|
||||
struct xenvif *vif = netdev_priv(dev);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue